he2802 3 жил өмнө
parent
commit
ee57aa38ef
1 өөрчлөгдсөн 11 нэмэгдсэн , 1 устгасан
  1. 11 1
      pages2/wd/class.vue

+ 11 - 1
pages2/wd/class.vue

@@ -128,10 +128,12 @@ export default {
 		};
 	},
 	onLoad(option) {
+		
+	},
+	onShow() {
 		this.courseGoodsList();
 		this.commonSystemTime()
 	},
-	onShow() {},
 	onReachBottom() {
 		if (this.goodsList.length < this.total) {
 			this.param.pageNum++;
@@ -203,6 +205,14 @@ export default {
 				})
 				return;
 			}
+			
+			if(item.rebuildStatus == 0) {
+				this.$navTo.togo('/pages2/learn/details', {
+					gradeId:item.gradeId,
+					goodsId: item.goodsId
+				});
+				return;
+			}
 			this.$navTo.togo(`/pages2/wd/course?id=${v}&gid=${i}`);
 		},
 		appointment(item) {