fix: resolve header overlap on Dynamic Island iPhones
- app.js 通过 wx.getSystemInfoSync 获取 statusBarHeight 存入 globalData
- 所有12个自定义导航页面的 JS 读取 statusBarHeight
- WXML 通过 style="padding-top: {{statusBarHeight + 24}}px" 动态适配
- 普通手机和灵动岛手机都能正确显示
这个提交包含在:
+1
-1
@@ -6,7 +6,7 @@ page {
|
||||
}
|
||||
|
||||
.page-header {
|
||||
padding: 80rpx 40rpx 32rpx;
|
||||
padding: 0 40rpx 32rpx;
|
||||
text-align: center;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
在新工单中引用
屏蔽一个用户