修改定位显示问题

master
于肖磊 2024-11-29 18:27:06 +08:00
parent 74c6ec651a
commit 54414173d8
1 changed files with 2 additions and 1 deletions

View File

@ -297,7 +297,8 @@
border += `border-${location_border_direction}: ${location_border_size}px solid ${location_border_color};`;
}
}
return background_computer(style) + padding_computer(location_padding) + border;
const height = 32 - new_style.location_margin.margin_top - new_style.location_margin.margin_bottom;
return background_computer(style) + padding_computer(location_padding) + border + `height: ${ height * 2}rpx;line-height: ${height * 2}rpx;`;
},
//
get_nav_height() {