From ceca4e5956b954ee5dd39eb90a58341b0e6138e1 Mon Sep 17 00:00:00 2001 From: ZF sun <34314687@qq.com> Date: Fri, 23 Jan 2026 11:36:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9C=A8=E5=A4=9A=E4=B8=AA=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=B7=BB=E5=8A=A0=E9=9A=90=E8=97=8F=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 为统一处理首页按钮显示逻辑,在会员页、联系页和商品分类页的onShow生命周期中添加了hideHomeButton调用 --- pages_goods/category.vue | 1 + pages_tool/contact/contact.vue | 3 +++ pages_tool/member/index.vue | 3 +++ 3 files changed, 7 insertions(+) diff --git a/pages_goods/category.vue b/pages_goods/category.vue index 9edb1b9..a863f67 100644 --- a/pages_goods/category.vue +++ b/pages_goods/category.vue @@ -38,6 +38,7 @@ export default { }, onShow() { if (this.$refs.category) this.$refs.category[0].pageShow(); + this.$util.hideHomeButton(); }, onUnload() { if (!this.storeToken && this.$refs.login) this.$refs.login.cancelCompleteInfo(); diff --git a/pages_tool/contact/contact.vue b/pages_tool/contact/contact.vue index 08ece5a..bda2223 100644 --- a/pages_tool/contact/contact.vue +++ b/pages_tool/contact/contact.vue @@ -301,6 +301,9 @@ export default { fail: res => { } }); }, + onShow() { + this.$util.hideHomeButton(); + }, methods: { // 分享文件 shareFile(file) { diff --git a/pages_tool/member/index.vue b/pages_tool/member/index.vue index 499ee06..2259642 100644 --- a/pages_tool/member/index.vue +++ b/pages_tool/member/index.vue @@ -86,6 +86,9 @@ export default { nsNewGift }, mixins: [diyJs, indexJs], + onShow() { + this.$util.hideHomeButton(); + }, methods: { tourl(url) {