From 0e86e29cf1fd88689b4addd195ee2455ceae2ce3 Mon Sep 17 00:00:00 2001 From: kuaileWu <1432334894@qq.com> Date: Fri, 30 May 2025 14:52:27 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=82=A3=E8=80=85?= =?UTF-8?q?=E7=AB=AF=E6=B7=BB=E5=8A=A0=E5=B0=B1=E8=AF=8A=E4=BA=BA=E5=90=8E?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E5=B0=B1=E8=AF=8A=E4=BA=BA=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=EF=BC=8C=E5=88=97=E8=A1=A8=E6=9C=AA=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E6=96=B0=E6=B7=BB=E5=8A=A0=E5=B0=B1=E8=AF=8A=E4=BA=BA?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 7 +++---- pages/book_detail/book_detail.vue | 2 +- pages/visit_detail/visit_detail.vue | 8 ++++---- pages/visitors_new/visitors_new.vue | 2 +- 4 files changed, 9 insertions(+), 10 deletions(-) diff --git a/main.js b/main.js index ce04543..3ba6261 100644 --- a/main.js +++ b/main.js @@ -212,6 +212,8 @@ function req(url, data={}, method = 'POST', header={}) { } } + data.did = uni.getStorageSync('doctor_id'); + var getWxH5LoginConfigUri = 'common/wxh5_login' var noNeedLoginFunc = [ getWxH5LoginConfigUri, @@ -278,9 +280,6 @@ function req(url, data={}, method = 'POST', header={}) { const currentPage = pages[pages.length - 1]; let pageUrl = '/'+currentPage.route; if(data.xcx_scource == Vue.prototype.USER_SOURCE_WX_H5){ - // uni.navigateTo({ - // url: '/pages/index/index' - // }); this.$nav.navToPath('/pages/index/index') }else{ } @@ -325,7 +324,7 @@ function xcx_login(url, eqdata={}, method = 'POST') { wx.login({ success (res) { if (res.code) { - var pdata = new Object(); + var pdata = eqdata; pdata.code = res.code; var doctor_id = uni.getStorageSync('doctor_id'); pdata.state = 'user-'+doctor_id; diff --git a/pages/book_detail/book_detail.vue b/pages/book_detail/book_detail.vue index 85eb62d..6eff5f7 100644 --- a/pages/book_detail/book_detail.vue +++ b/pages/book_detail/book_detail.vue @@ -124,7 +124,7 @@ uni.showToast({ title:"取消预约成功", mask:true, - image:that.cssUrl+'gou.svg', + image:'/static/images/gou.svg', times:false, duration: 1500, success() { diff --git a/pages/visit_detail/visit_detail.vue b/pages/visit_detail/visit_detail.vue index d5af056..53e664c 100644 --- a/pages/visit_detail/visit_detail.vue +++ b/pages/visit_detail/visit_detail.vue @@ -8,14 +8,14 @@ - + 治疗记录 - + 就诊提醒 @@ -140,7 +140,7 @@ uni.showToast({ title:"修改成功", mask:true, - image:that.cssUrl+'gou.svg', + image:'/static/images/gou.svg', times:false, duration: 1500, success() { @@ -187,7 +187,7 @@ uni.showToast({ title:"取消预约成功", mask:true, - image:that.cssUrl+'gou.svg', + image:'/static/images/gou.svg', times:false, duration: 1500, success() { diff --git a/pages/visitors_new/visitors_new.vue b/pages/visitors_new/visitors_new.vue index 040a0f8..d1bdd46 100644 --- a/pages/visitors_new/visitors_new.vue +++ b/pages/visitors_new/visitors_new.vue @@ -32,7 +32,7 @@ visitorList, visitorAccount }, - onReady() { + onShow() { this.pageInit() }, methods: { From b35c7546b8ff9cf02482b31731046f84376795a0 Mon Sep 17 00:00:00 2001 From: kuaileWu <1432334894@qq.com> Date: Fri, 30 May 2025 16:36:34 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=82=A3=E8=80=85?= =?UTF-8?q?=E7=AB=AF=E6=9C=80=E5=90=8E=E5=B0=B1=E8=AF=8A=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E4=B8=8D=E6=AD=A3=E7=A1=AE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/doctorImport.vue | 2 +- components/visitorAccount.vue | 2 +- pages/visit_detail/visit_detail.vue | 2 +- pages/visitors_new/visitors_new.vue | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/doctorImport.vue b/components/doctorImport.vue index d609d50..935b347 100644 --- a/components/doctorImport.vue +++ b/components/doctorImport.vue @@ -38,7 +38,7 @@ export default { wx.navigateToMiniProgram({ appId: data.appid, path: data.path+'?did='+data.param.did, - envVersion: 'release', // 打开的小程序版本,有 develop(开发版),trial(体验版),release(正式版) + envVersion: 'trial', // 打开的小程序版本,有 develop(开发版),trial(体验版),release(正式版) success(res) { console.log('跳转成功') }, diff --git a/components/visitorAccount.vue b/components/visitorAccount.vue index 86a665f..ac4de3f 100644 --- a/components/visitorAccount.vue +++ b/components/visitorAccount.vue @@ -126,7 +126,6 @@ export default { ::v-deep { .uni-collapse-item .error{ margin-top: 24rpx; - margin-bottom: 24rpx; } } } @@ -194,6 +193,7 @@ export default { width: 100%; height: auto; overflow: hidden; + margin-top: 24rpx; .account-item { margin-bottom: 40rpx; diff --git a/pages/visit_detail/visit_detail.vue b/pages/visit_detail/visit_detail.vue index 53e664c..0e5ae4e 100644 --- a/pages/visit_detail/visit_detail.vue +++ b/pages/visit_detail/visit_detail.vue @@ -8,7 +8,7 @@ - + 治疗记录