소스 검색

通知颜色调整

zqwang 1 년 전
부모
커밋
6fddce8bff
2개의 변경된 파일9개의 추가작업 그리고 10개의 파일을 삭제
  1. 5 5
      src/views/notice/mynotice/dataStatistics/notices.vue
  2. 4 5
      src/views/notice/mynotice/index.vue

+ 5 - 5
src/views/notice/mynotice/dataStatistics/notices.vue

@@ -11,7 +11,7 @@
 			</div>
 		</div>
 	</div>
-	<div v-if="list.length < 1"  style="display: flex;justify-content: center;">
+	<div v-if="JSON.stringify(list) === '{}'"  style="display: flex;justify-content: center;">
 			<label style="color: darkgray;"> 暂无新通知</label>
 	</div>
 	<el-dialog draggable v-model="centerDialogVisible" :title="notice.title" width="30%" center>
@@ -74,7 +74,7 @@
 	  justify-content:space-between;
 	  h4{
 		  margin-right: 50px;
-		  color: #29d;;
+		  color: #409EFF;
 	  }
 	}
 	.notice-item{
@@ -83,7 +83,7 @@
 	}
 	.notices{
 		margin-left: 10px;
-		line-height: 18px;;
+		line-height: 16px;;
 	}
 	.logo{
 		width: 18px;
@@ -92,10 +92,10 @@
 	.notices{
 		font-size: 18px;
 		margin-left: 10px;
-		line-height: 18px;;
+		line-height: 16px;;
 	}
 	.n-time-text{
 		margin-top: 5px;
-		font-size: 14px;
+		font-size: 16px;
 	}
 </style>

+ 4 - 5
src/views/notice/mynotice/index.vue

@@ -37,7 +37,7 @@
 								
 							</div>
 						</div>
-						<div v-show="currentTableData.length < 1"  style="display: flex;justify-content: center;">
+						<div v-if="JSON.stringify(currentTableData) === '{}'"  style="display: flex;justify-content: center;">
 							<label style="color: darkgray;"> 暂无新通知</label>
 						</div>
 				  </el-tab-pane>
@@ -165,7 +165,7 @@ onMounted(async () => {
   justify-content:space-between;
   h4{
 	  margin-right: 50px;
-	  color: #29d;
+	  color:  #409EFF;
   }
 }
 .bak-txt{
@@ -173,7 +173,6 @@ onMounted(async () => {
 	line-height: 40px;
 	float: right;
 	margin-top: 20px;
-	// color: #29d;;
 	margin-right: 40px;
 }
 .tabs>.el-tabs__content {
@@ -192,10 +191,10 @@ onMounted(async () => {
 	margin-top: 5px;
 }
 .active{
-	color:#29d;
+	color:#409EFF;
 }
 .notices{
-	font-size: 20px;
+	font-size: 16px;
 	margin-left: 10px;
 	line-height: 18px;;
 }