bug
This commit is contained in:
@@ -11,7 +11,16 @@ class PageBase {
|
||||
this.label = appName.replace(/(appName:|["'])/g, '')?.trim()
|
||||
}
|
||||
if (/customNavigation/.test(vue)) {
|
||||
this.style = {navigationStyle: "custom"}
|
||||
this.style = {
|
||||
navigationStyle: "custom",
|
||||
}
|
||||
if (/navigationBarTextStyle/.test(vue)) {
|
||||
this.style.navigationBarTextStyle = vue.replace(/[\s\S]*navigationBarTextStyle:([^,]+),[\s\S]*/gm, '$1').replace(/["']/g, '')?.trim()
|
||||
}
|
||||
//导航栏背景颜色(同状态栏背景色)
|
||||
if (/navigationBarBackgroundColor/.test(vue)) {
|
||||
this.style.navigationBarBackgroundColor = vue.replace(/[\s\S]*navigationBarBackgroundColor:([^,]+),[\s\S]*/gm, '$1').replace(/["']/g, '')?.trim()
|
||||
}
|
||||
} else {
|
||||
this.style = {navigationBarTitleText: this.label}
|
||||
//是否开启下拉刷新
|
||||
|
||||
Reference in New Issue
Block a user