From 04cd652e2aab05ff5a6cde1c3a6e0a18f4d6bf1c Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Mon, 02 Sep 2024 15:26:12 +0800
Subject: [PATCH] 1

---
 src/page/newUser/index.vue |   42 ++++++++++++++++++++++++++++++++++--------
 1 files changed, 34 insertions(+), 8 deletions(-)

diff --git a/src/page/newUser/index.vue b/src/page/newUser/index.vue
index 7ab19ff..f6dd1d6 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="20">
             <div class="content-all">
-              <span>{{ $t("賬戶總資產") }}({{ $USD }})</span>
+              <span>{{ $t("賬戶總資產") }}( $USD )</span>
               <i @click="xy = !xy" class="iconfont xy">&#xe8c7;</i>
             </div>
             <div class="number-all">
@@ -61,7 +61,7 @@
               >{{ $t("提款") }}</van-button
             >
           </van-col>
-          <van-col span="8" style="display: flex; justify-content: center">
+          <!-- <van-col span="8" style="display: flex; justify-content: center">
             <van-button
               @click="leverShow = true"
               class="btn-two"
@@ -69,7 +69,7 @@
             >
               {{ $t("申请杠杠") }}
             </van-button>
-          </van-col>
+          </van-col> -->
         </van-row>
 
         <van-dialog
@@ -128,7 +128,8 @@
                 </div>
                 <div class="li-USDT">
                   <div class="DINPro">
-                    {{ item.symbol }} {{ item.availableBalance | _toString }}
+                    {{ item.symbol }}
+                    {{ item.availableBalance | _toLocaleString }}
                   </div>
                   <!-- <div class="DINPro">
                     ≈ $ {{ item.availableBalanceUSD || "0.00" }}
@@ -141,7 +142,20 @@
                 </div>
                 <div class="li-USDT">
                   <div class="DINPro">
-                    {{ item.symbol }} {{ item.freezeMoney | _toString }}
+                    {{ item.symbol }}
+                    {{ item.freezeMoney | _toLocaleString }}
+                  </div>
+                  <!-- <div class="DINPro">≈ $ {{ item.freezeMoney || "0.00" }}</div> -->
+                </div>
+              </li>
+              <li>
+                <div class="li-title">
+                  {{ $t("待补金额") }}({{ item.symbolCode }})
+                </div>
+                <div class="li-USDT">
+                  <div class="DINPro">
+                    {{ item.symbol }}
+                    {{ item.amountToBeCovered | _toLocaleString }}
                   </div>
                   <!-- <div class="DINPro">≈ $ {{ item.freezeMoney || "0.00" }}</div> -->
                 </div>
@@ -180,6 +194,15 @@
           accectType: "IN",
           symbolCode: "INR",
           symbol: "₹",
+        },
+        {
+          title: this.$t("美股資產"),
+          title3: this.$t("美股總資產"),
+          title1: this.$t("美股可用"),
+          title2: this.$t("美股冻结"),
+          accectType: "US",
+          symbolCode: "USD",
+          symbol: "$",
         },
       ],
       active: this.$t("印股資產"),
@@ -230,11 +253,13 @@
               Vue.set(items, "freezeMoneyUSD", item.freezeMoneyUSD);
               Vue.set(items, "symbol", item.symbol);
               Vue.set(items, "symbolCode", item.symbolCode);
+              Vue.set(items, "amountToBeCovered", item.amountToBeCovered);
             }
           });
         });
 
         const arr = data.data.filter((item) => item.accectType === "ALL");
+        console.log(arr);
         this.asstesAll = arr[0].totalMoney;
       }
     },
@@ -350,8 +375,8 @@
     },
     handleOutLoginClick() {
       // 退出登录
-      MessageBox.confirm(this.$t("hj149") + "?", this.$t("hj165"), {
-        confirmButtonText: this.$t("hj161"),
+      MessageBox.confirm(this.$t(""), this.$t("hj165"), {
+        confirmButtonText: this.$t("qr"),
         cancelButtonText: this.$t("hj106"),
       })
         .then(() => {
@@ -510,6 +535,7 @@
       font-weight: 500;
       font-size: 0.37333rem;
       color: #2d2f3c;
+      text-align: left;
     }
     .li-USDT {
       min-width: 180px;
@@ -1016,4 +1042,4 @@
 input[type="file"] {
   display: none !important;
 }
-</style>
\ No newline at end of file
+</style>

--
Gitblit v1.9.3