取消backgroundColor的抓值

This commit is contained in:
aixianling
2022-11-04 18:11:19 +08:00
parent 9bf7e55528
commit 27203bef6b

View File

@@ -22,10 +22,10 @@ class PageBase {
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')
} }
//下拉显示出来的窗口的背景色 // //下拉显示出来的窗口的背景色
if (/backgroundColor/.test(vue)) { // if (/backgroundColor/.test(vue)) {
this.style.backgroundColor = vue.replace(/[\s\S]*(backgroundColor:.+),[\s\S]*/gm, '$1') // this.style.backgroundColor = vue.replace(/[\s\S]*(backgroundColor:.+),[\s\S]*/gm, '$1')
} // }
} }
if (/appName/.test(vue)) { if (/appName/.test(vue)) {
let appName = vue.replace(/[\s\S]*(appName:.+),[\s\S]*/gm, '$1') let appName = vue.replace(/[\s\S]*(appName:.+),[\s\S]*/gm, '$1')