From 687400dd8221fcfc430d423168cd3ffb6a4ae74e Mon Sep 17 00:00:00 2001
From: dcc <dcc@163.com>
Date: Mon, 06 May 2024 17:42:35 +0800
Subject: [PATCH] 去掉马股,马来西亚,港股
---
src/page/newUser/index.vue | 51 ++++++++++++++++++++++++++++++++-------------------
1 files changed, 32 insertions(+), 19 deletions(-)
diff --git a/src/page/newUser/index.vue b/src/page/newUser/index.vue
index 16d4633..85cee9b 100644
--- a/src/page/newUser/index.vue
+++ b/src/page/newUser/index.vue
@@ -39,15 +39,13 @@
</van-row>
<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>
@@ -152,6 +150,7 @@
listAsstes: [
{
title: this.$t("美股資產"),
+ title3: this.$t("美股總資產"),
title1: this.$t("美股可用"),
title2: this.$t("美股冻结"),
accectType: "US",
@@ -159,21 +158,32 @@
symbolCode: "USD",
},
{
- title: this.$t("馬股資產"),
- title1: this.$t("馬股可用"),
- title2: this.$t("馬股冻结"),
- accectType: "MAS",
- symbol: "RM",
- symbolCode: "MYR",
+ title: this.$t("印股資產"),
+ title3: this.$t("印股總資產"),
+ title1: this.$t("印股可用"),
+ title2: this.$t("印股冻结"),
+ accectType: "IN",
+ symbol: "₹",
+ symbolCode: "IND",
},
- {
- 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: "MAS",
+ // symbol: "RM",
+ // symbolCode: "MYR",
+ // },
+ // {
+ // title: this.$t("港股资产"),
+ // title3: this.$t("港股總資產"),
+ // title1: this.$t("港股可用"),
+ // title2: this.$t("港股冻结"),
+ // accectType: "HK",
+ // symbol: "HK$",
+ // symbolCode: "HKD",
+ // },
],
active: this.$t("美股資產"),
name: "",
@@ -200,6 +210,7 @@
if (data.status === 0) {
// 判断是否登录
this.moneyList = data.data;
+ console.log(data.data)
data.data.map((item) => {
this.listAsstes.map((items) => {
if (item.accectType === items.accectType) {
@@ -491,6 +502,8 @@
color: #2d2f3c;
}
.li-USDT {
+ min-width: 180px;
+ text-align: right;
font-style: normal;
font-weight: 500;
font-size: 0.37333rem;
@@ -993,4 +1006,4 @@
input[type="file"] {
display: none !important;
}
-</style>
\ No newline at end of file
+</style>
--
Gitblit v1.9.3