底部菜单间距优化
parent
4f2d333d3a
commit
970dbbcf65
|
|
@ -105,7 +105,6 @@
|
||||||
style_img_container: common_img_computer(new_style.common_style, this.propIndex),
|
style_img_container: common_img_computer(new_style.common_style, this.propIndex),
|
||||||
div_height: new_form.height,
|
div_height: new_form.height,
|
||||||
});
|
});
|
||||||
console.log(this.propIndex);
|
|
||||||
},
|
},
|
||||||
url_event(e) {
|
url_event(e) {
|
||||||
app.globalData.url_event(e);
|
app.globalData.url_event(e);
|
||||||
|
|
|
||||||
|
|
@ -214,7 +214,7 @@
|
||||||
diy_data: [],
|
diy_data: [],
|
||||||
page_style: '',
|
page_style: '',
|
||||||
page_img_style: '',
|
page_img_style: '',
|
||||||
is_show_footer: 0,
|
is_show_footer: false,
|
||||||
tabs_home_id: this.propDataId,
|
tabs_home_id: this.propDataId,
|
||||||
// 商品列表
|
// 商品列表
|
||||||
goods_list: [],
|
goods_list: [],
|
||||||
|
|
@ -266,10 +266,10 @@
|
||||||
init_config(status) {
|
init_config(status) {
|
||||||
if ((status || false) == true) {
|
if ((status || false) == true) {
|
||||||
// 是否显示底部菜单,如果当前地址已经存在系统底部菜单中则不显示当前diy页面自定义的底部菜单
|
// 是否显示底部菜单,如果当前地址已经存在系统底部菜单中则不显示当前diy页面自定义的底部菜单
|
||||||
var is_show_footer = parseInt(this.propValue.header.com_data.content.bottom_navigation_show || 0) == 1;
|
var is_show_footer = parseInt(app.globalData.get_key_data(this.propValue, 'header.com_data.content.bottom_navigation_show', 0)) == 1;
|
||||||
var is_tabbar = app.globalData.is_tabbar_pages();
|
var is_tabbar = app.globalData.is_tabbar_pages();
|
||||||
this.setData({
|
this.setData({
|
||||||
is_show_footer: is_show_footer && !is_tabbar,
|
is_show_footer: (is_show_footer && !is_tabbar) || is_tabbar,
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
app.globalData.is_config(this, 'init_config');
|
app.globalData.is_config(this, 'init_config');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue