wangxy 1 month ago
parent
commit
4bed1c8993
1 changed files with 9 additions and 1 deletions
  1. 9 1
      pages/chanpinneirong/index.vue

+ 9 - 1
pages/chanpinneirong/index.vue

@@ -131,7 +131,7 @@
 
 		methods: {
 			handleSelectDanyuan(item) {
-				console.log('点击单元', item)
+				console.log('切换单元', item)
 			},
 			handleClickMulu() {
 				this.$refs.dyMlRef.showPopup(this.banbenId)
@@ -183,6 +183,14 @@
 				console.log('da', da)
 				let jieId = null;
 				if (code == 'jixu') {
+					
+					// 判断学习状态
+					/* if (已学完) {
+						
+						return;
+					} */
+					
+					
 					jieId = da.curJieId;
 					uni.navigateTo({
 						url: `/pages/xinshuxue/lookShipin?jieId=${jieId}`