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

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

@ -1,38 +1,38 @@
{
"version": "1",
"prompt": "template",
"title": "服务协议和隐私政策",
"message": "  请你务必审慎阅读、充分理解“服务协议”和“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。<br/>  你可阅读<a href=\"https://ecloud.hoenergypower.cn/app-privacy-zh.html\">《服务协议》</a>和<a href=\"https://ecloud.hoenergypower.cn/app-privacy-zh.html\">《隐私政策》</a>了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。",
"buttonAccept": "同意并接受",
"buttonRefuse": "暂不同意",
"hrefLoader": "system",
"backToExit": "false",
"second": {
"title": "确认提示",
"message": "  进入应用前,你需先同意<a href=\"https://ecloud.hoenergypower.cn/app-privacy-zh.html\">《服务协议》</a>和<a href=\"https://ecloud.hoenergypower.cn/app-privacy-zh.html\">《隐私政策》</a>,否则将退出应用。",
"buttonAccept": "同意并继续",
"buttonRefuse": "退出应用"
"version" : "1",
"prompt" : "template",
"title" : "服务协议和隐私政策",
"message" : "  请你务必审慎阅读、充分理解“服务协议”和“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。<br/>  你可阅读<a href=\"https://ecloud.hoenergypower.cn/app-privacy-zh.html\">《服务协议》</a>和<a href=\"https://ecloud.hoenergypower.cn/app-privacy-zh.html\">《隐私政策》</a>了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。",
"buttonAccept" : "同意并接受",
"buttonRefuse" : "暂不同意",
"hrefLoader" : "system",
"backToExit" : "false",
"second" : {
"title" : "确认提示",
"message" : "  进入应用前,你需先同意<a href=\"https://ecloud.hoenergypower.cn/app-privacy-zh.html\">《服务协议》</a>和<a href=\"https://ecloud.hoenergypower.cn/app-privacy-zh.html\">《隐私政策》</a>,否则将退出应用。",
"buttonAccept" : "同意并继续",
"buttonRefuse" : "退出应用"
},
"disagreeMode": {
"support": false,
"loadNativePlugins": false,
"visitorEntry": false,
"showAlways": false
"disagreeMode" : {
"support" : false,
"loadNativePlugins" : false,
"visitorEntry" : false,
"showAlways" : false
},
"styles": {
"backgroundColor": "#fff",
"borderRadius": "5px",
"title": {
"color": "#000000"
"styles" : {
"backgroundColor" : "#fff",
"borderRadius" : "5px",
"title" : {
"color" : "#000000"
},
"buttonAccept": {
"color": "#009458"
"buttonAccept" : {
"color" : "#009458"
},
"buttonRefuse": {
"color": "#999999"
"buttonRefuse" : {
"color" : "#999999"
},
"buttonVisitor": {
"color": "#999999"
"buttonVisitor" : {
"color" : "#999999"
}
}
}

View File

@ -2,10 +2,10 @@
const config = {
// 产品名称
productName: 'Hoenery',
productName: 'Zetatech',
// 公司名称
companyName: 'Hoenery',
companyName: 'Zetatech',
// 产品版本号
productVersion: 'V1.0.0',
@ -22,6 +22,5 @@ const config = {
}
// 设置后台接口服务的基础地址
config.baseUrl = "https://ecloud.hoenergypower.cn/api"
config.baseUrl = "https://zzkj-cloud.com/api"
export default config

View File

@ -1,7 +1,7 @@
{
"name" : "弘正储能",
"appid" : "__UNI__6826034",
"description" : "Hoenergy",
"name" : "StoraSmart",
"appid" : "__UNI__86592F3",
"description" : "Zetatech",
"versionName" : "2.0.0",
"versionCode" : 200,
"transformPx" : false,
@ -50,33 +50,33 @@
},
"icons" : {
"android" : {
"hdpi" : "unpackage/res/icons/72x72.png",
"xhdpi" : "unpackage/res/icons/96x96.png",
"xxhdpi" : "unpackage/res/icons/144x144.png",
"xxxhdpi" : "unpackage/res/icons/192x192.png"
"hdpi" : "C:/Users/46254/Desktop/mipmap-hdpi/组 7 拷贝 4.png",
"xhdpi" : "C:/Users/46254/Desktop/mipmap-xhdpi/组 7 拷贝 4.png",
"xxhdpi" : "C:/Users/46254/Desktop/mipmap-xxhdpi/组 7 拷贝 4.png",
"xxxhdpi" : "C:/Users/46254/Desktop/mipmap-xxxhdpi/组 7 拷贝 4.png"
},
"ios" : {
"appstore" : "unpackage/res/icons/1024x1024.png",
"appstore" : "C:/Users/46254/Desktop/mipmap-xhdpi/组 7 拷贝.png",
"ipad" : {
"app" : "unpackage/res/icons/76x76.png",
"app@2x" : "unpackage/res/icons/152x152.png",
"notification" : "unpackage/res/icons/20x20.png",
"notification@2x" : "unpackage/res/icons/40x40.png",
"proapp@2x" : "unpackage/res/icons/167x167.png",
"settings" : "unpackage/res/icons/29x29.png",
"settings@2x" : "unpackage/res/icons/58x58.png",
"spotlight" : "unpackage/res/icons/40x40.png",
"spotlight@2x" : "unpackage/res/icons/80x80.png"
"app" : "C:/Users/46254/Desktop/mipmap-hdpi/组 7 拷贝 4.png",
"app@2x" : "C:/Users/46254/Desktop/mipmap-xhdpi/组 7 拷贝 3.png",
"notification" : "C:/Users/46254/Desktop/mipmap-mdpi/组 7 拷贝 11.png",
"notification@2x" : "C:/Users/46254/Desktop/mipmap-mdpi/组 7 拷贝 9.png",
"proapp@2x" : "C:/Users/46254/Desktop/mipmap-xxxhdpi/组 7 拷贝 9.png",
"settings" : "C:/Users/46254/Desktop/mipmap-mdpi/组 7 拷贝 10.png",
"settings@2x" : "C:/Users/46254/Desktop/mipmap-xhdpi/组 7 拷贝 10.png",
"spotlight" : "C:/Users/46254/Desktop/mipmap-mdpi/组 7 拷贝 9.png",
"spotlight@2x" : "C:/Users/46254/Desktop/mipmap-xxxhdpi/组 7 拷贝 11.png"
},
"iphone" : {
"app@2x" : "unpackage/res/icons/120x120.png",
"app@3x" : "unpackage/res/icons/180x180.png",
"notification@2x" : "unpackage/res/icons/40x40.png",
"notification@3x" : "unpackage/res/icons/60x60.png",
"settings@2x" : "unpackage/res/icons/58x58.png",
"settings@3x" : "unpackage/res/icons/87x87.png",
"spotlight@2x" : "unpackage/res/icons/80x80.png",
"spotlight@3x" : "unpackage/res/icons/120x120.png"
"app@2x" : "C:/Users/46254/Desktop/mipmap-xhdpi/组 7 拷贝 8.png",
"app@3x" : "C:/Users/46254/Desktop/mipmap-xxhdpi/组 7 拷贝 8.png",
"notification@2x" : "C:/Users/46254/Desktop/mipmap-xhdpi/组 7 拷贝 11.png",
"notification@3x" : "C:/Users/46254/Desktop/mipmap-xxhdpi/组 7 拷贝 11.png",
"settings@2x" : "C:/Users/46254/Desktop/mipmap-xhdpi/组 7 拷贝 10.png",
"settings@3x" : "C:/Users/46254/Desktop/mipmap-xxhdpi/组 7 拷贝 10.png",
"spotlight@2x" : "C:/Users/46254/Desktop/mipmap-xxxhdpi/组 7 拷贝 11.png",
"spotlight@3x" : "C:/Users/46254/Desktop/mipmap-xhdpi/组 7 拷贝 8.png"
}
}
},
@ -84,9 +84,9 @@
"androidStyle" : "default",
"androidTranslucent" : true,
"android" : {
"hdpi" : "C:/Users/Administrator/Desktop/res2/res2/drawable-hdpi/d00fdfa1ad04f98a7f655c8808770b5.9.png",
"xhdpi" : "C:/Users/Administrator/Desktop/res2/res2/drawable-xhdpi/d00fdfa1ad04f98a7f655c8808770b5.9.png",
"xxhdpi" : "C:/Users/Administrator/Desktop/res2/res2/drawable-xxhdpi/d00fdfa1ad04f98a7f655c8808770b5.9.png"
"hdpi" : "",
"xhdpi" : "",
"xxhdpi" : ""
},
"iosStyle" : "common",
"ios" : {

12
package-lock.json generated
View File

@ -1132,9 +1132,9 @@
}
},
"crypto-js": {
"version": "4.1.1",
"resolved": "https://registry.npmmirror.com/crypto-js/-/crypto-js-4.1.1.tgz",
"integrity": "sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw=="
"version": "4.2.0",
"resolved": "https://registry.npmmirror.com/crypto-js/-/crypto-js-4.2.0.tgz",
"integrity": "sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q=="
},
"cyclist": {
"version": "1.0.2",
@ -2016,9 +2016,9 @@
"dev": true
},
"jsencrypt": {
"version": "3.3.1",
"resolved": "https://registry.npmmirror.com/jsencrypt/-/jsencrypt-3.3.1.tgz",
"integrity": "sha512-dVvV54GdFuJgmEKn+oBiaifDMen4p6o6j/lJh0OVMcouME8sST0bJ7bldIgKBQk4za0zyGn0/pm4vOznR25mLw=="
"version": "3.3.2",
"resolved": "https://registry.npmmirror.com/jsencrypt/-/jsencrypt-3.3.2.tgz",
"integrity": "sha512-arQR1R1ESGdAxY7ZheWr12wCaF2yF47v5qpB76TtV64H1pyGudk9Hvw8Y9tb/FiTIaaTRUyaSnm5T/Y53Ghm/A=="
},
"json-parse-better-errors": {
"version": "1.0.2",

View File

@ -16,9 +16,9 @@
"homepage": "",
"dependencies": {
"@dcloudio/uni-helper-json": "^1.0.13",
"crypto-js": "^4.1.1",
"crypto-js": "^4.2.0",
"image-tools": "^1.4.0",
"jsencrypt": "^3.3.1"
"jsencrypt": "^3.3.2"
},
"devDependencies": {
"compression-webpack-plugin": "^6.1.1",

View File

@ -85,7 +85,7 @@
"style": {
"navigationBarTitleText": "系统设置",
"navigationBarBackgroundColor": "#0ea17e",
"navigationBarTextStyle": "white",
"navigationBarTextStyle": "black",
"enablePullDownRefresh": false,
"disableScroll": true
}
@ -95,7 +95,7 @@
"style": {
"navigationBarTitleText": "账号安全",
"navigationBarBackgroundColor": "#0ea17e",
"navigationBarTextStyle": "white",
"navigationBarTextStyle": "black",
"enablePullDownRefresh": false,
"disableScroll": true
}
@ -105,7 +105,7 @@
"style": {
"navigationBarTitleText": "关于我们",
"navigationBarBackgroundColor": "#0ea17e",
"navigationBarTextStyle": "white",
"navigationBarTextStyle": "black",
"enablePullDownRefresh": false,
"disableScroll": true
}
@ -115,7 +115,7 @@
"style": {
"navigationBarTitleText": "通用",
"navigationBarBackgroundColor": "#0ea17e",
"navigationBarTextStyle": "white",
"navigationBarTextStyle": "black",
"enablePullDownRefresh": false,
"disableScroll": true
}
@ -125,7 +125,7 @@
"style": {
"navigationBarTitleText": "消息通知",
"navigationBarBackgroundColor": "#0ea17e",
"navigationBarTextStyle": "white",
"navigationBarTextStyle": "black",
"enablePullDownRefresh": false,
"disableScroll": true
}

View File

@ -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;

View File

@ -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,

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
@ -62,6 +68,11 @@ export default {
url: url,
});
},
updateTitle() {
uni.setNavigationBarTitle({
title: this.$t('homePage.mine.sysSetting')
});
},
openSettings() {
// #ifdef APP-PLUS
uni.getSystemInfo({

View File

@ -85,7 +85,7 @@ const store = new Vuex.Store({
'name': 'My'
},
],
vuex_language:"zh_CN",
vuex_language:"en_US",
// 如果vuex_version无需保存到本地永久存储无需lifeData.vuex_version方式
vuex_config: config,
vuex_currentComponent:'Data'