分类页面内容高度样式计算优化
parent
9d0e64b721
commit
70473e2e82
|
|
@ -698,7 +698,7 @@
|
||||||
right_style = 'padding-bottom: calc(120rpx + '+bottom_style_value+'rpx);';
|
right_style = 'padding-bottom: calc(120rpx + '+bottom_style_value+'rpx);';
|
||||||
}
|
}
|
||||||
this.setData({
|
this.setData({
|
||||||
category_content_style: 'height:calc(100vh - ' + this.search_height+'px - ' + this.window_bottom_height+'px - ' + this.footer_height_value+'rpx' + ');',
|
category_content_style: 'height:calc(100vh - ' + (this.search_height + this.window_bottom_height + this.footer_height_value)+'px);',
|
||||||
left_content_actual_style: left_style,
|
left_content_actual_style: left_style,
|
||||||
right_content_actual_style: right_style,
|
right_content_actual_style: right_style,
|
||||||
botton_nav_style: 'bottom: calc(20rpx);',
|
botton_nav_style: 'bottom: calc(20rpx);',
|
||||||
|
|
@ -1369,7 +1369,7 @@
|
||||||
// 底部菜单高度
|
// 底部菜单高度
|
||||||
footer_height_value_event(value) {
|
footer_height_value_event(value) {
|
||||||
this.setData({
|
this.setData({
|
||||||
footer_height_value: parseInt(value)*2
|
footer_height_value: value
|
||||||
});
|
});
|
||||||
this.content_actual_size_handle();
|
this.content_actual_size_handle();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue