光伏功能

This commit is contained in:
huangjp
2025-11-07 15:23:08 +08:00
parent 6b4e5cd036
commit c6ea4a8c52
18 changed files with 1256 additions and 132 deletions

View File

@ -39,7 +39,7 @@
column: {
width: '10',
}
}
},
}
};
},
@ -49,17 +49,18 @@
},
methods: {
getServerData() {
let _this = this;
//模拟从服务器获取数据时的延时
setTimeout(() => {
//模拟服务器返回数据,如果数据格式和标准格式不同,需自行按下面的格式拼接
let res = {
categories: ["2018-10-17", "2018-10-17", "2018-10-17", "2018-10-17", "2018-10-17",
"2018-10-17"
categories: ["2025-10-17", "2025-10-18", "2025-10-19", "2025-10-20", "2025-10-21",
"2025-10-22"
],
series: [
{
name:this.$t('homePage.home.powerGeneration'),
textColor: "#FFFFFF",
data: [18, 27, 21, 24, 6, 28]
}

View File

@ -105,7 +105,7 @@
</view>
</view>
<view class="month-power">
<Section title="项目月发电量" />
<Section :title="$t('homePage.home.projectMonthlyPower')" />
<view class="power-generation-detail">
<run-chart />
</view>
@ -123,7 +123,7 @@
{{ totalData.totalChargePrice | isNull }}
</view>
<view class="title">
{{ $t("homePage.earning.monthTotalChargePrice") }}
{{ $t("homePage.home.enmonthTotalChargePrice") }}
</view>
</view>
<view class="right-value t-fdzl"> </view>
@ -138,7 +138,7 @@
{{ totalData.totalDisChargePrice | isNull }}
</view>
<view class="title">
{{ $t("homePage.earning.monthTotalDisChargePrice") }}
{{ $t("homePage.home.enmonthTotalDisChargePrice") }}
</view>
</view>
<view class="right-value t-swdl"> </view>
@ -150,7 +150,7 @@
{{ totalData.income | isNull }}
</view>
<view class="title">
{{ $t("homePage.earning.earnings") }}
{{ $t("homePage.home.enearnings") }}
</view>
<view class="bg"> </view>
</view>