From bfb40fbb48cffd2bd996aed21abb44a497115272 Mon Sep 17 00:00:00 2001
From: zzzz <690498789@qq.com>
Date: Fri, 19 Apr 2024 06:05:18 +0800
Subject: [PATCH] 111
---
src/page/newUser/index.vue | 65 +++++++++-----------------------
1 files changed, 19 insertions(+), 46 deletions(-)
diff --git a/src/page/newUser/index.vue b/src/page/newUser/index.vue
index 16d4633..2b34c15 100644
--- a/src/page/newUser/index.vue
+++ b/src/page/newUser/index.vue
@@ -29,7 +29,7 @@
<van-row class="van-row-box">
<van-col span="24">
<div class="content-all">
- <span>{{ $t("賬戶總資產") }}(USD)</span>
+ <span>{{ $t("賬戶總資產") }}({{ $USD }})</span>
<i @click="xy = !xy" class="iconfont xy"></i>
</div>
<div class="number-all">
@@ -37,17 +37,15 @@
</div>
</van-col>
</van-row>
- <van-row style="margin-top: 18px">
+ <!-- <van-row style="margin-top: 18px">
<div
- class="van-col van-col--8"
+ class="van-col van-col--12"
style="margin-top: 10px"
v-for="item in listAsstes"
:key="item.accectType"
>
<div class="content-title DINPro">
- {{
- item.accectType === "US" ? $t("美股總資產") : $t("馬股總資產")
- }}
+ {{ item.title3 }}
({{ item.symbolCode }})
</div>
<div>
@@ -56,7 +54,7 @@
</div>
</div>
</div>
- </van-row>
+ </van-row> -->
<van-row style="margin-top: 16px">
<van-col span="8" style="display: flex; justify-content: center">
<van-button
@@ -74,18 +72,6 @@
>{{ $t("提款") }}</van-button
>
</van-col>
- <!-- transferIndex -->
- <van-col span="8" style="display: flex; justify-content: center">
- <van-button
- @click="$router.push('/transferIndex')"
- class="btn-two"
- type="default"
- >{{ $t("hj245") }}</van-button
- >
- </van-col>
- <!-- <van-col span="6" style="display: flex; justify-content: center">
- <van-button class="btn-two" type="default">資金明細</van-button>
- </van-col> -->
</van-row>
</div>
<div class="content-list-box">
@@ -112,9 +98,9 @@
<div class="DINPro">
{{ item.symbol }} {{ item.availableBalance || "0.00" }}
</div>
- <div class="DINPro">
+ <!-- <div class="DINPro">
≈ $ {{ item.availableBalanceUSD || "0.00" }}
- </div>
+ </div> -->
</div>
</li>
<li>
@@ -125,7 +111,7 @@
<div class="DINPro">
{{ item.symbol }} {{ item.freezeMoney || "0.00" }}
</div>
- <div class="DINPro">≈ $ {{ item.freezeMoney || "0.00" }}</div>
+ <!-- <div class="DINPro">≈ $ {{ item.freezeMoney || "0.00" }}</div> -->
</div>
</li>
</ul>
@@ -151,31 +137,16 @@
xy: true,
listAsstes: [
{
- title: this.$t("美股資產"),
- title1: this.$t("美股可用"),
- title2: this.$t("美股冻结"),
- accectType: "US",
- symbol: "$",
- symbolCode: "USD",
- },
- {
- title: this.$t("馬股資產"),
- title1: this.$t("馬股可用"),
- title2: this.$t("馬股冻结"),
- accectType: "MAS",
- symbol: "RM",
- symbolCode: "MYR",
- },
- {
- title: this.$t("港股资产"),
- title1: this.$t("港股可用"),
- title2: this.$t("港股冻结"),
- accectType: "HK",
- symbol: "HK$",
- symbolCode: "HKD",
+ title: this.$t("印股資產"),
+ title3: this.$t("印股總資產"),
+ title1: this.$t("印股可用"),
+ title2: this.$t("印股冻结"),
+ accectType: "IN",
+ symbolCode: "INR",
+ symbol: "₹",
},
],
- active: this.$t("美股資產"),
+ active: this.$t("印股資產"),
name: "",
selectUserFlag: true,
settingDialog: false,
@@ -214,7 +185,7 @@
});
const arr = data.data.filter((item) => item.accectType === "ALL");
- this.asstesAll = arr[0].totalMoneyUSD;
+ this.asstesAll = arr[0].totalMoney;
}
},
tabsChange(e) {
@@ -491,6 +462,8 @@
color: #2d2f3c;
}
.li-USDT {
+ min-width: 180px;
+ text-align: right;
font-style: normal;
font-weight: 500;
font-size: 0.37333rem;
--
Gitblit v1.9.3