From 836a56418f932086e4221cb6c5e6a56f1c0dfecf Mon Sep 17 00:00:00 2001
From: 李 <344137771@qq.com>
Date: Fri, 22 May 2026 15:07:30 +0800
Subject: [PATCH] 1
---
src/views/homePage/index.vue | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/src/views/homePage/index.vue b/src/views/homePage/index.vue
index db29886..0dffbbf 100644
--- a/src/views/homePage/index.vue
+++ b/src/views/homePage/index.vue
@@ -10,9 +10,9 @@
<van-swipe-item><img src="@/assets/imgs/home/Slider-4.jpg" alt=""></van-swipe-item>
</van-swipe> -->
<div class="flex flex-col items-center justify-center home-kyc-block" @click="toPage('/certificationCenter')">
- <img style="width: 65%;" src="@/assets/imgs/new/kyc-reward.png" alt="">
- <div style="font-size: 25px;">{{ $t('kycLotteryBroadcast') }}</div>
- <div style="font-size: 12px;">{{ $t('kycLotterySubtitle') }}</div>
+ <img style="width: 100%;border-radius: 10px;" src="@/assets/imgs/new/kyc-reward.png" alt="">
+ <!-- <div style="font-size: 25px;">{{ $t('kycLotteryBroadcast') }}</div>
+ <div style="font-size: 12px;">{{ $t('kycLotterySubtitle') }}</div> -->
</div>
<!-- <video autoplay loop muted playsinline class="home_logo"> -->
<!-- <source src="@/assets/video/home_1.mp4" type="video/mp4"> -->
@@ -261,6 +261,13 @@
{ key: 14, name: t('客服'), icon: new URL('@/assets/imgs/new/index-function3.png', import.meta.url), path: '/customerService' },
]
+// 交易区列表:外汇、股票、ETF(均带图标)
+const tradingList = [
+ { name: t('外汇'), icon: new URL('@/assets/theme/dark/image/nav/trade.png', import.meta.url), path: '/foreign/coinChart?symbol=USDSGD' },
+ { name: t('股票'), icon: new URL('@/assets/theme/dark/image/nav/trade.png', import.meta.url), path: '/quotes/openTrade?tabActive=0&symbol=AAPL&type=US-stocks' },
+ { name: t('ETF'), icon: new URL('@/assets/theme/dark/image/nav/contract.png', import.meta.url), path: '/quotes/openTrade?tabActive=0&symbol=GlobalETF500&type=indices' },
+]
+
// 轮播图:使用本地两张图片(swiper_1、swiper_2 放在 src/assets/imgs/new/ 下)
const bannerImages = [
{ img: new URL('@/assets/imgs/new/swiper_1.png', import.meta.url).href, alt: 'Banner 1' },
--
Gitblit v1.9.3