Kaynağa Gözat

fix: 调整部分功能模块

wenxingxing 2 gün önce
ebeveyn
işleme
3d24d17041
4 değiştirilmiş dosya ile 1624 ekleme ve 1623 silme
  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

Dosya farkı çok büyük olduğundan ihmal edildi
+ 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) {

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor