From cf1a7b806caf347f6b1c1b8d379936bfa3a42dd2 Mon Sep 17 00:00:00 2001
From: dcc <dcc@163.com>
Date: Tue, 14 May 2024 10:26:07 +0800
Subject: [PATCH] 隐藏etc 去掉着头顶两个标志 去掉着两个图标
---
src/components/footer/index.vue | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/src/components/footer/index.vue b/src/components/footer/index.vue
index bd4c1ac..6603281 100644
--- a/src/components/footer/index.vue
+++ b/src/components/footer/index.vue
@@ -1,12 +1,18 @@
<template>
<van-tabbar route v-model="active" active-color="#1D91FF" fixed inactive-color="#868D9A" safe-area-inset-bottom
class="bgFooter">
- <van-tabbar-item name="home" to="/home">
- <span>{{ $t('首页') }}</span>
+ <van-tabbar-item name="index" to="/index">
+ <span>{{ $t('首页') }}</span>
+ <template #icon="props">
+ <img :src="props.active ? home.active : home.inactive" alt="index" />
+ </template>
+ </van-tabbar-item>
+<!-- <van-tabbar-item name="home" to="/home">
+ <span>{{ $t('首页1') }}</span>
<template #icon="props">
<img :src="props.active ? home.active : home.inactive" alt="home" />
</template>
- </van-tabbar-item>
+ </van-tabbar-item>-->
<van-tabbar-item name="quotes" :to="{ name: 'Quotes', query: { active: 2 } }">
<span>{{ $t('市场') }}</span>
<template #icon="props">
--
Gitblit v1.9.3