|
@@ -7,11 +7,13 @@
|
|
|
|
|
|
<template>
|
|
|
<div>
|
|
|
+ <div class="con_left">
|
|
|
<div class="warning_left" :class="'warning_'+index" v-for="(item,index) in option" >
|
|
|
<h4>{{item.typeName}}</h4>
|
|
|
<h2>{{item.count}}</h2>
|
|
|
<img src="@/assets/images/warningBg.png">
|
|
|
</div>
|
|
|
+ </div>
|
|
|
<div class="con_right con_left_js" :class="'warning_'+index" v-for="(item,index) in option" >
|
|
|
<div class="list_tit">{{item.typeName}}说明</div>
|
|
|
<!-- 预警说明内容主体 -->
|
|
@@ -53,7 +55,6 @@ export default {
|
|
|
top: 100px;
|
|
|
width: 320px;
|
|
|
height: 17%;
|
|
|
- background: linear-gradient(to left, rgba(21,38,48,.6), rgba(21,38,48,.2));
|
|
|
padding: 0px 10px 20px 10px !important;
|
|
|
|
|
|
.list_tit {
|
|
@@ -75,6 +76,7 @@ export default {
|
|
|
font-size: 14px;
|
|
|
>h4{
|
|
|
margin-top: 3%;
|
|
|
+ text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.8);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -99,16 +101,23 @@ export default {
|
|
|
top: 747px !important;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
.warning_left{
|
|
|
- position: absolute;
|
|
|
+ // position: absolute;
|
|
|
z-index: 99;
|
|
|
left: 30px;
|
|
|
top: 100px;
|
|
|
- width: 250px;
|
|
|
margin-top: 1%;
|
|
|
text-align: center;
|
|
|
padding: 0px 10px 20px 10px!important;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ margin-top: 20px;
|
|
|
+ img{
|
|
|
+ width: 122px;
|
|
|
+ height: 67px;
|
|
|
+ }
|
|
|
|
|
|
h4{
|
|
|
font-weight: 700;
|
|
@@ -116,10 +125,10 @@ export default {
|
|
|
background: linear-gradient(to bottom, #fff, #7AC0CA);
|
|
|
-webkit-background-clip: text; /* 裁剪背景到文字 */
|
|
|
-webkit-text-fill-color: transparent; /* 让文字填充透明,显示背景 */
|
|
|
+ text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.6)
|
|
|
}
|
|
|
|
|
|
h2{
|
|
|
- position: absolute;
|
|
|
width: 93%;
|
|
|
color: transparent;
|
|
|
background: linear-gradient(to bottom, #fff, #7AC0CA);
|
|
@@ -128,7 +137,9 @@ export default {
|
|
|
font-family: 'ysbth';
|
|
|
letter-spacing: 2px;
|
|
|
transform: skewX(-16deg);
|
|
|
+ text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.6)
|
|
|
}
|
|
|
+
|
|
|
}
|
|
|
|
|
|
|