|
@@ -1,47 +1,83 @@
|
|
|
<!-- eslint-disable vue/multi-word-component-names -->
|
|
|
<template>
|
|
|
- <div class="monitor-center">
|
|
|
+ <div class="monitor-center pt-10px pl-2px pr-2px pb-10px">
|
|
|
<div class="flex">
|
|
|
- <div class="w-50% text-center">
|
|
|
- <span>总供风量</span>
|
|
|
- <p class="monitor-center__primary_text">123123</p>
|
|
|
-
|
|
|
- <Pie
|
|
|
- :option="chartOption"
|
|
|
- :chart-data="[
|
|
|
- {
|
|
|
- value: 70,
|
|
|
- name: 'A',
|
|
|
- },
|
|
|
- {
|
|
|
- value: 30,
|
|
|
- name: 'B',
|
|
|
- },
|
|
|
- ]"
|
|
|
- height="100px"
|
|
|
- />
|
|
|
+ <div class="monitor-center__item_A">
|
|
|
+ <span>吨煤通风费用(元)</span>
|
|
|
+ <span class="color-green">32</span>
|
|
|
</div>
|
|
|
- <div class="w-50% text-center">
|
|
|
- <span>总需风量</span>
|
|
|
- <p class="monitor-center__primary_text">123123</p>
|
|
|
-
|
|
|
- <Pie
|
|
|
- :option="chartOption"
|
|
|
- :chart-data="[
|
|
|
- {
|
|
|
- value: 70,
|
|
|
- name: 'A',
|
|
|
- },
|
|
|
- {
|
|
|
- value: 30,
|
|
|
- name: 'B',
|
|
|
- },
|
|
|
- ]"
|
|
|
- height="100px"
|
|
|
- />
|
|
|
+ <div class="monitor-center__item_B flex flex-items-center">
|
|
|
+ <span>吨煤通风费用(元)</span>
|
|
|
+ <span class="color-yellow">32</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="flex">
|
|
|
+ <div class="ml-7px text-center">
|
|
|
+ <span>总风量</span>
|
|
|
+ <div class="number_grid">
|
|
|
+ <span>1</span>
|
|
|
+ <span>2</span>
|
|
|
+ <span>.</span>
|
|
|
+ <span>3</span>
|
|
|
+ <span>4</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="ml-7px text-center">
|
|
|
+ <span>吨煤通风</span>
|
|
|
+ <div class="number_grid">
|
|
|
+ <span>1</span>
|
|
|
+ <span>2</span>
|
|
|
+ <span>.</span>
|
|
|
+ <span>3</span>
|
|
|
+ <span>4</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="ml-7px text-center">
|
|
|
+ <span>吨煤通风</span>
|
|
|
+ <div class="number_grid">
|
|
|
+ <span>1</span>
|
|
|
+ <span>2</span>
|
|
|
+ <span>.</span>
|
|
|
+ <span>3</span>
|
|
|
+ <span>4</span>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <!-- <div class="justify-end monitor-center w-300px">
|
|
|
+ <div class="flex">
|
|
|
+ <Pie
|
|
|
+ class="w-50% text-center"
|
|
|
+ :option="chartOption"
|
|
|
+ :chart-data="[
|
|
|
+ {
|
|
|
+ value: 70,
|
|
|
+ name: 'A',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ value: 30,
|
|
|
+ name: 'B',
|
|
|
+ },
|
|
|
+ ]"
|
|
|
+ height="100px"
|
|
|
+ />
|
|
|
+ <Pie
|
|
|
+ class="w-50% text-center"
|
|
|
+ :option="chartOption"
|
|
|
+ :chart-data="[
|
|
|
+ {
|
|
|
+ value: 70,
|
|
|
+ name: 'A',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ value: 30,
|
|
|
+ name: 'B',
|
|
|
+ },
|
|
|
+ ]"
|
|
|
+ height="100px"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ </div> -->
|
|
|
</template>
|
|
|
<script lang="ts" setup>
|
|
|
import { onMounted, ref } from 'vue';
|
|
@@ -128,9 +164,36 @@
|
|
|
}
|
|
|
|
|
|
.monitor-center {
|
|
|
- width: 200px;
|
|
|
background-image: @vent-configurable-home-bg-img;
|
|
|
border-top: 2px solid @vent-configurable-home-light-border;
|
|
|
color: @white;
|
|
|
}
|
|
|
+
|
|
|
+ .monitor-center__item_A {
|
|
|
+ width: 201px;
|
|
|
+ height: 36px;
|
|
|
+ background-image: url('@/assets/images/home-container/configurable/list_item_green.png');
|
|
|
+ padding-left: 45px;
|
|
|
+ line-height: 36px;
|
|
|
+ }
|
|
|
+ .monitor-center__item_B {
|
|
|
+ width: 201px;
|
|
|
+ height: 36px;
|
|
|
+ background-image: url('@/assets/images/home-container/configurable/list_item_yellow.png');
|
|
|
+ padding-left: 45px;
|
|
|
+ line-height: 36px;
|
|
|
+ }
|
|
|
+ .number_grid {
|
|
|
+ width: 125px;
|
|
|
+ height: 37px;
|
|
|
+ background-image: url('@/assets/images/home-container/configurable/number_grid.png');
|
|
|
+ line-height: 37px;
|
|
|
+ display: flex;
|
|
|
+ justify-content: flex-start;
|
|
|
+ padding: 0 2px 0 2px;
|
|
|
+
|
|
|
+ span {
|
|
|
+ flex-basis: 20%;
|
|
|
+ }
|
|
|
+ }
|
|
|
</style>
|