fix(浮动导航): 关键页面始终显示
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user