李凌
2025-10-15 7fc6bfe900790ec7c92bce85d5b20a95fbc06e65
src/components/fx-footer/index.vue
@@ -32,7 +32,8 @@
      <van-tabbar-item name="btcusdt" to="/cryptos/trade/btcusdt">
        <span :class="[active === 'btcusdt' ? 'active' : '']">{{ $t('现货') }}</span>
        <template #icon="">
          <img src="@/assets/imgs/footer/f_4a.png" />
          <img v-if="active != 'btcusdt'" src="@/assets/imgs/footer/f_4a.png" />
          <img v-else src="@/assets/imgs/footer/f_4b.png" />
        </template>
      </van-tabbar-item>
@@ -111,6 +112,9 @@
} else if (route.path == "/documentation/index") {
  active.value = 'documentation'
}
else if (route.path == "/cryptos/trade/btcusdt") {
  active.value = 'btcusdt'
}
let quotesStore = useQuotesStore()
watch(() => route.path, (nv) => {
@@ -130,6 +134,8 @@
    active.value = 'assets'
  } else if (route.path == "/documentation/index") {
    active.value = 'documentation'
  }else if (route.path == "/cryptos/trade/btcusdt") {
    active.value = 'btcusdt'
  }
})
// 底部列表
@@ -217,4 +223,4 @@
    height: 20px;
  }
}
</style>
</style>