fix(浮动导航): 关键页面始终显示
This commit is contained in:
@@ -66,8 +66,9 @@ export default {
|
|||||||
|
|
||||||
this.kefuimg = this.$util.getDefaultImage().kefu
|
this.kefuimg = this.$util.getDefaultImage().kefu
|
||||||
this.phoneimg = this.$util.getDefaultImage().phone
|
this.phoneimg = this.$util.getDefaultImage().phone
|
||||||
|
},
|
||||||
|
onShow() {
|
||||||
this.pageCount = getCurrentPages().length;
|
this.pageCount = getCurrentPages().length;
|
||||||
|
|
||||||
// 从店铺信息中获取相关信息
|
// 从店铺信息中获取相关信息
|
||||||
uni.getStorage({
|
uni.getStorage({
|
||||||
key: 'shopInfo',
|
key: 'shopInfo',
|
||||||
@@ -81,7 +82,6 @@ export default {
|
|||||||
this.isLanguageSwitchEnabled = e.data.ischina;
|
this.isLanguageSwitchEnabled = e.data.ischina;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
currentLangDisplayName() {
|
currentLangDisplayName() {
|
||||||
|
|||||||
@@ -136,7 +136,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</uni-popup>
|
</uni-popup>
|
||||||
</view>
|
</view>
|
||||||
<hover-nav></hover-nav>
|
<hover-nav :need="true"></hover-nav>
|
||||||
<!-- #ifdef MP-WEIXIN -->
|
<!-- #ifdef MP-WEIXIN -->
|
||||||
<!-- 小程序隐私协议 -->
|
<!-- 小程序隐私协议 -->
|
||||||
<privacy-popup ref="privacyPopup"></privacy-popup>
|
<privacy-popup ref="privacyPopup"></privacy-popup>
|
||||||
|
|||||||
Reference in New Issue
Block a user