底部菜单间距优化

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), 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);

View File

@ -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');