wanghao преди 2 месеца
родител
ревизия
f93fb6d47a
променени са 2 файла, в които са добавени 9 реда и са изтрити 5 реда
  1. 5 2
      src/views/SenEventCenter.vue
  2. 4 3
      src/views/SenWarningCenter.vue

+ 5 - 2
src/views/SenEventCenter.vue

@@ -7,7 +7,7 @@
 					v-model="dataValue"
 					type="date"
           @change="updateDataValue"
-					placeholder="选择日期">
+					placeholder="选择日期" class="spsb-picker">
 			</el-date-picker>
 		</div>
 		<div class="con_left">
@@ -427,8 +427,11 @@
 	.spsb_down{
 		position: absolute;
 		top:52px;
-		left: 30px;
+		left: 43px;
 		z-index: 999;
+		.spsb-picker{
+			width: 296px;
+		}
 		.el-input__inner{
 			background: linear-gradient(to right, rgb(37,50,54) 0%, rgb(43,140,152) 100%);
 			border: 1px solid;

+ 4 - 3
src/views/SenWarningCenter.vue

@@ -7,11 +7,10 @@
 
 <template>
     <div>
-	 <div class="con_left">
+	 <div class="con_left" style="background: none !important ;">
       <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" >
@@ -105,15 +104,17 @@ export default {
         // position: absolute;
         z-index: 99;
         left: 30px;
+		height:120px;
         top: 100px;
         margin-top: 1%;
         text-align: center;
-        padding: 0px 10px 20px 10px!important;
+        padding: 0px 10px 38px 10px!important;
 		display: flex;
 		flex-direction: column;
 		justify-content: center;
 		align-items: center;
 		margin-top: 20px;
+		background: url(../assets/images/warningBg.png) center no-repeat;
 		img{
 			 width: 122px;
 			 height: 67px;