From c3f3918c9b6abbb1ca7c201eb52e8faac388d907 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E5=93=BC=E5=94=A7L?= Date: Mon, 25 Dec 2023 13:03:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BD=E5=AD=A6=E7=BB=8F=E5=85=B8=EF=BC=8C?= =?UTF-8?q?=E8=AE=B2=E4=B9=A6=E8=A7=86=E9=A2=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 4 +- pages.json | 7 + pages/classic/classic.vue | 518 ++++++++++++++++++++++++++++ pages/library/library.vue | 4 +- pages/peanut/home.vue | 4 + pages/prescript/prescript.vue | 133 ++++--- pages/prescript/prescriptDetail.vue | 1 - pages/talkBook/talkBookDetail.vue | 40 ++- static/icon/five7.png | Bin 0 -> 9080 bytes static/icon/home6.png | Bin 0 -> 13651 bytes 10 files changed, 636 insertions(+), 75 deletions(-) create mode 100644 pages/classic/classic.vue create mode 100644 static/icon/five7.png create mode 100644 static/icon/home6.png diff --git a/manifest.json b/manifest.json index 4f69fa7..d222dcc 100644 --- a/manifest.json +++ b/manifest.json @@ -12,8 +12,8 @@ "src" : "图片路径" } ], - "versionName" : "1.2.18", - "versionCode" : 1218, + "versionName" : "1.2.23", + "versionCode" : 1223, "app-plus" : { "compatible" : { "ignoreVersion" : true diff --git a/pages.json b/pages.json index aeb19e6..808ca3a 100644 --- a/pages.json +++ b/pages.json @@ -516,6 +516,13 @@ "navigationBarTitleText": "五运六气", "enablePullDownRefresh": false } + }, + { + "path": "pages/classic/classic", + "style": { + "navigationBarTitleText": "国学经典", + "enablePullDownRefresh": false + } } ], "globalStyle": { diff --git a/pages/classic/classic.vue b/pages/classic/classic.vue new file mode 100644 index 0000000..6b72793 --- /dev/null +++ b/pages/classic/classic.vue @@ -0,0 +1,518 @@ + + + + + \ No newline at end of file diff --git a/pages/library/library.vue b/pages/library/library.vue index 2cbe13f..43653bc 100644 --- a/pages/library/library.vue +++ b/pages/library/library.vue @@ -11,12 +11,12 @@ - + diff --git a/pages/peanut/home.vue b/pages/peanut/home.vue index 4e34d04..0029573 100644 --- a/pages/peanut/home.vue +++ b/pages/peanut/home.vue @@ -19,6 +19,10 @@
方剂检索 +
+
+ + 经典查阅
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 @@ + + + + + + +