From 539895f21069464e0e5141306a7d64179b77e0cf Mon Sep 17 00:00:00 2001 From: liuyuan <582976274@qq.com> Date: Wed, 26 Mar 2025 14:29:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E6=9E=B62.0.01=E7=89=88=E6=9C=AC?= =?UTF-8?q?=EF=BC=8C=E5=A2=9E=E5=8A=A0=E4=BC=9A=E5=91=98=E5=8D=8F=E8=AE=AE?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 4 +- pages/mine/vip/order.vue | 91 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 93 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index 5c10494..e077e9f 100644 --- a/manifest.json +++ b/manifest.json @@ -12,8 +12,8 @@ "src" : "图片路径" } ], - "versionName" : "1.0.65", - "versionCode" : 1065, + "versionName" : "2.0.1", + "versionCode" : 2001, "app-plus" : { "nvueCompiler" : "uni-app", "compatible" : { diff --git a/pages/mine/vip/order.vue b/pages/mine/vip/order.vue index 31d5760..12019cb 100644 --- a/pages/mine/vip/order.vue +++ b/pages/mine/vip/order.vue @@ -99,7 +99,25 @@ + + + + + + + * 我已阅读并同意《会员服务协议》 + + + + + {{ xieyi.title }} + + + + + @@ -220,6 +238,14 @@ color: "#fff", }, ], activeIndex: 0, //选择付款 下标 + + argee: [{value: false, id: "1"}], // 同意权限 + radioValue: "", + xieyi: { + title: "", + content: "", + }, + xieyiShow: false, }; }, created(){ @@ -371,6 +397,14 @@ setTimeout(() => { this.nowClick = true; }, 5000); + + if(that.radioValue!='1'){ + uni.showToast({ + title: "请勾选 已阅读会员服务协议", + icon: "none", + }); + return false; + } let xiaBiao = []; if (this.payType == 4 && this.initData.user.peanutCoin < this.dataInfo.lastFee) { uni.showToast({ @@ -689,6 +723,32 @@ this.twoCateList = []; this.curTwoCateIndex = 0; }, + + //勾选会员协议 + radioCheck(index) { + this.argee.forEach((item) => { + item.isCheck = false; + }); + if (this.radioValue == this.argee[index].id) { + this.radioValue = null; + } else { + this.radioValue = this.argee[index].id; + } + }, + //会员协议 + async showXieyi() { + var data = await this.$commonJS.getAgreement(107); + if (data.content) { + data.content = data.content.replace( + /
/g, + '' + ); + data.content = data.content.replace(/<\/h5>/g, ""); + } + + this.xieyi = data; + this.xieyiShow = true; + }, }, onBackPress() { // #ifdef APP-PLUS @@ -1262,4 +1322,35 @@ border:1rpx solid #ff1f00; color: #ff1f00; } + .agree_wo { + display: flex; + align-items: center; + justify-content: flex-end; + color: #aaa; + line-height: 30rpx; + font-size: 28rpx; + padding: 10rpx 10rpx 20rpx 0; + } + .agreeRadio { + zoom: 0.8; + } + .agree { + width: auto !important; + } + .highlight { + color: $uni-color-primary; + } + + .tanchu { + padding: 40rpx 30rpx 40rpx 30rpx; + position: relative; + + .dp_title { + font-size: 32rpx; + margin-bottom: 50rpx; + color: #555; + text-align: center; + font-weight: bold; + } + } \ No newline at end of file