提交个人中心内容修改,首页名称展示
This commit is contained in:
@ -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({
|
||||
|
||||
@ -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({
|
||||
|
||||
@ -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) => {
|
||||
|
||||
@ -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({
|
||||
|
||||
Reference in New Issue
Block a user