导航栏标题

This commit is contained in:
liuye
2021-12-24 14:17:10 +08:00
parent 4651151cd1
commit 50b4a98b2c
59 changed files with 59 additions and 65 deletions

View File

@@ -97,7 +97,7 @@ export default {
},
computed: { ...mapState(['user']) },
onLoad(o) {
uni.setNavigationBarTitle({ title: '发布活动' })
document.title = '发布活动'
this.id = o.id ? o.id : ''
this.$dict.load('realityStatus').then(() => {
this.areaId = this.user.areaId

View File

@@ -39,7 +39,7 @@ export default {
}
},
onLoad(o) {
uni.setNavigationBarTitle({ title: '发布动态' })
document.title = '发布动态'
this.id = o.id || ''
},
methods: {

View File

@@ -75,7 +75,7 @@ export default {
},
watch: {},
onLoad() {
uni.setNavigationBarTitle({ title: '居民活动' })
document.title = '居民活动'
this.$dict.load(['villageActivityStatus']).then(() => {
this.getList()
})

View File

@@ -135,7 +135,7 @@ export default {
}
},
onLoad(option) {
uni.setNavigationBarTitle({ title: '活动报名' })
document.title = '活动报名'
this.id = option.id
this.$dict.load(['villageActivityStatus']).then(() => {
this.getDetail()