提交个人中心内容修改,首页名称展示

This commit is contained in:
2025-07-11 16:57:09 +08:00
parent 758e59eeac
commit 1a73daa961
13 changed files with 142 additions and 87 deletions

View File

@ -31,6 +31,12 @@ export default {
upgrade: true
};
},
onLoad() {
this.updateTitle()
},
onShow() {
this.updateTitle()
},
computed: {
language(){
return this.vuex_language
@ -49,6 +55,12 @@ export default {
},
methods: {
updateTitle() {
uni.setNavigationBarTitle({
title: this.$t('homePage.mine.general')
});
},
openSettings() {
// #ifdef APP-PLUS
uni.getSystemInfo({

View File

@ -39,6 +39,9 @@
timer: null
}
},
onLoad() {
this.updateTitle()
},
computed: {
language(){
return this.vuex_language
@ -79,6 +82,7 @@
},
},
onShow() {
this.updateTitle();
this.timer = setInterval(() => {
this.getMessage()
}, 3000)
@ -89,6 +93,11 @@
}
},
methods: {
updateTitle() {
uni.setNavigationBarTitle({
title: this.$t('homePage.mine.messageAlerts')
});
},
confirm() {
if (this.formModel.readStatus === 0) {
this.$u.api.UpdateMessageStatus({

View File

@ -84,6 +84,12 @@ export default {
},
};
},
onLoad() {
this.updateTitle()
},
onShow() {
this.updateTitle()
},
computed: {
language(){
return this.vuex_language
@ -104,6 +110,11 @@ export default {
this.$refs.uForm.setRules(this.rules);
},
methods: {
updateTitle() {
uni.setNavigationBarTitle({
title: this.$t('homePage.mine.accountSec')
});
},
submit() {
const self = this
this.$refs.uForm.validate((valid) => {

View File

@ -30,6 +30,12 @@ export default {
versionCode: null,
};
},
onLoad() {
this.updateTitle()
},
onShow() {
this.updateTitle()
},
computed:{
language(){
return this.vuex_language
@ -58,10 +64,15 @@ export default {
});
}
uni.navigateTo({
uni.navigateTo({
url: url,
});
},
updateTitle() {
uni.setNavigationBarTitle({
title: this.$t('homePage.mine.sysSetting')
});
},
openSettings() {
// #ifdef APP-PLUS
uni.getSystemInfo({