This commit is contained in:
yanran200730
2023-03-21 15:17:34 +08:00
parent 56c227ee78
commit b345e1bd13
4 changed files with 13 additions and 2 deletions

View File

@@ -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}
//是否开启下拉刷新

View File

@@ -169,7 +169,7 @@
content: '您只有完成信息认证后,才可进行相关操作。',
confirmText: '去认证'
}).then(() => {
this.$linkTo('../AppMine/userInfo')
this.$linkTo('../AppMine/userInfo?isFromTabbar=1&path=/pages/AppCircle/AppCircle')
}).catch(() => {
})
}

View File

@@ -38,6 +38,7 @@ export default {
name: 'AppHome',
appName: "首页",
customNavigation: true,
navigationBarBackgroundColor: '#ffffff',
navigationBarTextStyle: 'black',
data() {
return {

View File

@@ -59,6 +59,7 @@ export default {
name: "AppMine",
appName: "我的",
customNavigation: true,
navigationBarBackgroundColor: '#ffffff',
navigationBarTextStyle: 'black',
computed: {
...mapState(['user', 'token']),