From 346ec9d615ceeb8e5f06df8adbf6f5d2569e1f97 Mon Sep 17 00:00:00 2001 From: "@fawn-nine" <1271023382@qq.com> Date: Wed, 8 Nov 2023 17:31:37 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 4 +- pages/acupoint/acupointDetail.vue | 44 +++-- pages/clock/clock.vue | 4 +- pages/peanut/home.vue | 9 +- pages/user/addAddress.vue | 308 ++++++++++++++++++------------ 5 files changed, 218 insertions(+), 151 deletions(-) diff --git a/manifest.json b/manifest.json index 78685a4..856ae35 100644 --- a/manifest.json +++ b/manifest.json @@ -12,8 +12,8 @@ "src" : "图片路径" } ], - "versionName" : "1.2.12", - "versionCode" : 1212, + "versionName" : "1.2.13", + "versionCode" : 1213, "app-plus" : { "compatible" : { "ignoreVersion" : true diff --git a/pages/acupoint/acupointDetail.vue b/pages/acupoint/acupointDetail.vue index 03dd090..88876b7 100644 --- a/pages/acupoint/acupointDetail.vue +++ b/pages/acupoint/acupointDetail.vue @@ -8,7 +8,7 @@ :duration="duration"> - + @@ -21,7 +21,7 @@ - + {{acupointDetail.alias}} @@ -30,20 +30,20 @@ - - {{acupointDetail.meridian}} + + - - - {{acupointDetail.position}} + + + - - {{acupointDetail.anatomy}} + + 暂无 @@ -51,14 +51,13 @@ - - {{acupointDetail.indication}} + + - - {{acupointDetail.compatibility}} + 暂无 @@ -66,8 +65,8 @@ - - {{acupointDetail.literature}} + + 暂无 @@ -105,6 +104,19 @@ this.getDetail() }, methods: { + // 放大图片 + previewImage(url) { + console.log(url) + uni.previewImage({ + urls: [url], + longPressActions: { + itemList: ['很抱歉,暂不支持保存图片到本地'], + success: function(res) { + // console.log(res,'+++++') + } + } + }); + }, // 穴位详情 getDetail() { $http.request({ @@ -139,7 +151,7 @@ .mb-10{ margin-bottom: 10px;} .content{font-size: 28rpx;} .swiper-item{ - image{margin: 0 auto; height:200rpx;} + image{margin: 0 auto; height:250rpx;} } .uni-margin-wrap{ margin-bottom: 20rpx; padding-top: 20rpx; diff --git a/pages/clock/clock.vue b/pages/clock/clock.vue index 77cc728..06f9941 100644 --- a/pages/clock/clock.vue +++ b/pages/clock/clock.vue @@ -661,7 +661,7 @@ .then(res => { if (res.code == 0) { console.log(res, '任务信息') - if (res.result != {}) { + if (res.result != {} && res.result) { this.taskInfo = res.result this.taskInfo.video != '' ? this.poster = this.taskInfo.video + "?x-oss-process=video/snapshot,t_0,f_jpg" : '' @@ -735,7 +735,7 @@ return } - if (!this.taskInfo.id) { + if (this.taskInfo != null && !this.taskInfo.id) { uni.showToast({ title: '当天未发布打卡任务,不可签到哦', icon: 'none' diff --git a/pages/peanut/home.vue b/pages/peanut/home.vue index e055de7..fed7c45 100644 --- a/pages/peanut/home.vue +++ b/pages/peanut/home.vue @@ -18,14 +18,15 @@ 方药检索 -
- - 书名检索 -
五运六气
+
+ + 书名检索 +
+
吴门医述 diff --git a/pages/user/addAddress.vue b/pages/user/addAddress.vue index f96d1a2..28f1a58 100644 --- a/pages/user/addAddress.vue +++ b/pages/user/addAddress.vue @@ -19,9 +19,9 @@ {{addressForm.areaidpathtext}} - - + + @confirm="addconfirm" @change="changeHandler" > + @@ -50,7 +50,6 @@ + \ No newline at end of file