From e4abde60d72c05dec734feea446528b602ffd658 Mon Sep 17 00:00:00 2001
From: lxf <1371462558@qq.com>
Date: Fri, 30 May 2025 11:48:39 +0800
Subject: [PATCH] style

---
 src/components/constract/PerpetualContract/positionCom/currentPosition.vue |   26 ++++++++++++++++----------
 1 files changed, 16 insertions(+), 10 deletions(-)

diff --git a/src/components/constract/PerpetualContract/positionCom/currentPosition.vue b/src/components/constract/PerpetualContract/positionCom/currentPosition.vue
index 0cf841b..4293d3b 100644
--- a/src/components/constract/PerpetualContract/positionCom/currentPosition.vue
+++ b/src/components/constract/PerpetualContract/positionCom/currentPosition.vue
@@ -17,9 +17,9 @@
             <span class="name"
               >{{ scope.row.name }} {{ $t("message.home.yongxu") }}</span
             >
-            <span class="lever_rate">{{
+            <!-- <span class="lever_rate">{{
               scope.row.lever_rate ? `${scope.row.lever_rate}x` : "1x"
-            }}</span>
+            }}</span> -->
           </div>
         </template>
       </el-table-column>
@@ -81,9 +81,15 @@
       timer: null,
       tables: [
         {
+          prop: "profit",
+          label: "message.user.weishixianyingkui(shouyilv)",
+          formatter: this.formatterData,
+        },
+        {
           prop: "volume", //volume_open持仓总张数,volume表示剩余
           label: "message.home.zhangshu",
         },
+
         {
           prop: "trade_avg_price",
           label: "message.user.kaicangjiage",
@@ -107,14 +113,14 @@
           prop: "deposit",
           label: "message.home.baozhengjin",
         },
+
+        // {
+        //   prop: "qiangPing",
+        //   label: "message.home.qiangping",
+        // },
         {
-          prop: "profit",
-          label: "message.user.weishixianyingkui(shouyilv)",
-          formatter: this.formatterData,
-        },
-        {
-          prop: "qiangPing",
-          label: "message.home.qiangping",
+          prop: "create_time",
+          label: "message.jiaoyi.jiaoyishijian", // 下单时间
         },
       ],
       tableData: [],
@@ -148,7 +154,7 @@
     formatterData(row) {
       const ratio = this.ratioFormatter(row);
       const profit = Number(row.profit).toFixed(4);
-      return `${profit}(${ratio})`;
+      return `${profit}/n(${ratio})`;
     },
     //设置单个单元格样式   行下标:rowIndex    列下标:columnIndex
     cellStyle({ row, column, rowIndex, columnIndex }) {

--
Gitblit v1.9.3