|
@@ -12,7 +12,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
<div class="high-stable-weather">
|
|
<div class="high-stable-weather">
|
|
|
<img :src="fireIcon" alt="empty" class="icon-fire">
|
|
<img :src="fireIcon" alt="empty" class="icon-fire">
|
|
|
- <span>本年度高温天气: {{ countHighTemperatureDays }} 天</span>
|
|
|
|
|
|
|
+ <span>本年度高温天气: {{ countHighTemperatureDays }}天</span>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="weather-info">
|
|
<div class="weather-info">
|
|
|
|
|
|
|
@@ -45,7 +45,8 @@
|
|
|
|
|
|
|
|
<!-- 表格 -->
|
|
<!-- 表格 -->
|
|
|
<div v-else class="dialog-content">
|
|
<div v-else class="dialog-content">
|
|
|
- <el-table :data="historyTemperatureList" border stripe style="width: 100%;" max-height="calc(80vh - 120px)">
|
|
|
|
|
|
|
+ <el-table :data="historyTemperatureList" border stripe style="width: 100%;" max-height="calc(80vh - 120px)"
|
|
|
|
|
+ class="hide-scrollbar">
|
|
|
<el-table-column label="日期" align="center" width="170">
|
|
<el-table-column label="日期" align="center" width="170">
|
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
|
{{ scope.row.dataTime ? scope.row.dataTime.slice(0, 10) : '--' }}
|
|
{{ scope.row.dataTime ? scope.row.dataTime.slice(0, 10) : '--' }}
|
|
@@ -387,26 +388,44 @@ onUnmounted(() => {
|
|
|
background-position: center !important;
|
|
background-position: center !important;
|
|
|
background-color: #ffffff !important;
|
|
background-color: #ffffff !important;
|
|
|
border-radius: 8px !important;
|
|
border-radius: 8px !important;
|
|
|
- overflow: hidden !important;
|
|
|
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
|
|
|
|
|
|
|
|
.el-dialog__header {
|
|
.el-dialog__header {
|
|
|
- padding: 16px 0px !important;
|
|
|
|
|
|
|
+ padding-left: 0px !important;
|
|
|
|
|
+ padding-top: 0px !important;
|
|
|
border: none !important;
|
|
border: none !important;
|
|
|
|
|
+ display: flex !important;
|
|
|
position: relative;
|
|
position: relative;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: flex-start !important;
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .el-dialog__headerbtn {
|
|
|
|
|
+ width: 16px !important;
|
|
|
|
|
+ height: 16px !important;
|
|
|
|
|
+ right: 0px !important;
|
|
|
|
|
+ top:5px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.el-dialog__title {
|
|
.el-dialog__title {
|
|
|
font-family: PingFangSC, PingFang SC;
|
|
font-family: PingFangSC, PingFang SC;
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
|
- font-size: 16px;
|
|
|
|
|
- color: rgba(0, 0, 0, 0.88);
|
|
|
|
|
- line-height: 24px;
|
|
|
|
|
- text-align: left;
|
|
|
|
|
- font-style: normal;
|
|
|
|
|
|
|
+ font-size: 16px !important;
|
|
|
|
|
+ color: rgba(0, 0, 0, 0.88) !important;
|
|
|
|
|
+ line-height: 24px !important;
|
|
|
|
|
+ text-align: left !important;
|
|
|
|
|
+ font-style: normal !important;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ .el-dialog__close {
|
|
|
|
|
+ font-size: 16px !important;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
.el-table__header {
|
|
.el-table__header {
|
|
|
|
|
+ width: 100% !important;
|
|
|
.el-table__cell {
|
|
.el-table__cell {
|
|
|
font-family: 'PingFang SC' !important;
|
|
font-family: 'PingFang SC' !important;
|
|
|
font-weight: bold !important;
|
|
font-weight: bold !important;
|
|
@@ -419,6 +438,11 @@ onUnmounted(() => {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.el-table__body {
|
|
.el-table__body {
|
|
|
|
|
+ width: 100% !important;
|
|
|
|
|
+ overflow: auto !important;
|
|
|
|
|
+ scrollbar-width: none !important;
|
|
|
|
|
+ -ms-overflow-style: none !important;
|
|
|
|
|
+
|
|
|
.el-table__cell {
|
|
.el-table__cell {
|
|
|
font-family: 'PingFang SC' !important;
|
|
font-family: 'PingFang SC' !important;
|
|
|
font-weight: 400 !important;
|
|
font-weight: 400 !important;
|
|
@@ -428,28 +452,35 @@ onUnmounted(() => {
|
|
|
text-align: left !important;
|
|
text-align: left !important;
|
|
|
font-style: normal !important;
|
|
font-style: normal !important;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- .el-dialog__headerbtn {
|
|
|
|
|
- position: absolute;
|
|
|
|
|
- top: 50%;
|
|
|
|
|
- transform: translateY(-50%);
|
|
|
|
|
- margin-top: 0;
|
|
|
|
|
- margin-right: -15px;
|
|
|
|
|
|
|
+ .el-table__body::-webkit-scrollbar-track{
|
|
|
|
|
+ display: none !important;
|
|
|
|
|
+ background:transparent !important;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- .el-dialog__close {
|
|
|
|
|
- font-size: 16px !important;
|
|
|
|
|
|
|
+ .el-table__body::-webkit-scrollbar-thumb {
|
|
|
|
|
+ display: none !important;
|
|
|
|
|
+ background: transparent !important;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- .no-data {
|
|
|
|
|
- width: 100%;
|
|
|
|
|
- padding: 40px 0;
|
|
|
|
|
- text-align: center;
|
|
|
|
|
|
|
+ .el-table__body-wrapper {
|
|
|
|
|
+ padding-right: 0 !important;
|
|
|
|
|
+ margin-right: 0 !important;
|
|
|
|
|
+ overflow: hidden !important;
|
|
|
}
|
|
}
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
+.no-data {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ padding: 40px 0;
|
|
|
|
|
+ text-align: center;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
.disaster-emergency-tips {
|
|
.disaster-emergency-tips {
|
|
|
flex: 1;
|
|
flex: 1;
|
|
|
}
|
|
}
|