修改安全距离高度

master
于肖磊 2024-11-08 18:04:23 +08:00
parent 72a7a06b7a
commit 371f4fe7e6
2 changed files with 6 additions and 6 deletions

View File

@ -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);`;
}

View File

@ -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,