fix(浮动导航): 关键页面始终显示

This commit is contained in:
2025-12-31 17:18:39 +08:00
parent bec0a51d81
commit 3acd3870b6
2 changed files with 4 additions and 4 deletions

View File

@@ -66,8 +66,9 @@ export default {
this.kefuimg = this.$util.getDefaultImage().kefu
this.phoneimg = this.$util.getDefaultImage().phone
},
onShow() {
this.pageCount = getCurrentPages().length;
// 从店铺信息中获取相关信息
uni.getStorage({
key: 'shopInfo',
@@ -80,8 +81,7 @@ export default {
// 从店铺信息中获取是否启用语言切换
this.isLanguageSwitchEnabled = e.data.ischina;
}
})
})
},
computed: {
currentLangDisplayName() {

View File

@@ -136,7 +136,7 @@
</view>
</uni-popup>
</view>
<hover-nav></hover-nav>
<hover-nav :need="true"></hover-nav>
<!-- #ifdef MP-WEIXIN -->
<!-- 小程序隐私协议 -->
<privacy-popup ref="privacyPopup"></privacy-popup>