leftcard.vue
2.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<template>
<div class="leftcard">
<div class="card1 bg-shadow">
<div class="cardhead">区县接入</div>
<div class="cardcontent">
<div class="text1">
<p>52343</p>
<p>总量</p>
</div>
<div class="text2">
<p>666</p>
<p>失败</p>
</div>
<div class="text3">
<p>99%</p>
<p>成功率</p>
</div>
</div>
</div>
<div class="card2 bg-shadow">
<div class="cardhead">省厅汇交</div>
<div class="cardcontent">
<div class="text1">
<p>9168</p>
<p>总量</p>
</div>
<div class="text2">
<p>45</p>
<p>失败</p>
</div>
<div class="text3">
<p>99%</p>
<p>成功率</p>
</div>
</div>
</div>
<div class="card3 bg-shadow">
<div class="cardhead">各区县数据上报统计</div>
<columnar />
</div>
</div>
</template>
<script>
import columnar from "@/components/echart/columnar";
export default {
data() {
return {};
},
components: { columnar },
mounted() {},
beforeDestroy() {},
methods: {},
};
</script>
<style lang="scss" scoped>
.leftcard {
width: 25%;
height: 100%;
.cardhead {
width: 100%;
height: 40px;
margin-left: 10px;
line-height: 40px;
color: rgb(27, 185, 206);
font-size: 26px;
}
.cardcontent {
width: 100%;
height: 160px;
display: flex;
.text1 {
width: 33%;
height: 100%;
p {
margin: 15px;
height: 50px;
line-height: 50px;
font-size: 40px;
text-align: center;
color:rgb(246, 246, 229);
background: linear-gradient(143deg, #29C6F2 0%, #4370EF 100%);
}
p:nth-child(2) {
background:none;
color: rgb(223, 213, 81);
}
}
.text2 {
width: 33%;
height: 100%;
p {
height: 70px;
line-height: 70px;
font-size: 20px;
text-align: center;
color: rgb(180, 178, 178);
}
}
.text3 {
width: 33%;
height: 100%;
p {
height: 70px;
line-height: 70px;
font-size: 20px;
text-align: center;
color: rgb(180, 178, 178);
}
}
}
.card1 {
width: 100%;
height: 200px;
}
.card2 {
width: 100%;
height: 200px;
}
.card3 {
width: 100%;
height: 500px;
.mainCss {
width: 450px;
height: 420px;
background-color: saddlebrown;
}
}
}
</style>