| | |
| | | </div> |
| | | </div> --> |
| | | <div class="btn_buy" @click="gdOrSetBuy()"> |
| | | <!-- <div :class="tabsCurrentIndex == 0 ? 'maichu' : ''">#c4d600 --> |
| | | <div class="maichu" style="background-color:#c4d600"> |
| | | <!-- <div :class="tabsCurrentIndex == 0 ? 'maichu' : ''">#00f0ff --> |
| | | <div class="maichu" style="background-color:#00f0ff"> |
| | | <span>{{ tabsCurrentIndex == 0 ? $t("hj84") : $t("gm") }}</span> |
| | | </div> |
| | | </div> |
| | |
| | | } |
| | | } |
| | | }, |
| | | // 路由守卫 - 离开页面时清除 alert |
| | | beforeRouteLeave(to, from, next) { |
| | | // 如果 alert 正在显示,清除它 |
| | | if (this.$store.state.elAlertShow) { |
| | | this.$store.commit("elAlertShow", { |
| | | elAlertShow: false |
| | | }); |
| | | } |
| | | next(); |
| | | }, |
| | | methods: { |
| | | async queryStockConfig() { |
| | | let data = await api.queryStockConfig(); |