diff --git a/src/views/home/homepage/index.css b/src/views/home/homepage/index.css index b6e4572..37c3113 100644 --- a/src/views/home/homepage/index.css +++ b/src/views/home/homepage/index.css @@ -22,11 +22,11 @@ border: 1px solid #ccc; } .tops_content .electricity_status .block_spans { - width: 100px; + padding: 5px; line-height: 30px; border-radius: 7px; color: #fff; - background: #24ebf1; + background: #79bd56; text-align: center; margin-left: 8px; } @@ -42,7 +42,7 @@ .tops_content .electricity_status .bottom_status > div { width: 46%; height: 30%; - background: #e5f8fd; + background: #e3f1cb; margin: 0 5px; display: flex; flex-direction: column; @@ -106,7 +106,7 @@ .tops_content .electricity_imgs .bg_imgs { width: 100%; height: 100%; - background: url('../../../assets/imgs/电站.png') no-repeat center; + background: url('../../../assets/imgs/shouye.png') no-repeat center; background-size: 100% 100%; position: relative; } @@ -202,7 +202,7 @@ flex: 1; height: 90%; margin: 0 5px; - background: #e5f8fd; + background: #e3f1cb; display: flex; align-items: center; justify-content: center; diff --git a/src/views/home/homepage/index.less b/src/views/home/homepage/index.less index d339e07..c64dc2c 100644 --- a/src/views/home/homepage/index.less +++ b/src/views/home/homepage/index.less @@ -24,7 +24,8 @@ } .block_spans { - width: 100px; + // width: 100px; + padding: 5px; line-height: 30px; border-radius: 7px; color: #fff; diff --git a/src/views/home/homepage/index.vue b/src/views/home/homepage/index.vue index 8de432f..6606a24 100644 --- a/src/views/home/homepage/index.vue +++ b/src/views/home/homepage/index.vue @@ -4,33 +4,33 @@
- 当前换电状态: + {{ $t('message.homepage.stepName') }}: {{ bmsSwapSts.stepName }}
{{ char_nums_obj.chargeTodayCount }} - 当日充电 (次) + {{ $t('message.homepage.chargeTodayCount') }}
{{ char_nums_obj.swapTodayElectricity }} - 当日换电量 (度) + {{ $t('message.homepage.swapTodayElectricity') }}
{{ char_nums_obj.swapTodayCount }} - 当日换电 (次) + {{ $t('message.homepage.swapTodayCount') }}
{{ char_nums_obj.swapTotalCount }} - 累计换电 (次) + {{ $t('message.homepage.swapTotalCount') }}
{{ char_nums_obj.swapMonthElectricity }} - 当月换电量 (度) + {{ $t('message.homepage.swapMonthElectricity') }}
{{ char_nums_obj.chargeTotalCount }} - 累计充电 (次) + {{ $t('message.homepage.chargeTotalCount') }}
@@ -47,7 +47,7 @@
--> -