彭宇 2 anni fa
parent
commit
443a07b56f
2 ha cambiato i file con 21 aggiunte e 17 eliminazioni
  1. 5 4
      src/assets/styles/base.scss
  2. 16 13
      src/components/vBottomMenu.vue

+ 5 - 4
src/assets/styles/base.scss

@@ -59,7 +59,7 @@ $iconColor:#32e583,#f5ad1b,#da8ec5,#5f89ce,#78bfc2,#bec278,#f07779;
 $state-wcl:#ff9c00;
 $state-wyc:#1cef84;
 
-$eventStateColor-xsb:#11b57e;
+
 $eventStateColor-sb:#11b57e;
 $eventStateColor-qs:#f18425;
 $eventStateColor-wb: #c2bc43;
@@ -67,10 +67,11 @@ $eventStateColor-cf: #a23737;
 $eventStateColor-bj: #6ae08f;
 $eventStateColor-gd: #0bef03;
 
+$eventStateColor-xsb:#11b57e;
 $eventStateColor-cb:#e63b4a;
-$eventStateColor-yqs:#015bff;
-$eventStateColor-ld:#fe6d02;
-$eventStateColor-tb:#7835f2;
+$eventStateColor-yqs:#f18425;
+$eventStateColor-ld:#a23737;
+$eventStateColor-tb:#6ae08f;
 
 
 //日历状态

+ 16 - 13
src/components/vBottomMenu.vue

@@ -1,7 +1,7 @@
 <template>
 	<div class="btm-box">
 		<img class="light"  src="../assets/images/integrated/btm-light.png"/>
-		
+
 		<div class="btm-left" :class="btmTipIndent">
 			<div class="btm-left-tip">
 				<div class="btm-left-block btm-left-state-c1"></div>新上报
@@ -56,7 +56,7 @@
 			  <el-button size="small" icon="el-icon-bell">警报</el-button>
 			</el-badge>
 			<el-badge   type="warning">
-			  <el-button size="small" icon="el-icon-refresh-right">刷新</el-button>
+			  <el-button size="small" icon="el-icon-refresh-right" @click="refresh">刷新</el-button>
 			</el-badge>
 		</div>
 	</div>
@@ -104,6 +104,9 @@
 			}
 		},
 		methods: {
+      refresh(){
+        window.location.reload();
+      },
 			showDialog(click) {
 				window.showDialog(click)
 			},
@@ -125,7 +128,7 @@
 
 <style rel="stylesheet/scss" lang="scss" scoped>
 	@import '@/assets/styles/base.scss';
-    
+
 	.btm-box {
 		width: 100%;
 		height: auto;
@@ -140,7 +143,7 @@
 			position: absolute;
 			top: -.5rem;
 		}
-		
+
 		.btm-left{
 			position: absolute;
 			font-size: .7rem;
@@ -159,7 +162,7 @@
 				color: $inBlue;
 				padding:0 .5rem;
 				cursor: pointer;
-				
+
 			}
 			.btm-legend:hover{
 				background-color:$tipHover;
@@ -174,8 +177,8 @@
 					height: 1rem;
 					margin-right: .3rem;
 					border-radius: .2rem;
-					
-					
+
+
 				}
 				.btm-left-state-c1{
 					background-color: $eventStateColor-xsb;
@@ -195,10 +198,10 @@
 				.btm-left-state-c6{
 					background-color: $eventStateColor-tb;
 				}
-				
-				
+
+
 			}
-			
+
 		}
 		.btm-tip-to-right{
 			-webkit-transform: translateX(0) !important;
@@ -275,7 +278,7 @@
 			}
 
 		}
-        
+
 		.btm-right{
 			position: absolute;
 			font-size: .7rem;
@@ -293,7 +296,7 @@
 					color: $inBlue;
 					border: 1px $searchBorder;
 				}
-				
+
 			}
 			.el-badge:hover{
 				-webkit-transform: translateX(0.1rem);
@@ -302,7 +305,7 @@
 				button{
 					text-shadow: 0 0 15px rgba($color: $inBlueHover, $alpha: 1.0);
 				}
-				
+
 			}
 		}