From dfa832402406320240380fb5372f4a19ed62b2f7 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Fri, 25 Apr 2025 18:39:41 +0800
Subject: [PATCH] 修改: 4.25文档问题修改
---
src/page/user/recharge.vue | 277 ++++++++++++++++++++++++++++++------------------------
1 files changed, 153 insertions(+), 124 deletions(-)
diff --git a/src/page/user/recharge.vue b/src/page/user/recharge.vue
index b157201..d382e4d 100644
--- a/src/page/user/recharge.vue
+++ b/src/page/user/recharge.vue
@@ -16,7 +16,7 @@
</template>
</van-nav-bar>
<main>
- <div class="form-block">
+ <!-- <div class="form-block">
<mt-field
:label="$t('充值')"
:placeholder="$t('请输入充值金额')"
@@ -24,14 +24,27 @@
v-model="rechargeMoney"
>
</mt-field>
+ </div> -->
+ <div class="main-title">{{ $t("請選擇充值金額") }}</div>
+ <div class="white-input">
+ <input type="number" v-model="rechargeMoney" @input="inputValue" />
+ <span class="myr"> {{ rechargeAccountData.symbolCode }}</span>
</div>
<div class="btnbox">
- <span class="text-center btnok loginout" @click="tosubmit">{{
+ <van-button class="but" type="primary" style="margin-top: 1.04rem; "
+ @click="tosubmit">{{
+ $t("确认")
+ }}</van-button>
+ <van-button class="but" type="primary" style="margin-top: 1.04rem; margin-bottom: 1.04rem"
+ @click="goOnline">{{
+ $t("kf")
+ }}</van-button>
+ <!-- <span class="text-center btnok loginout" @click="tosubmit">{{
$t("确认")
}}</span>
<span class="text-center btnok loginout" @click="goOnline">{{
$t("kf")
- }}</span>
+ }}</span> -->
</div>
<!-- <div>
<div class="main-title">{{ $t("支持得支付渠道") }}</div>
@@ -286,139 +299,155 @@
</script>
<style lang="less" scoped>
-.but {
- width: 100%;
- color: #ffffff;
- background-color: #1989fa;
- border-radius: 8px;
- height: 66px;
- font-size: 22px;
-}
-.bottom-text {
- width: 100%;
- background-color: #fff;
- padding: 0.26667rem 0.37333rem;
- box-sizing: border-box;
- margin-top: 0.26667rem;
- // margin-bottom: 80px;
- .balance {
- display: flex;
- justify-content: space-between;
- color: #181818;
- font-family: PingFang SC;
- font-size: 0.32rem;
- font-style: normal;
- font-weight: 500;
+ .payclass {
+ width: 150px;
+ height: 40px;
+ border-radius: 5px;
+ border: 1px solid #e5e8ed;
+ text-align: center;
+ line-height: 40px;
+ }
+
+ .but {
+ width: 100%;
+ color: #ffffff;
+ background-color: #1989fa;
+ border-radius: 8px;
+ height: 66px;
+ font-size: 22px;
+ }
+
+ .bottom-text {
+ width: 100%;
+ background-color: #fff;
+ padding: 0.26667rem 0.37333rem;
box-sizing: border-box;
- .balance-text {
+ margin-top: 0.26667rem;
+
+ // margin-bottom: 80px;
+ .balance {
+ display: flex;
+ justify-content: space-between;
color: #181818;
font-family: PingFang SC;
font-size: 0.32rem;
font-style: normal;
font-weight: 500;
- line-height: 0.37333rem;
- margin-bottom: 0.37333rem;
+ box-sizing: border-box;
+
+ .balance-text {
+ color: #181818;
+ font-family: PingFang SC;
+ font-size: 0.32rem;
+ font-style: normal;
+ font-weight: 500;
+ line-height: 0.37333rem;
+ margin-bottom: 0.37333rem;
+ }
+ }
+
+ .division {
+ width: 100%;
+ height: 0.02667rem;
+ flex-shrink: 0;
+ background-color: #e5e8ed;
+ margin: 0.37333rem 0;
+ }
+
+ .upload-text {
+ color: #181818;
+ font-family: PingFang SC;
+ font-size: 0.32rem;
+ font-style: normal;
+ font-weight: 500;
}
}
- .division {
- width: 100%;
- height: 0.02667rem;
- flex-shrink: 0;
- background-color: #e5e8ed;
- margin: 0.37333rem 0;
+
+ /deep/ .van-nav-bar__content {
+ height: 65px;
}
- .upload-text {
- color: #181818;
- font-family: PingFang SC;
- font-size: 0.32rem;
+
+ /deep/ .van-nav-bar__title {
+ font-family: "DINPro";
+ width: 100%;
+ height: 1.17333rem;
+ display: flex;
+ justify-content: center;
+ align-items: center;
font-style: normal;
font-weight: 500;
+ font-size: 0.48rem;
+ color: #14181f;
}
-}
-/deep/ .van-nav-bar__content {
- height: 65px;
-}
-/deep/ .van-nav-bar__title {
- font-family: "DINPro";
- width: 100%;
- height: 1.17333rem;
- display: flex;
- justify-content: center;
- align-items: center;
- font-style: normal;
- font-weight: 500;
- font-size: 0.48rem;
- color: #14181f;
-}
-/deep/ .van-cell {
- list-style: none;
- width: 100%;
- margin-top: 0.26667rem;
- background: #fff;
- border-radius: 0.10667rem;
- list-style: none;
- border: none;
- font-family: Arial, sans-serif;
- font-style: normal;
- font-weight: 500;
- font-size: 0.37333rem;
- line-height: 0.53333rem;
- padding: 0.32rem 0.4rem;
- box-sizing: border-box;
- margin-top: 0.26667rem;
- box-shadow: 0 0.16rem 0.32rem #eaeaea99;
-}
-main {
- padding: 0 0.4rem 0.53333rem;
- box-sizing: border-box;
-}
-.main-title {
- font-style: normal;
- font-weight: 400;
- font-size: 0.37333rem;
- color: #8c9fad;
- margin-top: 0.53333rem;
-}
-.white-input {
- width: 100%;
- background: #fff;
- border-radius: 0.10667rem;
- list-style: none;
- border: none;
- font-family: Arial, sans-serif;
- font-style: normal;
- font-weight: 500;
- font-size: 0.37333rem;
- line-height: 0.53333rem;
- padding: 0.32rem 0.4rem;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- margin-top: 0.26667rem;
- -webkit-box-shadow: 0 0.16rem 0.32rem #eaeaea99;
- box-shadow: 0 0.16rem 0.32rem #eaeaea99;
- display: flex;
- justify-content: space-between;
-}
-.fuzhi {
- font-size: 28px;
- cursor: pointer;
-}
-.myr {
- color: rgb(150, 151, 153);
-}
-/deep/ .el-upload__input {
- display: none !important;
-}
-/deep/ .avatar-uploader {
- width: 2.740741rem;
- height: 2.740741rem;
-}
-
-.btnbox {
- display: flex;
- .loginout {
- margin-right: 0.6rem;
+ /deep/ .van-cell {
+ list-style: none;
+ width: 100%;
+ margin-top: 0.26667rem;
+ background: #fff;
+ border-radius: 0.10667rem;
+ list-style: none;
+ border: none;
+ font-family: Arial, sans-serif;
+ font-style: normal;
+ font-weight: 500;
+ font-size: 0.37333rem;
+ line-height: 0.53333rem;
+ padding: 0.32rem 0.4rem;
+ box-sizing: border-box;
+ margin-top: 0.26667rem;
+ box-shadow: 0 0.16rem 0.32rem #eaeaea99;
}
-}
+
+ main {
+ padding: 0 0.4rem 0.53333rem;
+ box-sizing: border-box;
+ }
+
+ .main-title {
+ font-style: normal;
+ font-weight: 400;
+ font-size: 0.37333rem;
+ color: #8c9fad;
+ margin-top: 0.53333rem;
+ }
+
+ .white-input {
+ width: 100%;
+ background: #fff;
+ border-radius: 0.10667rem;
+ list-style: none;
+ border: none;
+ font-family: Arial, sans-serif;
+ font-style: normal;
+ font-weight: 500;
+ font-size: 0.37333rem;
+ line-height: 0.53333rem;
+ padding: 0.32rem 0.4rem;
+ -webkit-box-sizing: border-box;
+ box-sizing: border-box;
+ margin-top: 0.26667rem;
+ -webkit-box-shadow: 0 0.16rem 0.32rem #eaeaea99;
+ box-shadow: 0 0.16rem 0.32rem #eaeaea99;
+ display: flex;
+ justify-content: space-between;
+ }
+
+ .fuzhi {
+ font-size: 28px;
+ cursor: pointer;
+ }
+
+ .myr {
+ color: rgb(150, 151, 153);
+ }
+
+ /deep/ .el-upload__input {
+ display: none !important;
+ }
+
+ /deep/ .avatar-uploader {
+ width: 2.740741rem;
+ height: 2.740741rem;
+ }
</style>
--
Gitblit v1.9.3