From a7d3bc2d58b63c0b0d117aeca38e1e3d3c3d5e38 Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Wed, 10 Sep 2025 15:12:52 +0800
Subject: [PATCH] 列表结束计时器修改

---
 src/views/homePage/index.vue |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/src/views/homePage/index.vue b/src/views/homePage/index.vue
index 9332b6b..36c74da 100644
--- a/src/views/homePage/index.vue
+++ b/src/views/homePage/index.vue
@@ -83,20 +83,25 @@
 import { useStore } from "vuex";
 import { TIME_OUT } from "@/config";
 import { useUserStore } from '@/store/user';
+import { setStorage,getStorage } from '@/utils/index.js';
+  let catchSymbol = getStorage('symbol')
+  if(!catchSymbol){
+	  setStorage('symbol', 'btcusdt');
+  }
 const userStore = useUserStore()
-
 const { t } = useI18n()
 const router = useRouter()
 const store = useStore();
 
 const tabbers = [
     // { key: 1, name: t('跟单'), icon: new URL('@/assets/imgs/home/home_1.png', import.meta.url) },
-    // { key: 2, name: t('储值'), icon: new URL('@/assets/imgs/home/home_2.png', import.meta.url) },
     // { key: 3, name: `C2C ${t('交易')}`, icon: new URL('@/assets/imgs/home/home_3.png', import.meta.url) },
     // { key: 4, name: t('邀请好友'), icon: new URL('@/assets/imgs/home/home_4.png', import.meta.url) },
     { key: 5, name: t('合约'), icon: new URL('@/assets/imgs/home/home_5.png', import.meta.url), path: '/trade/index' },
-    { key: 6, name: t('现货'), icon: new URL('@/assets/imgs/home/home_5.png', import.meta.url), path: '/cryptos/trade/btcusdt' },
-    { key: 7, name: t('提现'), icon: new URL('@/assets/imgs/home/home_6.png', import.meta.url), path: '/exchange/withdraw-usdt' },
+    // { key: 6, name: t('现货'), icon: new URL('@/assets/imgs/home/home_5.png', import.meta.url), path: '/cryptos/trade/btcusdt' },
+	{ key: 2, name: t('储值'), icon: new URL('@/assets/imgs/home/home_2.png', import.meta.url), path: '/cryptos/recharge/rechargeList?isForeign=true' },
+    // { key: 7, name: t('提现'), icon: new URL('@/assets/imgs/home/home_6.png', import.meta.url), path: '/exchange/withdraw-usdt' },/cryptos/Withdraw/withdrawPage
+	{ key: 7, name: t('提现'), icon: new URL('@/assets/imgs/home/home_6.png', import.meta.url), path: '/cryptos/Withdraw/withdrawPage' },
     // { key: 8, name: t('卡券中心'), icon: new URL('@/assets/imgs/home/home_7.png', import.meta.url) },
     { key: 9, name: t('闪兑'), icon: new URL('@/assets/imgs/home/home_8.png', import.meta.url), path: '/cryptos/exchangePage' },
     // { key: 10, name: t('更多'), icon: new URL('@/assets/imgs/home/home_9.png', import.meta.url) },
@@ -160,7 +165,7 @@
 
 onBeforeUnmount(() => {
     if (timeout.value) {
-        clearInterval(timeout.value)
+        clearTimeout(timeout.value)
     }
 })
 //#endregion----------------------------------------------

--
Gitblit v1.9.3