wangguoyu 6 月之前
父节点
当前提交
f1bfe5b391
共有 1 个文件被更改,包括 7 次插入0 次删除
  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) {