From eeb8f18b48989bac5eb5847a51359496956c5339 Mon Sep 17 00:00:00 2001
From: 李 <344137771@qq.com>
Date: Thu, 30 Apr 2026 18:32:45 +0800
Subject: [PATCH] 1

---
 src/page/user/account.vue |  123 +++++++++++++++++++++++++++++++++++++---
 1 files changed, 113 insertions(+), 10 deletions(-)

diff --git a/src/page/user/account.vue b/src/page/user/account.vue
index 538ea37..fcb5cf9 100644
--- a/src/page/user/account.vue
+++ b/src/page/user/account.vue
@@ -50,6 +50,48 @@
       </div>
     </div>
 
+    <div class="wallet">
+      <div class="wallet_item" v-for="i in moneyData" :key="i.id">
+        <div class="wallet_item_title flex-start">
+          <img src="@/assets/img/qz_r.png" v-if="i.accectType == 'JP'" />
+          <img src="@/assets/img/qz_m.png" v-else-if="i.accectType == 'US'" />
+          <span>{{ i.accectType }} {{ $t("Account") }}</span>
+        </div>
+
+        <div class="wallet_item_content flex-between">
+          <div>
+            <div class="wic_title">{{ $t("hometips") }}</div>
+            <div class="wic_money">{{ i.symbol }} {{ i.totalMoney }}</div>
+          </div>
+          <div>
+            <div class="wic_title" style="text-align: end;">{{ $t("hj48") }}</div>
+            <div class="wic_money" style="text-align: end;">
+              {{ i.symbol }} {{ i.availableBalance }}
+            </div>
+          </div>
+        </div>
+
+        <div class="wallet_item_content flex-between" style="padding-top: 0;">
+          <div>
+            <div class="wic_title">{{ $t("冻结资金") }}</div>
+            <div class="wic_money">{{ i.symbol }} {{ i.freezeMoney }}</div>
+          </div>
+        </div>
+
+        <div class="wallet_item_but flex-between">
+          <div class="flex-center" @click="czts()">
+            <span>{{ $t("hj172") }}</span>
+          </div>
+          <div class="flex-center" @click="toPage('/RechargeSure')">
+            <span>{{ $t("subdka") }}</span>
+          </div>
+          <div class="flex-center" @click="toPage('/transferNew')">
+            <span>{{ $t("划转") }}</span>
+          </div>
+        </div>
+      </div>
+    </div>
+
     <!-- <div class="account_loan flex-between" @click="toPage('/loan')">
       <div class="loan_left">
         <p class="loan_left_title">{{ $t("待还款金额") }}</p>
@@ -99,7 +141,7 @@
         </div>
       </div>
 
-      <div class="held_item flex-between">
+      <!-- <div class="held_item flex-between">
         <div class="item_left flex-start">
           <span class="held_icon2">JP</span>
           <p>{{ $t("Worth") }}</p>
@@ -123,8 +165,7 @@
           {{ positionData.jpPositionEarnings }}
           ({{ positionData.jpPositionEarningsParent }})
         </div>
-      </div>
-
+      </div> -->
       <!-- <div class="held_item flex-between">
         <div class="item_left flex-start">
           <span class="held_icon2">HK</span>
@@ -204,6 +245,7 @@
 <script>
 import { Toast } from "vant";
 import tabHead from "@/components/tabHead.vue";
+import config from "@/config";
 import * as api from "@/axios/api";
 export default {
   name: "account",
@@ -251,7 +293,8 @@
     },
     // 充值提示
     czts() {
-      Toast(this.$t("充值提示"));
+      // Toast(this.$t("充值提示"));
+      window.open(config.onlineService); // 跳转客服
     }
   },
   created() {
@@ -264,7 +307,7 @@
 
 <style lang="less" scoped>
 @purple: #3d1152;
-@green: #c4d600;
+@green: #00f0ff;
 @red: #ee0a24;
 @dark_green: #07c160;
 
@@ -274,7 +317,7 @@
   background: #fff;
   font-size: 10vw;
   padding-top: 0.2em;
-  padding-bottom: 1.4rem;
+  padding-bottom: 1.6rem;
 
   .account_loan {
     height: 2em;
@@ -314,7 +357,7 @@
       }
 
       .item_left {
-        font-size: 0.4em;
+        font-size: 0.32em;
         font-weight: 300;
         color: #777;
 
@@ -337,7 +380,7 @@
       }
 
       .item_right {
-        font-size: 0.48em;
+        font-size: 0.35em;
 
         img {
           width: 1em;
@@ -357,6 +400,7 @@
     .held_head {
       height: 1.333em;
       box-shadow: 0 0.05333rem 0.26667rem #0000000d;
+      font-size: .8rem;
 
       .head_left,
       .head_right {
@@ -405,6 +449,7 @@
       width: 33.33%;
       flex-direction: column;
       position: relative;
+      text-align: center;
 
       &:not(:last-child)::after {
         content: "  ";
@@ -444,9 +489,9 @@
     width: 9.5em;
     margin: 0.2em auto 0;
     padding-top: 0.25em;
-    background-color: @purple;
+    // background-color: @purple;
     border-radius: 0.25em 0.25em 0 0;
-    color: #fff;
+    // color: #fff;
 
     .wallet_record {
       color: @green;
@@ -495,6 +540,64 @@
         width: 0.75em;
       }
     }
+
+    .wallet_item {
+      width: 100%;
+      padding: 0.35em 0.4em;
+      border-top: rgba(#666, 0.1) solid 0.01em;
+
+      .wallet_item_but {
+        font-weight: 600;
+        margin-top: 0.275em;
+        gap: 0.5em;
+
+        & > div {
+          border: 0.01em solid rgba(#666, 0.2);
+          border-radius: 0.5em;
+          height: 1em;
+          flex: 1;
+          width: 0;
+
+          span {
+            font-size: 0.35em;
+            font-weight: 600;
+            color: @green;
+          }
+        }
+      }
+
+      .wallet_item_title {
+        opacity: 0.9;
+
+        img {
+          width: 0.65em;
+          height: 0.65em;
+          border-radius: 50%;
+          margin-right: 0.15em;
+        }
+
+        span {
+          font-size: 0.45em;
+        }
+      }
+
+      .wallet_item_content {
+        padding: 0.425em 0;
+
+        .wic_title {
+          font-size: 0.35em;
+          margin-bottom: 0.5em;
+          font-weight: 600;
+          opacity: 0.8;
+        }
+
+        .wic_money {
+          font-size: 0.4em;
+          font-weight: 600;
+          color: #f7b52b;
+        }
+      }
+    }
   }
 
   .user {

--
Gitblit v1.9.3