修改安全距离高度
parent
72a7a06b7a
commit
371f4fe7e6
|
|
@ -119,13 +119,13 @@ export function padding_computer(new_style, scale = 1, is_custom = false, index)
|
|||
// #endif
|
||||
let sticky_top = 0;
|
||||
// #ifdef MP
|
||||
sticky_top = bar_height + 5 + 12;
|
||||
sticky_top = bar_height + 5 + 10;
|
||||
// #endif
|
||||
// #ifdef H5 || MP-TOUTIAO
|
||||
sticky_top = bar_height + 7 + 12;
|
||||
sticky_top = bar_height + 7 + 10;
|
||||
// #endif
|
||||
// #ifdef APP
|
||||
sticky_top = bar_height + 0 + 12;
|
||||
sticky_top = bar_height + 0 + 10;
|
||||
// #endif
|
||||
padding_top = `padding-top:calc(${new_style.padding_top * 2 || 0}rpx + ${sticky_top}px);`;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -166,13 +166,13 @@
|
|||
// 顶部背景样式类别
|
||||
header_background_type: 'color_image',
|
||||
// #ifdef MP
|
||||
header_top: bar_height + 5 + 12 + 33,
|
||||
header_top: bar_height + 5 + 10 + 33,
|
||||
// #endif
|
||||
// #ifdef H5 || MP-TOUTIAO
|
||||
header_top: bar_height + 7 + 12 + 33,
|
||||
header_top: bar_height + 7 + 10 + 33,
|
||||
// #endif
|
||||
// #ifdef APP
|
||||
header_top: bar_height + 0 + 12 + 33,
|
||||
header_top: bar_height + 0 + 10 + 33,
|
||||
// #endif
|
||||
// 判断是否是沉浸模式
|
||||
is_immersion_model: false,
|
||||
|
|
|
|||
Loading…
Reference in New Issue