From ee32956617bd4f22a7edd3ff34cc6445ce7a604d Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Fri, 11 Aug 2023 10:41:14 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=8A=20fix:=20=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- exchange.html | 45 ++++++++++++++++++++++++++++----------------- homepage2_0.css | 10 +++++++++- 2 files changed, 37 insertions(+), 18 deletions(-) diff --git a/exchange.html b/exchange.html index eaf7d5e..7279080 100644 --- a/exchange.html +++ b/exchange.html @@ -28,7 +28,7 @@ - + @@ -51,18 +51,21 @@
-

账号:

-

再次输入:

-

账号:

-

再次输入:

+

{{goodInfo.product_name}}

+
@@ -76,7 +79,7 @@

订单

@@ -101,7 +104,7 @@
-

是否为账号{{this.account}}兑换{{this.proname}}会员?

+

{{goodInfo.product_type===1?`是否为账号${this.account}兑换${this.proname}会员?`:'是否确认兑换?'}}

是否兑换{{this.proname}}会员?

确认兑换
@@ -222,12 +225,20 @@ successchangeBtnFn () { window.location.replace(document.referrer); }, + //兑换商品 exchangeGoodsFn () { if (goodsDetail.available != 1) { - this.openErrorDialog(product_status(goodsDetail.available, goodsDetail)); - return; + return this.openErrorDialog(product_status(goodsDetail.available, goodsDetail)); } + /* 卡密商品直接兑换 */ + if (this.goodInfo.product_type === 2) { + this.maskshow = true; + this.popboxshow = true; + this.popboxtype = '兑换'; + return; + }; + if (!this.account) { this.openDialog('请输入兑换账号!'); return false; diff --git a/homepage2_0.css b/homepage2_0.css index 57cef72..d1ffe14 100644 --- a/homepage2_0.css +++ b/homepage2_0.css @@ -787,7 +787,7 @@ img.changegray { #exchangePage .ipt-acc { font-size: 0.15rem; width: 100%; - padding: 0.3rem 0; + padding: 0.2rem 0; display: flex; justify-content: space-between; flex-direction: column; @@ -879,6 +879,14 @@ img.changegray { margin-bottom: 0.02rem; } +#exchangePage .ipt-acc .title { + font-size: 0.17rem; + font-weight: bold; + color: #0a0a0a; + margin-left: 0.12rem; + margin-bottom: 0.24rem; +} + .suspensionDom { width: 100%; height: 100vh;