Explorar o código

fix: 调整部分功能模块

wenxingxing hai 2 días
pai
achega
3d24d17041
Modificáronse 4 ficheiros con 1624 adicións e 1623 borrados
  1. 1618 1619
      pages/course/info.vue
  2. 1 1
      pages/index/course.vue
  3. 4 2
      pages/index/index.vue
  4. 1 1
      pages/index/video.vue

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 1618 - 1619
pages/course/info.vue


+ 1 - 1
pages/index/course.vue

@@ -274,7 +274,7 @@ export default {
 			let params = {
 				pageNum: this.jpPage.pageNum,
 				pageSize: this.jpPage.pageSize,
-				cateId: this.categoryIndex,
+				subCateId: this.categoryIndex,
 				yxxTag: 0,
 			};
 			if (params.cateId === 0) {

+ 4 - 2
pages/index/index.vue

@@ -243,8 +243,9 @@
 				const params = {
 					pageNum: 1,
 					pageSize: 10,
-					cateId,
+					subCateId: cateId,
 					yxxTag: 1,
+					recommendSlot: 1,
 				};
 				const res = await courseListDataApi(params);
 				if (res.code === 200 && res.data.list.length > 0) {
@@ -256,8 +257,9 @@
 				const params = {
 					pageNum: this.freePage.pageNum,
 					pageSize: this.freePage.pageSize,
-					cateId,
+					subCateId: cateId,
 					yxxTag: 0,
+					recommendSlot: 3,
 				};
 				const res = await courseListDataApi(params);
 				if (res.code === 200) {

+ 1 - 1
pages/index/video.vue

@@ -272,7 +272,7 @@ export default {
 			let params = {
 				pageNum: this.yxxPage.pageNum,
 				pageSize: this.yxxPage.pageSize,
-				cateId: this.categoryIndex,
+				subCateId: this.categoryIndex,
 				yxxTag: 1,
 			};
 			if (params.cateId === 0) {

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio