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 @@ - + 打赏