|
|
@@ -2,7 +2,7 @@
|
|
2
|
2
|
<template>
|
|
3
|
3
|
<div class="box">
|
|
4
|
4
|
<div class="list" v-for="(item, index) in tableData" :key="index">
|
|
5
|
|
- <div class="card_img"></div>
|
|
|
5
|
+ <div :class="'card_img card_img_' + index"></div>
|
|
6
|
6
|
<div class="card_content">
|
|
7
|
7
|
<span class="card_name">{{ item.name }}</span>
|
|
8
|
8
|
<span class="card_value">{{ item.value }}</span>
|
|
|
@@ -51,40 +51,53 @@ onMounted(() => {});
|
|
51
|
51
|
}
|
|
52
|
52
|
.list {
|
|
53
|
53
|
width: 49%;
|
|
54
|
|
- height: 46%;
|
|
|
54
|
+ height: 45%;
|
|
55
|
55
|
box-sizing: border-box;
|
|
56
|
56
|
background: url("@/assets/emergencyImg/center_new/bj.png") no-repeat;
|
|
57
|
|
- background-size: 100% auto;
|
|
|
57
|
+ background-size: 100% 100%;
|
|
58
|
58
|
display: flex;
|
|
59
|
59
|
color: #ffffff;
|
|
60
|
60
|
display: flex;
|
|
61
|
61
|
align-items: center;
|
|
62
|
62
|
}
|
|
63
|
|
-.list .card_img{
|
|
64
|
|
- flex: 10%;
|
|
65
|
|
- /* background: aqua; */
|
|
|
63
|
+.list .card_img {
|
|
|
64
|
+ flex: 35%;
|
|
66
|
65
|
height: 100%;
|
|
67
|
66
|
}
|
|
68
|
|
-.list .card_content{
|
|
69
|
|
- flex: 90%;
|
|
|
67
|
+.list .card_content {
|
|
|
68
|
+ flex: 65%;
|
|
70
|
69
|
/* background: pink; */
|
|
|
70
|
+ display: flex;
|
|
|
71
|
+ align-items: center;
|
|
71
|
72
|
}
|
|
72
|
|
-.card_content .card_name{
|
|
73
|
|
- margin-right: 20px;
|
|
|
73
|
+.card_content .card_name {
|
|
|
74
|
+ flex: 30%;
|
|
74
|
75
|
}
|
|
75
|
|
-.card_content .card_value{
|
|
|
76
|
+.card_content .card_value {
|
|
|
77
|
+ flex: 60%;
|
|
76
|
78
|
font-size: 18px;
|
|
77
|
79
|
font-weight: 700;
|
|
|
80
|
+ box-sizing: border-box;
|
|
|
81
|
+ padding-right: 10px;
|
|
78
|
82
|
background: linear-gradient(to bottom, rgb(202, 226, 254), rgb(242, 248, 255));
|
|
79
|
83
|
-webkit-background-clip: text;
|
|
80
|
84
|
-webkit-text-fill-color: transparent;
|
|
81
|
|
- /* box-shadow: #ffffff 0 0 2px 5px; */
|
|
82
|
|
-
|
|
83
|
85
|
}
|
|
84
|
86
|
|
|
85
|
|
-.list_left_3 .icon {
|
|
86
|
|
- background: url("@/assets/emergencyImg/center_4.png") no-repeat;
|
|
87
|
|
- /* background-size: 100% 100%; */
|
|
88
|
|
- background-position: 65px 62px;
|
|
|
87
|
+.list .card_img_0 {
|
|
|
88
|
+ background: url("@/assets/emergencyImg/center_new/c.png") no-repeat 50% 50%;
|
|
|
89
|
+ background-size: auto 75%;
|
|
|
90
|
+}
|
|
|
91
|
+.list .card_img_1 {
|
|
|
92
|
+ background: url("@/assets/emergencyImg/center_new/d.png") no-repeat 50% 50%;
|
|
|
93
|
+ background-size: auto 75%;
|
|
|
94
|
+}
|
|
|
95
|
+.list .card_img_2 {
|
|
|
96
|
+ background: url("@/assets/emergencyImg/center_new/f.png") no-repeat 50% 50%;
|
|
|
97
|
+ background-size: auto 75%;
|
|
|
98
|
+}
|
|
|
99
|
+.list .card_img_3 {
|
|
|
100
|
+ background: url("@/assets/emergencyImg/center_new/l.png") no-repeat 50% 50%;
|
|
|
101
|
+ background-size: auto 75%;
|
|
89
|
102
|
}
|
|
90
|
103
|
</style>
|