Ver código fonte

fix: 调整部分功能模块

wenxingxing 1 dia atrás
pai
commit
8532d4d505
3 arquivos alterados com 8 adições e 2 exclusões
  1. 2 2
      common/request.js
  2. 3 0
      pages/index/course.vue
  3. 3 0
      pages/index/video.vue

+ 2 - 2
common/request.js

@@ -3,8 +3,8 @@ export default class Request {
 	http(router, data = {}, method, contentType) {
 		let that = this;
 		// let path2 = 'https://userapp.klbycp.com'; //百域承品
-	    // let path = 'https://userapp.klbycp.com'; //百域承品
-	    let path = 'http://vab6e976.natappfree.cc'; //百域承品
+	    let path = 'https://userapp.klbycp.com'; //百域承品
+	    // let path = 'http://vab6e976.natappfree.cc'; //百域承品
 		// let path2 = 'https://userapp.zkhj6.com';
 		// let path = 'https://userapp.zkhj6.com';
 		let token = uni.getStorageSync('AppToken');

+ 3 - 0
pages/index/course.vue

@@ -409,6 +409,9 @@ export default {
 	background: #f0f0f0;
 	margin-right: 3%;
 	margin-bottom: 24rpx;
+	display: flex;
+	align-items: center;
+	justify-content: center;
 }
 
 .tag-item:nth-last-child(-n+3) {

+ 3 - 0
pages/index/video.vue

@@ -408,6 +408,9 @@ export default {
 	background: #f0f0f0;
 	margin-right: 3%;
 	margin-bottom: 24rpx;
+	display: flex;
+	align-items: center;
+	justify-content: center;
 }
 
 .tag-item:nth-last-child(-n+3) {