From 4931fb42270d5fd00a0a22270d684476ffa53917 Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Sat, 11 Oct 2025 18:35:08 +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..f52d691 100644
--- a/src/views/cryptos/TrendDetails/index.vue
+++ b/src/views/cryptos/TrendDetails/index.vue
@@ -20,7 +20,7 @@
               <p class="font-70 font-600" :class="quote.change_ratio > 0 ? 'text-green' : 'text-red'">
                 {{ quote.close || '--' }}</p>
               <p class="font-22 mt-10">≈ {{ currency.currency_symbol }}{{ quote.close ? (quote.close *
-                currency.rate).toFixed(2) : '--' }}
+                currency.rate).toFixed(6) : '--' }}
                 <span :class="quote.change_ratio > 0 ? 'text-green' : 'text-red'">{{ quote.change_ratio
                   ||
                   '--' }}%</span>
@@ -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'
@@ -297,7 +298,7 @@
     ...mapGetters({ currency: 'home/currency', userInfo: 'user/userInfo' })
   },
   mounted() {
-    console.log('sss')
+    console.log('sss', this.$route.query)
     //this.continueOrder()
     this.kineType = this.$route.query.kineType
     if (this.$route.query.type) {
@@ -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