From c1c7ff011929d0b4821c9947eea32b670f138fa9 Mon Sep 17 00:00:00 2001
From: PC-20250623MANY\Administrator <344137771@qq.com>
Date: Mon, 25 Aug 2025 17:40:44 +0800
Subject: [PATCH] 1

---
 src/views/account/account.vue |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/src/views/account/account.vue b/src/views/account/account.vue
index 1025f93..fb3bfdb 100644
--- a/src/views/account/account.vue
+++ b/src/views/account/account.vue
@@ -22,11 +22,7 @@
               {{ $t("劃轉") }}
             </div>
           </el-button> -->
-          <el-button
-            type="primary"
-            class="deposit-btn"
-            @click="depositTip"
-          >
+          <el-button type="primary" class="deposit-btn" @click="depositTip">
             <div class="flex-center">
               <img src="@/assets/images/account_rec.png" alt="Deposit" />
               {{ $t("dep") }}
@@ -239,6 +235,8 @@
       :dialogVisible.sync="positionVisible"
       v-if="positionVisible"
       :type="positionType"
+      :moneyData="moneyData"
+      @pc="pc"
     ></Position>
 
     <!-- 交易记录弹窗(包括us和mx的) -->
@@ -354,6 +352,11 @@
         message: this.$t("充值提示"),
         type: "warning",
       });
+    },
+    // 持仓列表关闭,打开平仓列表
+    pc() {
+      this.positionVisible = false;
+      this.tradelogVisible = true;
     },
   },
 };
@@ -519,7 +522,6 @@
 
 .market-section {
   flex: 1;
-  background-color: #fff;
   border-radius: 16px;
   overflow: hidden;
   border: 1px solid #777;

--
Gitblit v1.9.3