From 42faef34194c466f03e29d75a63ae502e4213044 Mon Sep 17 00:00:00 2001
From: admin <344137771@qq.com>
Date: Tue, 06 Jan 2026 10:38:46 +0800
Subject: [PATCH] 上一版是10.10的, 这版才是原始源码

---
 src/views/optional/index.vue |   17 ++++-------------
 1 files changed, 4 insertions(+), 13 deletions(-)

diff --git a/src/views/optional/index.vue b/src/views/optional/index.vue
index c153ca8..18885d5 100644
--- a/src/views/optional/index.vue
+++ b/src/views/optional/index.vue
@@ -56,11 +56,10 @@
                     <m-echarts :dataObj="item" :ratio="item.change_ratio" :index="item.symbol" />
                   </div>
                   <div class="flex-r-item data-box">
-                    <div class="data-item" :class="[item.change_ratio < 0 ? 'bg-red' : 'bg-green']">{{ item.close }}
-                    </div>
+                    <div class="data-item" :class="[item.change_ratio < 0 ? 'bg-red' : 'bg-green']">{{ item.close }}</div>
                     <p class="value" :class="[item.change_ratio < 0 ? 'color-red' : 'color-green']">
                       {{ item.change_ratio < 0 ? item.net_change : '+' + item.net_change }} &nbsp; {{ item.change_ratio
-                        }}%</p>
+                      }}%</p>
                   </div>
                 </div>
               </li>
@@ -103,7 +102,7 @@
                 :title="`${t('digitalCurrency')}(${fixedData.cryptos || 0})`" />
               <van-sidebar-item @click="openType('forex', t('外汇'))" :title="`${t('外汇')}(${fixedData.forex || 0})`" />
               <van-sidebar-item @click="openType('INDIA-stocks', t('印度股'))"
-                :title="`${t('印度股')}(${fixedData['INDIA-stocks'] || 0})`" />
+                                :title="`${t('印度股')}(${fixedData['INDIA-stocks'] || 0})`" />
             </van-sidebar>
           </div>
           <footer class="footer-container">
@@ -128,7 +127,7 @@
     </div>
   </section>
 </template>
-
+    
 <script setup>
 import { ref, onMounted, onBeforeUnmount } from 'vue';
 import { useUserStore } from '@/store/user';
@@ -144,9 +143,6 @@
 import { HOST_URL } from '@/config'
 import { themeStore } from '@/store/theme';
 const thStore = themeStore()
-
-console.log("dddddd", HOST_URL);
-
 
 const { t } = useI18n()
 const router = useRouter()
@@ -449,12 +445,7 @@
       font-weight: 700;
       font-size: 20px;
       line-height: 28px;
-      height: 28px;
       color: $mainTextColor;
-      width: 75vw;
-      white-space: nowrap;
-      overflow: hidden;
-      text-overflow: ellipsis;
     }
 
     .icon-group {

--
Gitblit v1.9.3