From 116b83557ba296fed372567e1f1bb0297ddd7ee2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com> Date: Mon, 16 Oct 2023 09:25:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/homepage/homepage.vue | 35 +++++++++++++++------------ pages/myinformation/myinformation.vue | 29 ++++++++++------------ pagesB/PointsMall/PointsMall.vue | 29 ++++++++++------------ 3 files changed, 45 insertions(+), 48 deletions(-) diff --git a/pages/homepage/homepage.vue b/pages/homepage/homepage.vue index 6b7b072..847fa79 100644 --- a/pages/homepage/homepage.vue +++ b/pages/homepage/homepage.vue @@ -132,22 +132,25 @@ }, // 积分兑换 count() { - if (!this.userinfo) { - this.gologin(); - } else { - if (!this.checkSign) { - this.$refs.uToast.show({ - title: '未签约,请先签约', - type: 'error', - duration: '1000', - url: "/pagesC/Onlinesigning/Onlinesigning" - }) - } else { - uni.navigateTo({ - url: "" - }) - } - } + uni.navigateTo({ + url: "/pagesB/PointsMall/PointsMall" + }) + // if (!this.userinfo) { + // this.gologin(); + // } else { + // if (!this.checkSign) { + // this.$refs.uToast.show({ + // title: '未签约,请先签约', + // type: 'error', + // duration: '1000', + // url: "/pagesC/Onlinesigning/Onlinesigning" + // }) + // } else { + // uni.navigateTo({ + // url: "/pagesB/PointsMall/PointsMall" + // }) + // } + // } }, // 健康档案 goHealthrecords() { diff --git a/pages/myinformation/myinformation.vue b/pages/myinformation/myinformation.vue index 377db7a..99f6d71 100644 --- a/pages/myinformation/myinformation.vue +++ b/pages/myinformation/myinformation.vue @@ -5,7 +5,8 @@ 我的 --> - + + {{appPersonallist.patientName}} @@ -168,22 +169,18 @@ appPersonallist: null, //获取个人信息 timer: null, list: {}, - + }; }, onShow() { // this.bjimg = baseurl + '/profile/appletPicture/inviteFriendsOne.png' let that = this this.baseurl = baseurl - this.myInfo() const value = uni.getStorageSync('patientId'); - if (value) {} else { + if (value) { + that.myInfo() + } else { that.appPersonallist = null - that.$refs.uToast.show({ - title: '您未登录,请先登录', - type: 'error', - duration: '1000', - }) } }, methods: { @@ -317,12 +314,12 @@ // const value = uni.getStorageSync('openid'); // const value2 = uni.getStorageSync('patientId'); // if (value && value2) { - uni.navigateTo({ - url: '/pagesB/CommodityOrder/CommodityOrder' - }) - // uni.navigateTo({ - // url: `/pagesB/CommodityOrder/CommodityOrder?toindex=${index}&&orderStatus=${item}` - // }) + uni.navigateTo({ + url: '/pagesB/CommodityOrder/CommodityOrder' + }) + // uni.navigateTo({ + // url: `/pagesB/CommodityOrder/CommodityOrder?toindex=${index}&&orderStatus=${item}` + // }) // } else { // this.gologin(); // } @@ -400,4 +397,4 @@ + \ No newline at end of file diff --git a/pagesB/PointsMall/PointsMall.vue b/pagesB/PointsMall/PointsMall.vue index 95527f0..fd3af33 100644 --- a/pagesB/PointsMall/PointsMall.vue +++ b/pagesB/PointsMall/PointsMall.vue @@ -14,23 +14,20 @@ 兑换 - - - + + + + + + 服务名称 + + + 200000 + + + 兑换 + - - 服务名称 - - - 200000 - - - 兑换 - - - - -