积分商城开放

This commit is contained in:
chenhao 2026-05-29 11:31:26 +08:00
parent 7fb0266abe
commit 43864f8fa8
2 changed files with 14 additions and 14 deletions

View File

@ -67,20 +67,20 @@ export default {
methods: {
updateActive() {
const routeName = this.$route.name
if (routeName === 'PointMall') {
return
}
// if (routeName === 'PointMall') {
// return
// }
const tabbar = this.Tabbars.find(item => item.Name === routeName)
if (tabbar) {
this.DefaultActive = tabbar.Name
}
},
changeActive(name) {
if (name === 'PointMall') {
this.$showToast('暂未开放');
this.DefaultActive = this.$route.name; //
return
}
// if (name === 'PointMall') {
// this.$showToast('');
// this.DefaultActive = this.$route.name; //
// return
// }
this.$router.push({ name })
},
@ -88,9 +88,9 @@ export default {
return item.Badge || ''
},
onTabClick(name) {
if (name === 'PointMall') {
return
}
// if (name === 'PointMall') {
// return
// }
if (this.$route.name === name) {
//
// this.$router.replace({ name })

View File

@ -14,9 +14,8 @@
<div class="contaiar">
<div class="tabs">
<van-tabs style="max-width: 90%;" background="transparent" line-height="0.8vw" line-width="9.33vw;"
v-model:active="active" :ellipsis="false" color="#ca2904" title-active-color="#ca2904"
title-inactive-color="#4e4e4e">
<van-tabs background="transparent" line-height="0.8vw" line-width="9.33vw" v-model:active="active"
:ellipsis="false" color="#ca2904" title-active-color="#ca2904" title-inactive-color="#4e4e4e">
<van-tab title="全部" name=""></van-tab>
<van-tab v-for="i in tabs" :name="i.id" :title="i.name"></van-tab>
</van-tabs>
@ -151,6 +150,7 @@ export default {
display: flex;
align-items: center;
justify-content: center;
padding: 0 3.33vw;
/* padding: 0 8vw 0 0; */
margin-top: 4vw;
position: relative;