From f44adc772149345abc70295317e9c390f20d3777 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AF=85?= <1335909236@qq.com> Date: Tue, 12 Aug 2025 17:15:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A6=96=E9=A1=B5=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E5=AF=BC=E8=88=AA=E5=8C=BA=E7=9A=84=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/community/index/index.vue | 1 + packages/community/myCommunity/index.vue | 1 + pages/index/index.vue | 2 ++ 3 files changed, 4 insertions(+) diff --git a/packages/community/index/index.vue b/packages/community/index/index.vue index 534f6dbd..a24e039f 100644 --- a/packages/community/index/index.vue +++ b/packages/community/index/index.vue @@ -203,6 +203,7 @@ export default { console.log("🚀 ~ onLoad ~ res.rows:", res.rows) if (!uni.getStorageSync("changeCommData")) { uni.setStorageSync("changeCommData", { name: res.rows[0].name, id: res.rows[0].community_id }) + uni.setStorageSync("isShowNav", res.rows[0].room_owner_list[0].type) } this.communityList = res.rows; }); diff --git a/packages/community/myCommunity/index.vue b/packages/community/myCommunity/index.vue index a7c4e259..25a2ca37 100644 --- a/packages/community/myCommunity/index.vue +++ b/packages/community/myCommunity/index.vue @@ -79,6 +79,7 @@ export default { this.currentCommunity = e uni.setStorageSync('changeCommData', { id: e.community_id, name: e.name }); uni.setStorageSync('currentCommunityAddr',e.addr); + uni.setStorageSync("isShowNav", e.room_owner_list[0].type) NavgateTo("1") }, }, diff --git a/pages/index/index.vue b/pages/index/index.vue index c548bfc5..9ae1cda5 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1001,6 +1001,8 @@ export default { this.localHeight = meun.height; this.showSearch() this.getSearchVal() + this.showNav = uni.getStorageSync("isShowNav") == 1 + }, onShow() {