- 为对话框添加背景图片并调整布局 - 修改视频监控组件的小视频切换逻辑 - 调整天气卡片样式增加内边距和背景 - 修复视频监控组件展开/收起状态判断 - 为安全监控页面添加顶部间距
		
			
				
	
	
		
			230 lines
		
	
	
		
			5.2 KiB
		
	
	
	
		
			SCSS
		
	
	
	
	
	
			
		
		
	
	
			230 lines
		
	
	
		
			5.2 KiB
		
	
	
	
		
			SCSS
		
	
	
	
	
	
| .no-header-dialog {
 | |
|     height: auto;
 | |
| }
 | |
| 
 | |
| #custom-dialog {
 | |
|     padding: 0;
 | |
|     top: 0;
 | |
| 
 | |
|     .el-dialog__header {
 | |
|         // display: none;
 | |
|         border: none;
 | |
|         padding: 0;
 | |
|         margin: 0;
 | |
|     }
 | |
| 
 | |
|     .el-dialog__body {
 | |
|         padding: 0 !important;
 | |
|         // height: auto !important;
 | |
|         max-height: none !important;
 | |
|     }
 | |
| 
 | |
|     .status-alert-content {
 | |
|         background: linear-gradient(180deg, rgba(0, 119, 255, 0.23) 0%, rgba(255, 255, 255, 0) 100%);
 | |
|         display: flex;
 | |
|         align-items: center;
 | |
|         justify-content: space-between;
 | |
|         padding-left: 20px;
 | |
|         padding-right: 50px;
 | |
| 
 | |
|         .info {
 | |
|             display: flex;
 | |
|             flex-direction: column;
 | |
|             gap: 10px;
 | |
| 
 | |
|             .title {
 | |
|                 color: rgba(0, 30, 59, 1);
 | |
|                 font-size: 20px;
 | |
|                 font-weight: bold;
 | |
|             }
 | |
| 
 | |
|             .name {
 | |
|                 color: rgba(0, 30, 59, 1);
 | |
|                 font-weight: bold;
 | |
|             }
 | |
| 
 | |
|             .icon {
 | |
|                 display: flex;
 | |
|                 align-items: center;
 | |
|                 font-size: 12px;
 | |
| 
 | |
|                 .last-update {
 | |
|                     // font-size: ;
 | |
|                     color: rgba(113, 128, 150, 1);
 | |
|                     margin-left: 15px;
 | |
|                 }
 | |
| 
 | |
|                 svg {
 | |
|                     width: 15px;
 | |
|                     height: 15px;
 | |
|                 }
 | |
| 
 | |
|                 .text {
 | |
|                     font-size: 12px;
 | |
|                     margin-left: 10px;
 | |
|                 }
 | |
| 
 | |
| 
 | |
|             }
 | |
| 
 | |
| 
 | |
|         }
 | |
| 
 | |
|         .img {
 | |
|             width: 240px;
 | |
|             height: 240px;
 | |
| 
 | |
|             img {
 | |
|                 width: 100%;
 | |
|                 height: 100%;
 | |
|                 display: block;
 | |
|             }
 | |
|         }
 | |
| 
 | |
|         .info-box {
 | |
|             font-size: 12px;
 | |
|             display: flex;
 | |
|             gap: 40px;
 | |
|             margin-left: 30px;
 | |
| 
 | |
|             .item {
 | |
|                 display: flex;
 | |
|                 flex-direction: column;
 | |
|                 gap: 20px;
 | |
|             }
 | |
| 
 | |
|             .title {
 | |
|                 color: rgba(113, 128, 150, 1);
 | |
|                 margin-bottom: 10px;
 | |
|             }
 | |
| 
 | |
|             .text {
 | |
|                 font-weight: bold;
 | |
|                 color: rgba(0, 30, 59, 1);
 | |
|             }
 | |
|         }
 | |
|     }
 | |
| 
 | |
|     .status-alert-content .success {
 | |
|         color: rgba(0, 184, 122, 1) !important;
 | |
|     }
 | |
