|
@@ -45,8 +45,7 @@
|
|
|
|
|
|
|
|
<!-- 表格 -->
|
|
<!-- 表格 -->
|
|
|
<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)"
|
|
|
|
|
- class="hide-scrollbar">
|
|
|
|
|
|
|
+ <el-table :data="historyTemperatureList" border stripe max-height="calc(80vh - 120px)">
|
|
|
<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) : '--' }}
|
|
@@ -57,7 +56,7 @@
|
|
|
<span> {{ scope.row.maxTemperature ?? "--" }} </span>
|
|
<span> {{ scope.row.maxTemperature ?? "--" }} </span>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
- <el-table-column label="最低温度(℃)" prop="minTemperature" align="center" width="170">
|
|
|
|
|
|
|
+ <el-table-column label="最低温度(℃)" prop="minTemperature" align="center">
|
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
|
<span> {{ scope.row.minTemperature ?? "--" }} </span>
|
|
<span> {{ scope.row.minTemperature ?? "--" }} </span>
|
|
|
</template>
|
|
</template>
|
|
@@ -380,96 +379,77 @@ onUnmounted(() => {
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-:deep(.weather-dialog) {
|
|
|
|
|
- background-image: url('@/assets/images/weather-icons/dialoag-title-bg.png') !important;
|
|
|
|
|
- background-size: cover !important;
|
|
|
|
|
- background-repeat: no-repeat !important;
|
|
|
|
|
- background-position: center !important;
|
|
|
|
|
- background-color: #ffffff !important;
|
|
|
|
|
- border-radius: 8px !important;
|
|
|
|
|
- box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
|
|
|
|
|
-
|
|
|
|
|
|
|
+:deep(.el-dialog) {
|
|
|
|
|
+ background-image: url('@/assets/images/weather-icons/dialoag-title-bg.png');
|
|
|
|
|
+ background-size: cover;
|
|
|
|
|
+ background-repeat: no-repeat;
|
|
|
|
|
+ background-position: center;
|
|
|
|
|
+ border-radius: 8px;
|
|
|
|
|
+ box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
|
|
|
|
|
+
|
|
|
.el-dialog__header {
|
|
.el-dialog__header {
|
|
|
- padding-left: 0px !important;
|
|
|
|
|
- padding-top: 0px !important;
|
|
|
|
|
- border: none !important;
|
|
|
|
|
- display: flex !important;
|
|
|
|
|
|
|
+ padding-left: 0px;
|
|
|
|
|
+ padding-top: 0px;
|
|
|
|
|
+ border: none;
|
|
|
|
|
+ display: flex;
|
|
|
position: relative;
|
|
position: relative;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
- justify-content: flex-start !important;
|
|
|
|
|
|
|
+ justify-content: flex-start;
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.el-dialog__headerbtn {
|
|
.el-dialog__headerbtn {
|
|
|
- width: 16px !important;
|
|
|
|
|
- height: 16px !important;
|
|
|
|
|
- right: 0px !important;
|
|
|
|
|
|
|
+ width: 16px;
|
|
|
|
|
+ height: 16px;
|
|
|
|
|
+ right: 0px;
|
|
|
top:5px;
|
|
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 !important;
|
|
|
|
|
- color: rgba(0, 0, 0, 0.88) !important;
|
|
|
|
|
- line-height: 24px !important;
|
|
|
|
|
- text-align: left !important;
|
|
|
|
|
- font-style: normal !important;
|
|
|
|
|
|
|
+ font-size: 16px;
|
|
|
|
|
+ color: rgba(0, 0, 0, 0.88);
|
|
|
|
|
+ line-height: 24px;
|
|
|
|
|
+ text-align: left;
|
|
|
|
|
+ font-style: normal;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.el-dialog__close {
|
|
.el-dialog__close {
|
|
|
- font-size: 16px !important;
|
|
|
|
|
|
|
+ font-size: 16px;
|
|
|
}
|
|
}
|
|
|
|
|
+}
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
+:deep(.el-table) {
|
|
|
.el-table__header {
|
|
.el-table__header {
|
|
|
- width: 100% !important;
|
|
|
|
|
.el-table__cell {
|
|
.el-table__cell {
|
|
|
- font-family: 'PingFang SC' !important;
|
|
|
|
|
- font-weight: bold !important;
|
|
|
|
|
- font-size: 14px !important;
|
|
|
|
|
- color: #000 !important;
|
|
|
|
|
- line-height: 22px !important;
|
|
|
|
|
- text-align: left !important;
|
|
|
|
|
- font-style: normal !important;
|
|
|
|
|
|
|
+ font-family: 'PingFang SC';
|
|
|
|
|
+ font-weight: bold;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ color: #000;
|
|
|
|
|
+ line-height: 22px;
|
|
|
|
|
+ text-align: left;
|
|
|
|
|
+ font-style: normal;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.el-table__body {
|
|
.el-table__body {
|
|
|
- width: 100% !important;
|
|
|
|
|
- overflow: auto !important;
|
|
|
|
|
- scrollbar-width: none !important;
|
|
|
|
|
- -ms-overflow-style: none !important;
|
|
|
|
|
|
|
+ overflow: auto;
|
|
|
|
|
+ scrollbar-width: none;
|
|
|
|
|
+ -ms-overflow-style: none;
|
|
|
|
|
|
|
|
.el-table__cell {
|
|
.el-table__cell {
|
|
|
- font-family: 'PingFang SC' !important;
|
|
|
|
|
- font-weight: 400 !important;
|
|
|
|
|
- font-size: 14px !important;
|
|
|
|
|
- color: #303133 !important;
|
|
|
|
|
- line-height: 22px !important;
|
|
|
|
|
- text-align: left !important;
|
|
|
|
|
- font-style: normal !important;
|
|
|
|
|
|
|
+ font-family: 'PingFang SC';
|
|
|
|
|
+ font-weight: 400;
|
|
|
|
|
+ font-size: 14px;
|
|
|
|
|
+ color: #303133;
|
|
|
|
|
+ line-height: 22px;
|
|
|
|
|
+ text-align: left;
|
|
|
|
|
+ font-style: normal;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- .el-table__body::-webkit-scrollbar-track{
|
|
|
|
|
- display: none !important;
|
|
|
|
|
- background:transparent !important;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- .el-table__body::-webkit-scrollbar-thumb {
|
|
|
|
|
- display: none !important;
|
|
|
|
|
- background: transparent !important;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- .el-table__body-wrapper {
|
|
|
|
|
- padding-right: 0 !important;
|
|
|
|
|
- margin-right: 0 !important;
|
|
|
|
|
- overflow: hidden !important;
|
|
|
|
|
- }
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|