From bfd4aa0dffdbccbc283a6f7a1370d5921bd7060b Mon Sep 17 00:00:00 2001
From: zzzz <690498789@qq.com>
Date: Sun, 28 Apr 2024 14:26:56 +0800
Subject: [PATCH] first

---
 src/page/user/Warehouse/data.list.vue |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/page/user/Warehouse/data.list.vue b/src/page/user/Warehouse/data.list.vue
index 4a21710..443097d 100644
--- a/src/page/user/Warehouse/data.list.vue
+++ b/src/page/user/Warehouse/data.list.vue
@@ -43,8 +43,8 @@
               <div class="sport-content-title2">
                 {{ $t("盈虧") }} ({{ activeObj.symbolCode }})
               </div>
-              <div class="sport-content-text" style="color: #d04b64">
-                {{ item.profitAndLose | _toString }}
+              <div class="sport-content-text" >
+                {{ item.profitAndLose | _toLocaleString }}
               </div>
             </div>
           </van-col>
@@ -72,7 +72,7 @@
                 {{ $t("hj40") }}({{ activeObj.symbolCode }})
               </div>
               <div class="sport-content-text2">
-                {{ item.now_price | _toString }}
+                {{ item.now_price | _toLocaleString }}
               </div>
             </div>
           </van-col>
@@ -82,7 +82,7 @@
                 {{ $t("持倉價") }} ({{ activeObj.symbolCode }})
               </div>
               <div class="sport-content-text2">
-                {{ item.buyOrderPrice | _toString }}
+                {{ item.buyOrderPrice | _toLocaleString }}
               </div>
             </div>
           </van-col>
@@ -92,7 +92,7 @@
                 {{ $t("訂單金額") }} ({{ activeObj.symbolCode }})
               </div>
               <div class="sport-content-text2">
-                {{ item.orderTotalPrice | _toString }}
+                {{ item.orderTotalPrice | _toLocaleString }}
               </div>
             </div>
           </van-col>
@@ -104,7 +104,7 @@
                 {{ $t("hj44") }} ({{ activeObj.symbolCode }})
               </div>
               <div class="sport-content-text2">
-                {{ item.orderFee | _toString }}
+                {{ item.orderFee | _toLocaleString }}
               </div>
             </div>
           </van-col>
@@ -114,7 +114,7 @@
                 {{ $t("止損價") }} ({{ activeObj.symbolCode }})
               </div>
               <div class="sport-content-text2">
-                {{ item.profitTargetPrice | _toString }}
+                {{ item.profitTargetPrice | _toLocaleString }}
               </div>
             </div>
           </van-col>
@@ -124,7 +124,7 @@
                 {{ $t("止盈價") }} ({{ activeObj.symbolCode }})
               </div>
               <div class="sport-content-text2">
-                {{ item.stopTargetPrice | _toString }}
+                {{ item.stopTargetPrice | _toLocaleString }}
               </div>
             </div>
           </van-col>

--
Gitblit v1.9.3