| 
 | |
|     .status-alert-content .orange {
 | |
|         color: rgba(255, 153, 0, 1) !important;
 | |
|     }
 | |
| 
 | |
|     .status-alert-content .red {
 | |
|         color: rgba(227, 39, 39, 1) !important;
 | |
|     }
 | |
| 
 | |
|     .back {
 | |
|         background-image: url("/assets/dialog2.png");
 | |
|         background-size: 455px;
 | |
|         background-repeat: no-repeat;
 | |
|         background-position: 780px -65px;
 | |
|     }
 | |
| 
 | |
|     .alarm-alert-content {
 | |
|         background: linear-gradient(180deg, rgba(255, 87, 51, 0.23) 0%, rgba(255, 219, 219, 0) 100%);
 | |
|         padding-left: 50px;
 | |
|         padding-right: 50px;
 | |
|         padding-bottom: 50px;
 | |
| 
 | |
|         .top {
 | |
|             display: flex;
 | |
|             gap: 50px;
 | |
|             align-items: center;
 | |
|             padding: 50px 0;
 | |
|             padding-bottom: 20px;
 | |
| 
 | |
| 
 | |
|             .info {
 | |
|                 display: flex;
 | |
|                 flex-direction: column;
 | |
|                 gap: 15px;
 | |
| 
 | |
|                 .title {
 | |
|                     color: rgba(227, 39, 39, 1);
 | |
|                     font-size: 28px;
 | |
|                     font-weight: bold;
 | |
|                 }
 | |
| 
 | |
|                 .alarm-id {
 | |
|                     color: rgba(0, 30, 59, 1);
 | |
|                     font-size: 18px;
 | |
|                     font-weight: bold;
 | |
|                 }
 | |
| 
 | |
|                 .status-box {
 | |
|                     display: flex;
 | |
|                     gap: 20px;
 | |
| 
 | |
|                     .status {
 | |
|                         font-weight: bold;
 | |
|                     }
 | |
| 
 | |
|                     .last-update {
 | |
|                         color: rgba(113, 128, 150, 1);
 | |
|                     }
 | |
|                 }
 | |
|             }
 | |
| 
 | |
|             .info-box {
 | |
|                 .list {
 | |
|                     display: flex;
 | |
|                     gap: 90px;
 | |
| 
 | |
|                     .item {
 | |
|                         display: flex;
 | |
|                         flex-direction: column;
 | |
|                         gap: 30px;
 | |
| 
 | |
|                         .title {
 | |
|                             color: rgba(113, 128, 150, 1);
 | |
|                             margin-bottom: 10px;
 | |
|                         }
 | |
| 
 | |
|                         .text {
 | |
|                             color: rgba(0, 30, 59, 1);
 | |
|                             font-weight: bold;
 | |
|                         }
 | |
|                     }
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
| 
 | |
|         .progress-box {
 | |
|             .title {
 | |
|                 color: rgba(0, 30, 59, 1);
 | |
|                 font-weight: bold;
 | |
|                 font-size: 20px;
 | |
|                 margin-bottom: 24px;
 | |
|             }
 | |
|         }
 | |
| 
 | |
|         .notice-box {
 | |
|             display: flex;
 | |
|             justify-content: space-between;
 | |
|         }
 | |
| 
 | |
|         .item {
 | |
|             display: flex;
 | |
|             flex-direction: column;
 | |
|             gap: 10px;
 | |
|             color: rgba(113, 128, 150, 1);
 | |
| 
 | |
|             .time {
 | |
|                 font-size: 12px;
 | |
|             }
 | |
|         }
 | |
| 
 | |
|         .title.active {
 | |
|             color: rgba(247, 89, 10, 1);
 | |
|             font-weight: bold;
 | |
|         }
 | |
|     }
 | |
| 
 | |
|     .alarm-alert-content .red {
 | |
|         color: rgba(227, 39, 39, 1) !important;
 | |
|     }
 | |
| } |