Commit d144bc6b by 李嘉林

沉浸式导航

parent a7506ca8
......@@ -6,7 +6,7 @@
<div v-if="showSpokesManHome">
<get-index-homepage class="getIndexHomePage"></get-index-homepage>
</div>
<CustomNav :customBgOpacity="true"></CustomNav>
<CustomNav :customBgOpacity="customBgOpacity"></CustomNav>
<StoreAddr @toUpdate="reloadEnterShopRule" @toPageLoading="toPageLoading" ref="StoreAddr"></StoreAddr>
<ThemeDataPlant></ThemeDataPlant>
<div v-for="(item,index) in pageData" :key="index">
......@@ -227,6 +227,7 @@ export default {
firstOpenPage: true, //首次打开页面
h5Params: {}, //params
fromPage: "",
customBgOpacity: true, // 沉浸式风格
};
},
components:{
......@@ -712,6 +713,10 @@ export default {
log.info(app.globalData.shopInfo,'app')
wx.setNavigationBarTitle({title : app.globalData.shopInfo.shopName})
if(this.pageInfo.pageSettingData&&JSON.parse(this.pageInfo.pageSettingData).topNavStyleType) {
this.customBgOpacity = JSON.parse(this.pageInfo.pageSettingData).topNavStyleType;
}
console.log(this.pageInfo.pageSettingData,'-this.pageInfo.pageSettingData')
if(wx.getStorageSync("sessionid")) {
//清空门店id
wx.setStorageSync(this.$store.state.mixid+'storeId','')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment