From 6cd1d790d0a55b8f763de8d1d129cca2772393e4 Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Mon, 22 Dec 2025 18:37:14 +0800
Subject: [PATCH] 1
---
src/views/homePage/index.vue | 16 ++++++++++++----
1 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/src/views/homePage/index.vue b/src/views/homePage/index.vue
index dac0d58..4c024fb 100644
--- a/src/views/homePage/index.vue
+++ b/src/views/homePage/index.vue
@@ -33,7 +33,7 @@
</div>
<!-- 新闻 -->
- <!-- <van-notice-bar class="font-26 mt-10 index_notice" background="#fafbfc" :scrollable="false" wrapable
+ <van-notice-bar class="font-26 mt-10 index_notice" background="#333" :scrollable="false" wrapable
color="#333333">
<van-swipe vertical class="notice-swipe" :autoplay="2000" :show-indicators="false">
<van-swipe-item v-for="item in announceList" :key="item.id" @click="toAnnounceDetail(item.uuid)">
@@ -46,7 +46,7 @@
</div>
</van-swipe-item>
</van-swipe>
- </van-notice-bar> -->
+ </van-notice-bar>
<!-- <div class="flex justify-between mt-10">
<van-swipe class="home_swipe_1" :autoplay="2000">
@@ -125,7 +125,7 @@
// { key: 12, name: "C2C", icon: new URL('@/assets/imgs/home/home_1.png', import.meta.url), path: '/wantBuy' },
// { key: 13, name: t('质押'), icon: new URL('@/assets/imgs/home/home_1.png', import.meta.url), path: '' },
{ key: 14, name: t('onLineService'), icon: new URL('@/assets/imgs/home/home_10.png', import.meta.url), path: '/customerService' },
- { key: 15, name: t('DXCN白皮书'), icon: new URL('@/assets/imgs/home/home_1.png', import.meta.url), path: '/aboutUs?serviceTerm=28' },
+ { key: 15, name: 'DXCM PDF', icon: new URL('@/assets/imgs/home/home_1.png', import.meta.url), path: '' },
]
// 获取公告数据
@@ -228,6 +228,8 @@
</script>
<style lang="scss">
+@import '@/assets/theme/index.scss';
+
.home_page {
// background: $white;
min-height: 100vh;
@@ -253,8 +255,14 @@
}
.notice_content {
+ @include themify() {
+ color: themed("text_color");
+ }
+
&>div:first-child {
- color: $text_color1;
+ @include themify() {
+ color: themed("text_color1");
+ }
}
}
}
--
Gitblit v1.9.3