新币+dapp app 前端
dcc
2024-05-07 826f9b002701f2dbe42839dadab1af0cc2df8a6e
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>