Commit cb604436 authored by youjie's avatar youjie

首页底部显示

parent 38b653e7
...@@ -1063,10 +1063,12 @@ ...@@ -1063,10 +1063,12 @@
res.data.mall.setting.mallStyle.pricecolor; res.data.mall.setting.mallStyle.pricecolor;
} }
this.indexPageData = res.data.home_pages.navs[0].template.data; this.indexPageData = res.data.home_pages.navs[0].template.data;
if(!res.data.home_pages.show_navs) { if(!res.data.home_pages.is_show_bottom_nav) {
this.showtabs = false; this.showtabs = false;
this.contentHeight = this.$utils.calcContentHeight(); }else {
this.showtabs = true;
} }
this.contentHeight = this.$utils.calcContentHeight();
this.myPageData = res.data; this.myPageData = res.data;
if (res.data.navbar.navs) { if (res.data.navbar.navs) {
uni.setStorageSync("navs", res.data.navbar.navs); uni.setStorageSync("navs", res.data.navbar.navs);
......
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