From c8479113df4112801200a2a7d9d0317ee2df2d88 Mon Sep 17 00:00:00 2001 From: "Mr.jiang" <714156421@qq.com> Date: Mon, 5 Aug 2024 15:13:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=9A=E5=91=98=20=E6=89=93=E8=B5=8F=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=96=B0=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- my/vip/index.vue | 46 ++- pages.json | 22 ++ pages/index/index.vue | 64 ++-- pages/my/hyXy.vue | 98 ++++++ pages/my/txszList.vue | 603 ++++++++++++++++++++++++++++++++ pages/therapist/orderDetail.vue | 2 +- 6 files changed, 801 insertions(+), 34 deletions(-) create mode 100644 pages/my/hyXy.vue create mode 100644 pages/my/txszList.vue diff --git a/my/vip/index.vue b/my/vip/index.vue index b931d09..77ab97b 100644 --- a/my/vip/index.vue +++ b/my/vip/index.vue @@ -2,7 +2,7 @@ - + + 《会员协议》 + ~VIP超值权益~ @@ -103,6 +114,7 @@ export default { data() { return { + showAgree: false, //协议是否选择 timeVipEnd: '', customStyle: { width: '250rpx', @@ -168,6 +180,10 @@ }, methods: { + isShowAgree() { + //是否选择协议 + this.showAgree = !this.showAgree; + }, select(e) { this.selNum = e.id; this.price = e.money; @@ -250,16 +266,28 @@ } }); }, - + openShow(){ + if (this.showAgree == false) { + uni.showToast({ + icon: 'none', + position: 'bottom', + title: '请同意《会员协议》' + }); + }else{ + this.showpay=true + } + }, pay() { this.getMoney() this.showpay = false; + // this.$queue.showLoading('支付中...') let that = this; let data = { id: this.selNum, type: '2' } + if (this.openWay == 1) { // #ifdef MP-WEIXIN that.$Request.postT("/app/wxPay/payUserVip", { @@ -425,6 +453,7 @@ }) } } + }, callPay: function(response) { if (typeof WeixinJSBridge === "undefined") { @@ -496,6 +525,17 @@ diff --git a/pages/my/txszList.vue b/pages/my/txszList.vue new file mode 100644 index 0000000..995aa0c --- /dev/null +++ b/pages/my/txszList.vue @@ -0,0 +1,603 @@ + + + + + \ No newline at end of file diff --git a/pages/therapist/orderDetail.vue b/pages/therapist/orderDetail.vue index 513c4ed..22e5a2f 100644 --- a/pages/therapist/orderDetail.vue +++ b/pages/therapist/orderDetail.vue @@ -68,7 +68,7 @@ - + 打赏