Commit d144bc6b by 李嘉林

沉浸式导航

parent a7506ca8
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<div v-if="showSpokesManHome"> <div v-if="showSpokesManHome">
<get-index-homepage class="getIndexHomePage"></get-index-homepage> <get-index-homepage class="getIndexHomePage"></get-index-homepage>
</div> </div>
<CustomNav :customBgOpacity="true"></CustomNav> <CustomNav :customBgOpacity="customBgOpacity"></CustomNav>
<StoreAddr @toUpdate="reloadEnterShopRule" @toPageLoading="toPageLoading" ref="StoreAddr"></StoreAddr> <StoreAddr @toUpdate="reloadEnterShopRule" @toPageLoading="toPageLoading" ref="StoreAddr"></StoreAddr>
<ThemeDataPlant></ThemeDataPlant> <ThemeDataPlant></ThemeDataPlant>
<div v-for="(item,index) in pageData" :key="index"> <div v-for="(item,index) in pageData" :key="index">
...@@ -227,6 +227,7 @@ export default { ...@@ -227,6 +227,7 @@ export default {
firstOpenPage: true, //首次打开页面 firstOpenPage: true, //首次打开页面
h5Params: {}, //params h5Params: {}, //params
fromPage: "", fromPage: "",
customBgOpacity: true, // 沉浸式风格
}; };
}, },
components:{ components:{
...@@ -712,6 +713,10 @@ export default { ...@@ -712,6 +713,10 @@ export default {
log.info(app.globalData.shopInfo,'app') log.info(app.globalData.shopInfo,'app')
wx.setNavigationBarTitle({title : app.globalData.shopInfo.shopName}) 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")) { if(wx.getStorageSync("sessionid")) {
//清空门店id //清空门店id
wx.setStorageSync(this.$store.state.mixid+'storeId','') 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