From 71a2d3db051347d5ed4376b90cdff756cf11ca84 Mon Sep 17 00:00:00 2001
From: lxf <1371462558@qq.com>
Date: Thu, 10 Jul 2025 17:05:44 +0800
Subject: [PATCH] 理财,翻译

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

diff --git a/src/views/cryptos/TrendDetails/index.vue b/src/views/cryptos/TrendDetails/index.vue
index 25845ca..7090e78 100644
--- a/src/views/cryptos/TrendDetails/index.vue
+++ b/src/views/cryptos/TrendDetails/index.vue
@@ -16,11 +16,11 @@
         <div class="data-index">
           <div class="flex flex-1 px-32 mt-40">
             <div class="flex flex-col font-22">
-              <p class="font-70 font-600" :class="quote.change_ratio > 0 ? 'text-green' : 'text-red'">
+              <p class="font-70 font-600" :class="quote.change_ratio_str > 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) : '--' }}
-                <span :class="quote.change_ratio > 0 ? 'text-green' : 'text-red'">{{ quote.change_ratio
+                <span :class="quote.change_ratio_str > 0 ? 'text-green' : 'text-red'">{{ quote.changeRatioStr
                   ||
                   '--' }}%</span>
               </p>
@@ -443,7 +443,7 @@
         })
         return
       } else {
-        this.$router.push(`/cryptos/perpetualContract/${this.symbol}`)
+        this.$router.push(`/cryptos/perpetualContract/${this.symbol}?type=cryptos&selectIndex=2`)
       }
     },
     onClose() {
@@ -551,7 +551,7 @@
 }
 
 :deep(.van-tabs__nav) {
-  background-color: $night !important;
+  // background-color: $night !important;
 }
 
 @keyframes animate1 {

--
Gitblit v1.9.3