From e1e51991ad91c14fa00c5cf46f95e514f676ac4d Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Fri, 19 Sep 2025 18:58:56 +0800
Subject: [PATCH] 1

---
 src/views/cryptos/TrendDetails/index.vue |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/views/cryptos/TrendDetails/index.vue b/src/views/cryptos/TrendDetails/index.vue
index b5141fc..a44a0e0 100644
--- a/src/views/cryptos/TrendDetails/index.vue
+++ b/src/views/cryptos/TrendDetails/index.vue
@@ -68,7 +68,7 @@
                     <p>{{ $t('买入') }}</p>
                     <p class="flex  justify-between  font-22">
                       <span style="margin-right: -10px;">{{ $t('价格') }}{{ queryType == 'cryptos' ? '(USDT)' : '(USD)'
-                      }}</span>
+                        }}</span>
                       <span class="buy-title">{{ $t('数量') }}({{ symbolData.toUpperCase() }})</span>
                     </p>
                   </li>
@@ -111,7 +111,7 @@
                   <span class="flex-1">{{ $t('方向') }}</span>
                   <span class="flex-1">{{ $t('价格') }}{{ queryType == 'cryptos' ? '(USDT)' : '(USD)' }}</span>
                   <span class="flex-1 flex justify-center buy-title">{{ $t('数量') }}({{ symbolData.toUpperCase()
-                  }})</span>
+                    }})</span>
                 </li>
                 <li v-for="(item, index) in deals" :key="item.ts + item.price + item.amount || index"
                   class="flex  justify-between mt-30">
@@ -228,6 +228,7 @@
 import { mapGetters } from 'vuex';
 import { fixDate } from "@/utils";
 import { WS_URL } from '@/config';
+import { strToArr } from "@/utils/utis";
 import PopupDelivery from "@/components/Transform/popup-delivery/index.vue";
 import PopupConfirmOrder from '@/components/Transform/popup-confirm-order/index.vue'
 import deepChart from '@/components/Transform/deepChart/index.vue'
@@ -377,7 +378,7 @@
       _getHomeList(this.symbol).then(data => {
         // console.log(data[0])
         this.quote = data[0]
-        this.symbolData = data[0].symbol_data
+        this.symbolData = strToArr(data[0].name, '/')[0]
         this.$nextTick(() => {
           if (!this.sockets.quote && this.symbol) {
             this.startQuoteScoket()

--
Gitblit v1.9.3