fix: WebView 顶栏按胶囊按钮计算安全区并统一暖色背景
传入 menuButton.bottom 作为 sbh,page 与 globalStyle 设置 backgroundColorTop 避免刘海黑条。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+10
-2
@@ -11,8 +11,13 @@
|
||||
"style": {
|
||||
"navigationBarTitleText": "",
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTextStyle": "black",
|
||||
"backgroundColor": "#ffd1c7",
|
||||
"backgroundColorTop": "#ffd1c7"
|
||||
"backgroundColorTop": "#ffd1c7",
|
||||
"mp-weixin": {
|
||||
"navigationStyle": "custom",
|
||||
"backgroundColorTop": "#ffd1c7"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -176,7 +181,10 @@
|
||||
// "navigationBarTitleText": "uni-app",
|
||||
// "navigationBarBackgroundColor": "#F8F8F8",
|
||||
// "backgroundColor": "#F8F8F8",
|
||||
"navigationStyle": "custom"
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTextStyle": "black",
|
||||
"backgroundColor": "#ffd1c7",
|
||||
"backgroundColorTop": "#ffd1c7"
|
||||
|
||||
},
|
||||
"uniIdRouter": {},
|
||||
|
||||
Reference in New Issue
Block a user