diff --git a/pages/prescript/prescript.vue b/pages/prescript/prescript.vue
index 44cb861..3668902 100644
--- a/pages/prescript/prescript.vue
+++ b/pages/prescript/prescript.vue
@@ -32,52 +32,35 @@
-
-
-
-
- {{item.title}}
-
-
-
-
-
-
- {{item.title}}
-
-
-
-
-
-
-
- {{index}}
-
- {{item1.title}}
-
-
-
-
-
+
+
+
+ {{item.title}}
+
+
-
-
-
- 此功能使用权限仅对同一手机账号注册过一路健康APP,且开通《吴门验方基础班》【上中下】与《吴门验方提高班》【上下】五部课程的疯子读书APP学员开通。
-
如果您符合条件,请联系微信客服开通。
-
客服微信:yilujiankangkefu
-
-
-
-
- 此功能使用权限仅对在疯子读书APP购买《肿瘤六经辨证法》书籍的学员开通。
-
如果您符合条件,请联系微信客服开通。
-
客服微信:yilujiankangkefu
-
-
+
+
+
+ {{item.title}}
+
+
+
+
+
+
+ {{index}}
+
+ {{item1.title}}
+
+
+
+
+
+
@@ -88,6 +71,22 @@
请输入方剂名
-->
+
+
+
+
+ 此功能使用权限仅对同一手机账号注册过一路健康APP,且开通《吴门验方基础班》【上中下】与《吴门验方提高班》【上下】五部课程的疯子读书APP学员开通。
+
如果您符合条件,请联系微信客服开通。
+
客服微信:yilujiankangkefu
+
+
+ 此功能使用权限仅对在疯子读书APP购买《肿瘤六经辨证法》书籍的学员开通。
+
如果您符合条件,请联系微信客服开通。
+
客服微信:yilujiankangkefu
+
+
+
+
@@ -113,7 +112,9 @@
showSearchList: false,
userMes: {}, // 用户信息
searchDisable: false, // 搜索不可用
- limiOneFour: 1,
+ limitShow: false,
+ limitTitle: '提示',
+ limitContent: ''
}
},
onLoad() {
@@ -141,7 +142,7 @@
// showNoRights() {
// let that = this
// uni.showModal({
- // content: "购买 手模 或 脚模 后方可使用此功能",
+ // content: "",
// confirmText: '好的',
// showCancel: false,
// success: function(res) {
@@ -160,26 +161,27 @@
.post('book/user/info/' + this.userInfo.id)
.then(res => {
this.userMes = res.user
- if (this.userMes.prescriptAPower == 1) {
- this.limiOneFour = 0
- }
this.getCateList()
- // console.log(this.userMes, '呼呼')
+ console.log(this.userMes, '呼呼')
});
}
},
// 方剂详情
gotoDetail(item) {
+ if (this.userMes.prescriptAPower == 0 && this.curOneCateIndex == 0) {
+ this.limitShow = true
+ return
+ }
- // if (this.userMes.pointPower == 0 && this.oneCateList[this.curOneCateIndex].prescriptCategoryId == 3 || this.userMes
- // .pointPower == 0 && this.oneCateList[this.curOneCateIndex].prescriptCategoryId == 6) { // 等于0 就是没有权限
- // this.showNoRights()
- // } else {
+ if (this.userMes.prescriptBPower == 0 && this.curOneCateIndex == 3) {
+ this.limitShow = true
+ return
+ }
// 等于1 就是有权限
uni.navigateTo({
url: "./prescriptDetail?id=" + item.prescriptId
})
- // }
+
},
// 获取方剂名称
@@ -240,16 +242,7 @@
this.searchValue = ''
this.searchList = []
this.showSearchList = false
- this.limiOneFour = 0
if (index != 2) {
- if (index == 0 && this.userMes.prescriptAPower != 1) {
- this.limiOneFour = 1
- return
- }
- if (index == 3 && this.userMes.prescriptBPower != 1) {
- this.limiOneFour = 1
- return
- }
this.getTowCateList(id)
} else {
this.getJFList(id)
@@ -562,10 +555,12 @@
display: flex;
}
- .limiTy {
- display: block;
- font-size: 26rpx;
- line-height: 48rpx;
- padding: 0 25rpx;
+ .uni-modal .uni-modal__bd {
+ text-align: left;
+ }
+
+ .limiTy{
+ font-size: 28rpx;
+ line-height: 46rpx;
}
\ No newline at end of file
diff --git a/pages/prescript/prescriptDetail.vue b/pages/prescript/prescriptDetail.vue
index 4d634f0..027f531 100644
--- a/pages/prescript/prescriptDetail.vue
+++ b/pages/prescript/prescriptDetail.vue
@@ -60,7 +60,6 @@
-
暂无
diff --git a/pages/talkBook/talkBookDetail.vue b/pages/talkBook/talkBookDetail.vue
index cfb0456..5e5a004 100644
--- a/pages/talkBook/talkBookDetail.vue
+++ b/pages/talkBook/talkBookDetail.vue
@@ -26,6 +26,7 @@
+
@@ -33,6 +34,14 @@
+
+
+
+
+
+
+