wangguoyu 6 months ago
parent
commit
f1bfe5b391
1 changed files with 7 additions and 0 deletions
  1. 7 0
      pages/study/lookShipin.vue

+ 7 - 0
pages/study/lookShipin.vue

@@ -171,6 +171,13 @@
 					console.log(this);
 					this.$refs.youkeDialogRef.handleShow();
 				} else {
+					const AuthCode = getUserIdentity();
+					console.log(AuthCode);
+					if(AuthCode =='Not-Vip'){
+						toast("请前往付费!")
+						return  false
+					}
+				
 					Number(this.jieId++)
 					// lastFlag是否是本章最后一节,0否1是  type,1视频,2试题
 					if (this.pageData.lastFlag == 1 && this.pageData.type == 2) {