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}
|
||||
//是否开启下拉刷新
|
||||
|
||||
@@ -169,7 +169,7 @@
|
||||
content: '您只有完成信息认证后,才可进行相关操作。',
|
||||
confirmText: '去认证'
|
||||
}).then(() => {
|
||||
this.$linkTo('../AppMine/userInfo')
|
||||
this.$linkTo('../AppMine/userInfo?isFromTabbar=1&path=/pages/AppCircle/AppCircle')
|
||||
}).catch(() => {
|
||||
})
|
||||
}
|
||||
|
||||
@@ -38,6 +38,7 @@ export default {
|
||||
name: 'AppHome',
|
||||
appName: "首页",
|
||||
customNavigation: true,
|
||||
navigationBarBackgroundColor: '#ffffff',
|
||||
navigationBarTextStyle: 'black',
|
||||
data() {
|
||||
return {
|
||||
|
||||
@@ -59,6 +59,7 @@ export default {
|
||||
name: "AppMine",
|
||||
appName: "我的",
|
||||
customNavigation: true,
|
||||
navigationBarBackgroundColor: '#ffffff',
|
||||
navigationBarTextStyle: 'black',
|
||||
computed: {
|
||||
...mapState(['user', 'token']),
|
||||
|
||||
Reference in New Issue
Block a user