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