From 43864f8fa8f020ba4f9e94e91fc30ac83b3c4278 Mon Sep 17 00:00:00 2001 From: chenhao Date: Fri, 29 May 2026 11:31:26 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=AF=E5=88=86=E5=95=86=E5=9F=8E=E5=BC=80?= =?UTF-8?q?=E6=94=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Index.vue | 22 +++++++++++----------- src/views/Tabbars/PointMall.vue | 6 +++--- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/views/Index.vue b/src/views/Index.vue index c2f10ec..7e0bf62 100644 --- a/src/views/Index.vue +++ b/src/views/Index.vue @@ -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 }) diff --git a/src/views/Tabbars/PointMall.vue b/src/views/Tabbars/PointMall.vue index 4924158..7885466 100644 --- a/src/views/Tabbars/PointMall.vue +++ b/src/views/Tabbars/PointMall.vue @@ -14,9 +14,8 @@
- + @@ -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;