|
@@ -1,23 +1,25 @@
|
|
|
<template>
|
|
<template>
|
|
|
<div class="home-body" v-loading="downloading" element-loading-text="'数据读取中,请稍候。。。'">
|
|
<div class="home-body" v-loading="downloading" element-loading-text="'数据读取中,请稍候。。。'">
|
|
|
<!--标题部分-->
|
|
<!--标题部分-->
|
|
|
- <div style="display: flex; height: 20%; padding-top: 0px; margin-bottom: 1%">
|
|
|
|
|
- <div style="width: 20%; margin: 0 5px; border: 1px solid #F6931F"></div>
|
|
|
|
|
- <div style="width: 20%; margin: 0 5px; border: 1px solid #F6931F"></div>
|
|
|
|
|
- <div style="width: 20%; margin: 0 5px; border: 1px solid #F6931F"></div>
|
|
|
|
|
- <div style="width: 20%; margin: 0 5px; border: 1px solid #F6931F"></div>
|
|
|
|
|
- <div style="width: 20%; margin: 0 5px; border: 1px solid #F6931F"></div>
|
|
|
|
|
|
|
+ <div class="todo-box">
|
|
|
|
|
+ <div class="todo-box-item"></div>
|
|
|
|
|
+ <div class="todo-box-item"></div>
|
|
|
|
|
+ <div class="todo-box-item"></div>
|
|
|
|
|
+ <div class="todo-box-item"></div>
|
|
|
|
|
+ <div class="todo-box-item"></div>
|
|
|
</div>
|
|
</div>
|
|
|
- <div style="width: 100%; height: 80%; padding-top: 0px; margin-bottom: 1%">
|
|
|
|
|
- <div style="display: flex; width: 100%; height: 50%; padding-top: 0px; margin-bottom: 1%">
|
|
|
|
|
- <div style="width: 50%; height: 100%; margin: 0 5px; padding-top: 0px; border: 1px solid #00ffff; margin-bottom: 1%">
|
|
|
|
|
- <highcharts :options="chartOptions"></highcharts>
|
|
|
|
|
|
|
+ <div class="chart-box">
|
|
|
|
|
+ <div class="chart-box-row">
|
|
|
|
|
+ <div class="chart-box-row-item">
|
|
|
|
|
+ <div style="height: 100%">
|
|
|
|
|
+ <highcharts :options="chartOptions"></highcharts>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
- <div style="width: 50%; height: 100%; margin: 0 5px; padding-top: 0px; border: 1px solid #f13f40; margin-bottom: 1%"></div>
|
|
|
|
|
|
|
+ <div class="chart-box-row-item"></div>
|
|
|
</div>
|
|
</div>
|
|
|
- <div style="display: flex; width: 100%; height: 50%; padding-top: 0px; margin-bottom: 1%">
|
|
|
|
|
- <div style="width: 50%; height: 100%; margin: 0 5px; padding-top: 0px; border: 1px solid #00ffff; margin-bottom: 1%"></div>
|
|
|
|
|
- <div style="width: 50%; height: 100%; margin: 0 5px; padding-top: 0px; border: 1px solid #f13f40; margin-bottom: 1%"></div>
|
|
|
|
|
|
|
+ <div class="chart-box-row">
|
|
|
|
|
+ <div class="chart-box-row-item"></div>
|
|
|
|
|
+ <div class="chart-box-row-item"></div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -25,16 +27,12 @@
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
import echarts from 'echarts'
|
|
import echarts from 'echarts'
|
|
|
- // import {Chart} from 'highcharts-vue'
|
|
|
|
|
|
|
|
|
|
import {
|
|
import {
|
|
|
mapGetters
|
|
mapGetters
|
|
|
} from 'vuex'
|
|
} from 'vuex'
|
|
|
export default {
|
|
export default {
|
|
|
name: 'index',
|
|
name: 'index',
|
|
|
- // components: {
|
|
|
|
|
- // highcharts: Chart
|
|
|
|
|
- // },
|
|
|
|
|
data () {
|
|
data () {
|
|
|
return {
|
|
return {
|
|
|
chartOptions: {
|
|
chartOptions: {
|
|
@@ -433,37 +431,35 @@
|
|
|
padding: 0 5px;
|
|
padding: 0 5px;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
|
- .header-card {
|
|
|
|
|
- .header-box {
|
|
|
|
|
- height: 150px;
|
|
|
|
|
- font-size: 26px;
|
|
|
|
|
- font-weight: bold;
|
|
|
|
|
- text-align: left;
|
|
|
|
|
- .box-title {
|
|
|
|
|
- height: 30%;
|
|
|
|
|
- margin: 10px 22px;
|
|
|
|
|
- /*border: 1px solid #00ffff;*/
|
|
|
|
|
- span {
|
|
|
|
|
- color: #F56C6C;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- .box-content {
|
|
|
|
|
- height: 70%;
|
|
|
|
|
- margin: 20px 25px;
|
|
|
|
|
- cursor: pointer;
|
|
|
|
|
- /*border: 1px solid #F56C6C;*/
|
|
|
|
|
- span:hover{
|
|
|
|
|
- color: #1D8CE0;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ .todo-box {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ height: 20%;
|
|
|
|
|
+ padding-top: 0px;
|
|
|
|
|
+ margin-bottom: 1%;
|
|
|
|
|
+ .todo-box-item {
|
|
|
|
|
+ width: 20%;
|
|
|
|
|
+ margin: 0 5px;
|
|
|
|
|
+ border: 1px solid #F6931F
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- .chart {
|
|
|
|
|
- flex: 1;
|
|
|
|
|
- .home-show {
|
|
|
|
|
- .chart-box {
|
|
|
|
|
- width: 100%;
|
|
|
|
|
- min-height: 300px;
|
|
|
|
|
|
|
+ .chart-box {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ height: 80%;
|
|
|
|
|
+ padding-top: 0px;
|
|
|
|
|
+ margin-bottom: 1%;
|
|
|
|
|
+ .chart-box-row {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ height: 50%;
|
|
|
|
|
+ padding-top: 0px;
|
|
|
|
|
+ margin-bottom: 1%;
|
|
|
|
|
+ .chart-box-row-item {
|
|
|
|
|
+ width: 50%;
|
|
|
|
|
+ height: 100%;
|
|
|
|
|
+ margin: 0 5px;
|
|
|
|
|
+ padding-top: 0px;
|
|
|
|
|
+ border: 1px solid #00ffff;
|
|
|
|
|
+ margin-bottom: 1%
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|