提交个人中心内容修改,首页名称展示
This commit is contained in:
@ -1,10 +1,19 @@
|
||||
|
||||
.wrap {
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
|
||||
.logo {
|
||||
.EnglishFont{
|
||||
font-size: 50rpx;
|
||||
font-weight: 600;
|
||||
margin-top: 230rpx;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
.EnglishFont {
|
||||
font-size: 36rpx;
|
||||
font-weight: 600;
|
||||
|
||||
@ -3,14 +3,16 @@
|
||||
<!-- 首页背景图片 -->
|
||||
<!-- <image src="/static/aidex/login/login-bg.png" class="logo"></image> -->
|
||||
<view class="logo">
|
||||
|
||||
<view class="EnglishFont">
|
||||
STORASMART
|
||||
</view>
|
||||
</view>
|
||||
<image src="/static/aidex/login/bg-logo2.png" class="center-logo"></image>
|
||||
|
||||
<!--首页用户密码输入框 -->
|
||||
|
||||
<view class="EnglishFont">
|
||||
Welcome to Hoenergy!
|
||||
Welcome to Zetatech!
|
||||
</view>
|
||||
|
||||
<u-select v-model="langShow" :list="Langlist" @confirm="changeLanguage"></u-select>
|
||||
@ -187,11 +189,13 @@ export default {
|
||||
// this.$u.vuex("vuex_stationValue", val);
|
||||
if (val === '海外站' || val === 'Overseas Station') {
|
||||
this.$u.http.setConfig({
|
||||
baseUrl: 'http://47.84.35.144:8000/api'
|
||||
// baseUrl: 'https://ecloud.hoenergypower.cn/api'
|
||||
baseUrl: 'https://zzkj-cloud.com/api'
|
||||
});
|
||||
} else if (val === '中国站' || val === 'China Station') {
|
||||
this.$u.http.setConfig({
|
||||
baseUrl: 'https://ecloud.hoenergypower.cn/api'
|
||||
// baseUrl: 'https://ecloud.hoenergypower.cn/api'
|
||||
baseUrl: 'https://zzkj-cloud.com/api'
|
||||
});
|
||||
}
|
||||
const res = await this.$u.api.GetLanguageConfig('zh')
|
||||
@ -215,7 +219,7 @@ export default {
|
||||
encryptData.key
|
||||
)
|
||||
const params = {
|
||||
username: 'hzdemo',
|
||||
username: 'zzdemo',
|
||||
password: encryptData.password,
|
||||
type: "app",
|
||||
aesKey: publicData.keyData,
|
||||
|
||||
@ -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