英/法/德/西/阿/波语言配置

This commit is contained in:
huangjp
2026-01-30 09:35:52 +08:00
parent a46c4d23bf
commit 4c3039ade7
25 changed files with 4181 additions and 1156 deletions

View File

@ -105,7 +105,7 @@ export default {
flex-direction: column;
align-items: center;
width: 199rpx;
height: 110rpx;
// height: 110rpx;
justify-content: center;
padding: 10rpx;
background: #d7e9e548;
@ -143,9 +143,9 @@ export default {
.title {
padding-left: 10rpx;
width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis; //文本超出省略号替
// white-space: nowrap;
// overflow: hidden;
// text-overflow: ellipsis; //文本超出省略号替
color: #2a2a2a;
}
}

View File

@ -105,7 +105,7 @@ export default {
flex-direction: column;
align-items: center;
width: 199rpx;
height: 110rpx;
// height: 110rpx;
justify-content: center;
padding: 10rpx;
background: rgba(254, 131, 15, 0.05);
@ -143,9 +143,9 @@ export default {
.title {
padding-left: 10rpx;
width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis; //文本超出省略号替
// white-space: nowrap;
// overflow: hidden;
// text-overflow: ellipsis; //文本超出省略号替
color: #2a2a2a;
}
}

View File

@ -35,9 +35,10 @@
<view class="box">
<Section :title="$t('homePage.home.stationTopo')" />
<zero-loading v-if="loading"></zero-loading>
<!-- 加载中占位可选 -->
<view v-else class="loading-tip">
<zero-loading v-if="tuopoloading"></zero-loading>
<!-- <zero-loading v-if="tuopoloading"></zero-loading> -->
<cixi v-if="topologyType === 0" ref="tuopu" />
<kejiyuan v-else-if="topologyType === 2" ref="tuopu" />
<lingchao v-else-if="topologyType === 3" ref="tuopu" />
@ -52,9 +53,10 @@
<runda215 v-else-if="topologyType === 12" ref="tuopu" />
<third v-else-if="topologyType === 13" ref="tuopu" />
<mdPviese v-else-if="topologyType === 14" ref="tuopu" />
<pv2first v-else-if="topologyType === 1 && inverterFlag === 1 && pvTopologyType === 2" ref="tuopu" />
<pv2first v-else-if="topologyType === 1 && inverterFlag === 1 && pvTopologyType === 3" ref="tuopu" />
<standard v-else ref="tuopu" />
</view>
</view>
<view v-if="topologyType === 9" class="box">
<Section :title="$t('homePage.home.deviceMonitor')" />
<devicemonitoring ref="deviceFire" />
@ -205,7 +207,9 @@
tuopoloading:false,
topCenterPvArr:[
{name:'pv1AndStorage_261',value:1},
{name:'pv2AndStorage_261',value:2}
{name:'pv1AndStorage_sts_261',value:2},
{name:'pv2AndStorage_261',value:3},
{name:'pv2AndStorage_sts_261',value:4}
],
pvTopologyType:0,
society: [{

View File

@ -103,6 +103,26 @@
{
value: 'en_US',
label: 'English'
},
{
value: 'fr_FR',
label: 'French'
},
{
value: 'es_ES',
label: 'Spanish'
},
{
value: 'ar_EG',
label: 'Arabic'
},
{
value: 'de_DE',
label: 'German'
},
{
value: 'pl_PL',
label: 'Polish'
}
],
};