邓洁: 修改细节

This commit is contained in:
邓洁
2024-01-08 09:31:34 +08:00
parent 1ab43e97e3
commit 060ff853d4
7 changed files with 38 additions and 25 deletions

View File

@@ -7,7 +7,7 @@
</div>
<div>
<div class="icon"></div>
<span>当月用电量{{ electricityConsumptionMonthly }}v</span>
<span>当月用电量{{ electricityConsumptionMonthly }}kwh</span>
</div>
</div>
<div class="item">
@@ -16,7 +16,7 @@
</div>
<div>
<div class="icon"></div>
<span>当月节省量{{ monthlySavings }}v</span>
<span>当月节省量{{ monthlySavings }}kwh</span>
</div>
</div>
</div>
@@ -27,15 +27,15 @@
<div class="top-tag">
<div class="allUsedEle">
<div class="use-title">
12总用电量
{{ month }}总用电量
</div>
<div class="value">2345v</div>
<div class="value">{{ electricityConsumptionMonthly }}kwh</div>
</div>
<div class="allUsedEle">
<div class="use-title">
当月节省量
</div>
<div class="value">345v</div>
<div class="value">{{ monthlySavings }}kwh</div>
</div>
</div>
<div class="loading-block" v-if="showLoading">
@@ -55,7 +55,7 @@
<script setup>
import * as echarts from 'echarts';
import {dateFormat} from "@/utils/date.js";
const props = defineProps({
list: Array,
eleData: Array
@@ -67,6 +67,7 @@ const electricityConsumptionMonthly = ref(0)
const monthlySavings = ref(4000)
const length = ref(null);
const valueA = ref();
const month = ref(dateFormat('',true));
const valueB = ref(monthlySavings.value);
const bgImage = computed(() =>
isVisited.value