From 4e060ba04e97107a4b000e0232c818912a83e9d0 Mon Sep 17 00:00:00 2001
From: lxf <1371462558@qq.com>
Date: Tue, 08 Jul 2025 20:08:03 +0800
Subject: [PATCH] style

---
 src/components/Transform/list-quotation/index.vue |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/components/Transform/list-quotation/index.vue b/src/components/Transform/list-quotation/index.vue
index 3f0a2e4..f42dd52 100644
--- a/src/components/Transform/list-quotation/index.vue
+++ b/src/components/Transform/list-quotation/index.vue
@@ -44,11 +44,11 @@
                   alt="logo" class="w-72 h-72 rounded-full mr-16" />
                 <p class="flex flex-col">
                   <span class="flex items-end font-32 flex items-center">
-                    <span class="textColor font-600 font-30">{{ item.symbol_data && item.symbol_data.toUpperCase() || '--'
+                    <span class="textColor font-600 font-30">{{ item.name || '--'
                     }}</span>
-                    <span class="font-24 text-grey" style="position: relative; top: 1px">
+                    <!-- <span class="font-24 text-grey" style="position: relative; top: 1px">
                       /USDT
-                    </span>
+                    </span> -->
                     <!-- <span class="font-24 text-grey" style="position: relative; top: 1px">
                       {{ item.name && item.name.replace(item.symbol.toUpperCase(), '') || '--' }}</span> -->
                   </span>
@@ -62,10 +62,10 @@
                     currency.rate).toFixed(2) || '--' }}</p>
               </li>
               <li class="right flex items-center justify-end">
-                <p class="w-153 font-31 h-71 bg-green text-white border-0 text-center btn" v-if="item.change_ratio_str > 0 || item.change_ratio > 0">
-                  +{{ item.change_ratio || (item.change_ratio_str === 0 ? 0 : '--') }}%</p>
+                <p class="w-153 font-31 h-71 bg-green text-white border-0 text-center btn" v-if="item.change_ratio_str > 0">
+                  {{ (item.change_ratio_str === 0 ? 0 : item.change_ratio_str) }}%</p>
                 <p class="w-153 font-31 h-71 bg-red text-white border-0 text-center btn" v-else>
-                  {{ item.change_ratio || (item.change_ratio_str === 0 ? 0 : '--') }}%</p>
+                  {{ (item.change_ratio_str === 0 ? 0 : item.change_ratio_str) }}%</p>
               </li>
             </ul>
           </van-cell>
@@ -100,9 +100,9 @@
                 </div>
                 <template v-else>
                   <p class="w-153 font-31 h-71 bg-green text-white border-0 text-center btn" v-if="item.change_ratio_str > 0 || item.change_ratio > 0">
-                    +{{ item.change_ratio || item.change_ratio_str }}%</p>
+                    +{{ item.change_ratio_str }}%</p>
                   <p class="w-153 font-31 h-71 bg-red text-white border-0 text-center btn" v-else>
-                    {{ item.change_ratio || (item.change_ratio_str === 0 ? 0 : '--') }}%</p>
+                    {{ (item.change_ratio_str === 0 ? 0 : '--') }}%</p>
                 </template>
               </li>
             </ul>

--
Gitblit v1.9.3