修复抓取数据
This commit is contained in:
@@ -20,11 +20,11 @@ class PageBase {
|
|||||||
}
|
}
|
||||||
//导航栏标题颜色及状态栏前景颜色,仅支持 black/white
|
//导航栏标题颜色及状态栏前景颜色,仅支持 black/white
|
||||||
if (/navigationBarTextStyle/.test(vue)) {
|
if (/navigationBarTextStyle/.test(vue)) {
|
||||||
this.style.navigationBarTextStyle = vue.replace(/[\s\S]*navigationBarTextStyle:([^,]+),[\s\S]*/gm, '$1')
|
this.style.navigationBarTextStyle = vue.replace(/[\s\S]*navigationBarTextStyle:([^,]+),[\s\S]*/gm, '$1').replace(/["']/g, '')?.trim()
|
||||||
}
|
}
|
||||||
//导航栏背景颜色(同状态栏背景色)
|
//导航栏背景颜色(同状态栏背景色)
|
||||||
if (/navigationBarBackgroundColor/.test(vue)) {
|
if (/navigationBarBackgroundColor/.test(vue)) {
|
||||||
this.style.navigationBarBackgroundColor = vue.replace(/[\s\S]*navigationBarBackgroundColor:([^,]+),[\s\S]*/gm, '$1')
|
this.style.navigationBarBackgroundColor = vue.replace(/[\s\S]*navigationBarBackgroundColor:([^,]+),[\s\S]*/gm, '$1').replace(/["']/g, '')?.trim()
|
||||||
}
|
}
|
||||||
// //下拉显示出来的窗口的背景色
|
// //下拉显示出来的窗口的背景色
|
||||||
// if (/backgroundColor/.test(vue)) {
|
// if (/backgroundColor/.test(vue)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user