From 826f9b002701f2dbe42839dadab1af0cc2df8a6e Mon Sep 17 00:00:00 2001
From: dcc <dcc@163.com>
Date: Tue, 07 May 2024 18:56:21 +0800
Subject: [PATCH] 首页根据原型图重新做了
---
src/components/footer/index.vue | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/src/components/footer/index.vue b/src/components/footer/index.vue
index bd4c1ac..24b0be7 100644
--- a/src/components/footer/index.vue
+++ b/src/components/footer/index.vue
@@ -1,8 +1,14 @@
<template>
<van-tabbar route v-model="active" active-color="#1D91FF" fixed inactive-color="#868D9A" safe-area-inset-bottom
class="bgFooter">
+ <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('首页') }}</span>
+ <span>{{ $t('首页1') }}</span>
<template #icon="props">
<img :src="props.active ? home.active : home.inactive" alt="home" />
</template>
--
Gitblit v1.9.3