From 584860d11b454774b60c71b63d221b5481c0f3bd Mon Sep 17 00:00:00 2001
From: 李 <344137771@qq.com>
Date: Wed, 29 Apr 2026 14:21:48 +0800
Subject: [PATCH] 更新为3.29
---
src/page/user/transferNew.vue | 47 ++++++++++++++++++++++++-----------------------
1 files changed, 24 insertions(+), 23 deletions(-)
diff --git a/src/page/user/transferNew.vue b/src/page/user/transferNew.vue
index 76cb88b..63837e4 100644
--- a/src/page/user/transferNew.vue
+++ b/src/page/user/transferNew.vue
@@ -25,7 +25,7 @@
type="primary"
@click="onMax"
>
- {{ $t("全部") }}
+ {{ $t("hj160") }}
</van-button>
</template>
</van-field>
@@ -40,7 +40,10 @@
placement="bottom-start"
>
<template #reference>
- <div class="lv">{{ cValue.text }}</div>
+ <div class="lv flex-center">
+ {{ cValue.text }}
+ <van-icon name="arrow-down" />
+ </div>
</template>
</van-popover>
</div>
@@ -62,7 +65,10 @@
placement="bottom-start"
>
<template #reference>
- <div class="lv">{{ dValue.text }}</div>
+ <div class="lv flex-center">
+ {{ dValue.text }}
+ <van-icon name="arrow-down" />
+ </div>
</template>
</van-popover>
</div>
@@ -102,17 +108,15 @@
showPopover: false,
showPopover1: false,
actions: [
+ { text: this.$t("日本"), value: "JP", currency: "JPY" },
{ text: this.$t("美国"), value: "US", currency: "USD" },
- { text: this.$t("hk1"), value: "HK", currency: "HKD" },
- { text: this.$t("tw"), value: "TW", currency: "TWD" },
- { text: this.$t("id1"), value: "IN", currency: "INR" }
+ // { text: this.$t("hk1"), value: "HK", currency: "HKD" },
+ // { text: this.$t("tw"), value: "TW", currency: "TWD" },
],
cValue: {},
dValue: {},
usM: {}, // 账户金额 us
- twM: {}, // 账户金额 tw
- inM: {}, // 账户金额 in
- hkM: {}, // 账户金额 hk
+ jpM: {}, // 账户金额 in
arrRate: [], // 汇率
sxf: 0.01 // 手续费比例
};
@@ -153,14 +157,8 @@
case "USD":
this.moneyRevise = this.usM.availableBalance;
break;
- case "HKD":
- this.moneyRevise = this.hkM.availableBalance;
- break;
- case "TWD":
- this.moneyRevise = this.twM.availableBalance;
- break;
- case "INR":
- this.moneyRevise = this.inM.availableBalance;
+ case "JPY":
+ this.moneyRevise = this.jpM.availableBalance;
break;
default:
break;
@@ -179,9 +177,7 @@
if (data.status === 0) {
data.data.forEach(item => {
if (item.accectType == "US") this.usM = item;
- else if (item.accectType == "TW") this.twM = item;
- else if (item.accectType == "IN") this.inM = item;
- else if (item.accectType == "HK") this.hkM = item;
+ else if (item.accectType == "JP") this.jpM = item;
});
}
},
@@ -210,6 +206,8 @@
if (data.status === 0) {
Toast.success(this.$t(data.msg));
this.getMoney();
+ }else{
+ Toast.fail(this.$t(data.msg));
}
}
}
@@ -219,6 +217,9 @@
<style lang="less" scoped>
/deep/ .van-nav-bar__content {
height: 65px;
+}
+/deep/ .van-cell{
+ background: none;
}
/deep/ .van-nav-bar__title {
@@ -248,12 +249,12 @@
margin-top: 40px;
height: 60px;
border-radius: 8px;
- background: #c4d600;
+ background: #00f0ff;
border: none;
}
.butn2 {
border-radius: 8px;
- background: #c4d600;
+ background: #00f0ff;
border: none;
}
@@ -265,7 +266,7 @@
border: none;
.lv {
- color: #c4d600;
+ color: #00f0ff;
}
}
--
Gitblit v1.9.3