| | |
| | | <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> |
| | | |
| | |
| | | } 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) => { |
| | |
| | | active.value = 'assets' |
| | | } else if (route.path == "/documentation/index") { |
| | | active.value = 'documentation' |
| | | }else if (route.path == "/cryptos/trade/btcusdt") { |
| | | active.value = 'btcusdt' |
| | | } |
| | | }) |
| | | // 底部列表 |
| | |
| | | height: 20px; |
| | | } |
| | | } |
| | | </style> |
| | | </style> |