From 9495998e97dd04d4bdfcf32dfd4d49cd45c1fe32 Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Thu, 11 Sep 2025 11:05:12 +0800
Subject: [PATCH] 1

---
 src/views/homePage/index.vue |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/views/homePage/index.vue b/src/views/homePage/index.vue
index c93786b..9f15555 100644
--- a/src/views/homePage/index.vue
+++ b/src/views/homePage/index.vue
@@ -13,7 +13,7 @@
             <div class="login_but_d text-center" @click="toPage('/login')">{{ $t('登录') }}</div>
         </div>
 
-        <div class="home_grid flex justify-between flex-wrap">
+        <div class="home_grid flex justify-start flex-wrap">
             <div class="grid_item pt-10" v-for="value in tabbers" :key="value.key" @click="toPage(value.path)">
                 <div class="grid_item_img flex justify-center"><img :src="value.icon" alt=""></div>
                 <div class="text-center mt-2">{{ value.name }}</div>
@@ -98,13 +98,16 @@
     // { 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: 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) },
+
+    { key: 11, name: "ICO", icon: new URL('@/assets/imgs/home/home_1.png', import.meta.url), path: '/ICO/ico' },
+    { key: 12, name: "C2C", icon: new URL('@/assets/imgs/home/home_1.png', import.meta.url), path: '/wantBuy' },
 ]
 
 // 获取公告数据
@@ -165,7 +168,7 @@
 
 onBeforeUnmount(() => {
     if (timeout.value) {
-        clearInterval(timeout.value)
+        clearTimeout(timeout.value)
     }
 })
 //#endregion----------------------------------------------
@@ -247,7 +250,7 @@
         width: 100%;
 
         .grid_item {
-            width: 24%;
+            width: 25%;
             color: $tab-c;
             font-size: 1.6rem;
 

--
Gitblit v1.9.3