From 37fc144ed96ee0336e74aec48a24163d4c3e78ca Mon Sep 17 00:00:00 2001 From: Eric <1670996608@qq.com> Date: Thu, 7 Aug 2025 13:32:39 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=96=B0=E5=A2=9E=E9=80=9A=E9=81=93?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 8 + pages/capital/deposit/One2Pay/index.scss | 126 +++ pages/capital/deposit/One2Pay/index.vue | 422 ++++++++ pages/capital/deposit/One2Pay/qrCodeInfo.vue | 221 +++++ pages/capital/deposit/index.vue | 10 +- pages/capital/deposit/onlinePayment/index.vue | 917 +++++++++++------- 6 files changed, 1371 insertions(+), 333 deletions(-) create mode 100644 pages/capital/deposit/One2Pay/index.scss create mode 100644 pages/capital/deposit/One2Pay/index.vue create mode 100644 pages/capital/deposit/One2Pay/qrCodeInfo.vue diff --git a/pages.json b/pages.json index 5ed610f..e114c44 100644 --- a/pages.json +++ b/pages.json @@ -279,6 +279,14 @@ } } }, + { + "path": "pages/capital/deposit/One2Pay/index", + "style": { + "app-plus": { + "bounce": "none" + } + } + }, { "path": "pages/capital/deposit/remittanceInfo/index", "style": { diff --git a/pages/capital/deposit/One2Pay/index.scss b/pages/capital/deposit/One2Pay/index.scss new file mode 100644 index 0000000..55454ba --- /dev/null +++ b/pages/capital/deposit/One2Pay/index.scss @@ -0,0 +1,126 @@ +.container { + padding: 0 24px 24px 16px; + .title { + margin: 14px 0 15px; + } + .minAmount { + margin-top: 4px; + color: #14cc9e; + font-size: 10px; + line-height: 14px; + &.unavailable { + color: #ff5733; + } + } + .exchangeRate { + display: flex; + justify-content: space-between; + margin-bottom: 12px; + font-size: 14px; + color: #777777; + .value { + font-weight: 700; + } + } + .currency_amount { + display: flex; + justify-content: space-between; + margin-bottom: 12px; + .label { + font-size: 14px; + color: #777777; + } + .value { + font-size: 14px; + color: #29bbe4; + font-weight: 700; + } + } + // 二维码信息 + .qrCodeInfoWrapper { + display: flex; + flex-direction: column; + align-items: center; + padding-top: 29px; + padding-bottom: 22px; + box-shadow: -1px 0px 5px 1px rgba(0, 0, 0, 0.15); + .currencyAmountLabel { + color: #333333; + font-size: 18px; + font-weight: 700; + line-height: 17px; + } + .currencyAmount { + color: #29bbe4; + font-size: 36px; + font-weight: 700; + line-height: 53px; + } + .qrCodeImgWrapper { + position: relative; + display: flex; + justify-content: center; + align-items: center; + margin-top: 33px; + margin-bottom: 19px; + width: 101px; + height: 101px; + background-image: linear-gradient(to right, #103776 0%, #92dbed 100%); + .qrCodeImg { + position: relative; + width: 94px; + height: 94px; + } + .qrCodeImgBg { + position: absolute; + left: 4px; + top: 4px; + width: 93px; + height: 93px; + background-color: #fff; + } + } + .paymentIcons { + display: flex; + column-gap: 24px; + .paymentIcon { + width: 23px; + height: 23px; + } + } + } + .saveImageBtn { + margin-top: 54px; + } + .countdown { + display: flex; + justify-content: center; + align-items: center; + margin-bottom: 20px; + margin-top: 28px; + margin-bottom: 28px; + font-size: 12px; + color: #aaaaaa; + } + .imgUploadWrapper { + display: flex; + align-items: center; + column-gap: 20px; + margin-top: 20px; + ::v-deep .uni-file-picker { + height: 100px; + } + ::v-deep .uni-file-picker__container { + height: 100px; + } + ::v-deep .file-picker__box { + padding-top: 0px; + width: 100% !important; + max-width: 152px; + height: 100% !important; + } + ::v-deep .uni-forms-item { + flex: 1; + } + } +} diff --git a/pages/capital/deposit/One2Pay/index.vue b/pages/capital/deposit/One2Pay/index.vue new file mode 100644 index 0000000..460d062 --- /dev/null +++ b/pages/capital/deposit/One2Pay/index.vue @@ -0,0 +1,422 @@ + + + diff --git a/pages/capital/deposit/One2Pay/qrCodeInfo.vue b/pages/capital/deposit/One2Pay/qrCodeInfo.vue new file mode 100644 index 0000000..3d0ef13 --- /dev/null +++ b/pages/capital/deposit/One2Pay/qrCodeInfo.vue @@ -0,0 +1,221 @@ + + + + + diff --git a/pages/capital/deposit/index.vue b/pages/capital/deposit/index.vue index c56417e..7e08acd 100644 --- a/pages/capital/deposit/index.vue +++ b/pages/capital/deposit/index.vue @@ -65,11 +65,19 @@ export default { // bgIconSize: 100 // }, htfxcashier3: { target: '/pages/capital/deposit/onlinePayment/index', bgIcon: '/static/capital/USDT.png', bgIconSize: 90 }, + ForcePay: { target: '/pages/capital/deposit/onlinePayment/index', bgIcon: '/static/capital/payOnline.png', bgIconSize: 90 }, ECA3_31E55F754F: { target: '/pages/capital/deposit/usdt/index', bgIcon: '/static/capital/USDT.png', bgIconSize: 90 - } + }, + PayOK: { target: '/pages/capital/deposit/onlinePayment/index', bgIcon: '/static/capital/payOnline.png', bgIconSize: 90 }, + One2Pay: { target: '/pages/capital/deposit/One2Pay/index', bgIcon: '/static/capital/payOnline.png', bgIconSize: 90 }, + PaySpec: { target: '/pages/capital/deposit/onlinePayment/index', bgIcon: '/static/capital/payOnline.png', bgIconSize: 90 }, + RediPay: { target: '/pages/capital/deposit/onlinePayment/index', bgIcon: '/static/capital/payOnline.png', bgIconSize: 90 }, + CCPay: { target: '/pages/capital/deposit/onlinePayment/index', bgIcon: '/static/capital/payOnline.png', bgIconSize: 90 }, + Help2Pay: { target: '/pages/capital/deposit/onlinePayment/index', bgIcon: '/static/capital/payOnline.png', bgIconSize: 90 }, + TokenPay: { target: '/pages/capital/deposit/onlinePayment/index', bgIcon: '/static/capital/USDT.png', bgIconSize: 90 }, } }; }, diff --git a/pages/capital/deposit/onlinePayment/index.vue b/pages/capital/deposit/onlinePayment/index.vue index bcedfeb..a983310 100644 --- a/pages/capital/deposit/onlinePayment/index.vue +++ b/pages/capital/deposit/onlinePayment/index.vue @@ -8,39 +8,35 @@ {{ $t('form.mtServer.label') }} - + {{ $t('form.mtAccount.label') }} - + {{ $t('form.amount.label') }} - - {{ $t('deposit.minAmount') }} ${{ goldRange?.in_min }} + + + {{ $t('deposit.minAmount') }} ${{ goldRange?.in_min }} + {{ $t('form.currencyType.label') }} - + + + + {{ $t('form.currencyType.label') }} + {{ $t('common.exchangeRate') }} @@ -58,13 +54,15 @@ {{ $t('deposit.presentedAmountResidue') }} {{ presentedAmountResidue ? `$${presentedAmountResidue}` : '-' }} - - {{ $t('deposit.paySubsidy') }} - {{ paySubsidy ? `$${paySubsidy}` : '-' }} - + + {{ $t('deposit.paySubsidy') }} + {{ paySubsidy ? `$${paySubsidy}` : '-' }} + - @@ -72,327 +70,582 @@ + @import './index.scss'; + \ No newline at end of file