底部菜单间距优化

master
gongfuxiang 2024-10-19 19:13:21 +08:00
parent 4f2d333d3a
commit 970dbbcf65
2 changed files with 3 additions and 4 deletions

View File

@ -105,7 +105,6 @@
style_img_container: common_img_computer(new_style.common_style, this.propIndex),
div_height: new_form.height,
});
console.log(this.propIndex);
},
url_event(e) {
app.globalData.url_event(e);

View File

@ -214,7 +214,7 @@
diy_data: [],
page_style: '',
page_img_style: '',
is_show_footer: 0,
is_show_footer: false,
tabs_home_id: this.propDataId,
//
goods_list: [],
@ -266,10 +266,10 @@
init_config(status) {
if ((status || false) == true) {
// 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();
this.setData({
is_show_footer: is_show_footer && !is_tabbar,
is_show_footer: (is_show_footer && !is_tabbar) || is_tabbar,
});
} else {
app.globalData.is_config(this, 'init_config');