2026-04-03 18:08:42 +08:00
|
|
|
<template>
|
|
|
|
|
<base-dialog
|
|
|
|
|
v-model:visible="props.visible"
|
|
|
|
|
title="预警情况"
|
|
|
|
|
:table-data="tableData"
|
|
|
|
|
:table-columns="tableColumns"
|
|
|
|
|
:table-height="tableHeight"
|
|
|
|
|
:total="total"
|
|
|
|
|
:current-page="currentPage"
|
|
|
|
|
:page-size="pageSize"
|
|
|
|
|
@size-change="handleSizeChange"
|
|
|
|
|
@current-change="handleCurrentChange"
|
|
|
|
|
@close="handleClose"
|
|
|
|
|
>
|
|
|
|
|
<!-- 筛选区域 -->
|
|
|
|
|
<template #filter>
|
|
|
|
|
<div class="filter-row">
|
|
|
|
|
<div class="filter-item">
|
|
|
|
|
<span class="filter-label">预警等级</span>
|
|
|
|
|
<el-select
|
2026-04-13 11:38:11 +08:00
|
|
|
v-model="filterForm.riskLeve"
|
2026-04-03 18:08:42 +08:00
|
|
|
placeholder="请选择"
|
2026-04-08 15:34:49 +08:00
|
|
|
class="filter-select el-select"
|
2026-04-03 18:08:42 +08:00
|
|
|
clearable
|
|
|
|
|
size="small"
|
2026-04-08 15:34:49 +08:00
|
|
|
:teleported="false"
|
2026-04-03 18:08:42 +08:00
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in warningLevelOptions"
|
|
|
|
|
:key="item.value"
|
|
|
|
|
:label="item.label"
|
|
|
|
|
:value="item.value"
|
|
|
|
|
/>
|
|
|
|
|
</el-select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="filter-item">
|
|
|
|
|
<span class="filter-label">影响区域</span>
|
|
|
|
|
<el-select
|
2026-04-13 11:38:11 +08:00
|
|
|
v-model="filterForm.countyName"
|
2026-04-03 18:08:42 +08:00
|
|
|
placeholder="请选择"
|
|
|
|
|
class="filter-select"
|
|
|
|
|
clearable
|
|
|
|
|
size="small"
|
2026-04-08 15:34:49 +08:00
|
|
|
:teleported="false"
|
2026-04-03 18:08:42 +08:00
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in regionOptions"
|
|
|
|
|
:key="item.value"
|
|
|
|
|
:label="item.label"
|
|
|
|
|
:value="item.value"
|
|
|
|
|
/>
|
|
|
|
|
</el-select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="filter-item">
|
2026-04-08 15:34:49 +08:00
|
|
|
<span class="filter-label">是否失效</span>
|
2026-04-03 18:08:42 +08:00
|
|
|
<el-select
|
|
|
|
|
v-model="filterForm.isEnded"
|
|
|
|
|
placeholder="请选择"
|
|
|
|
|
class="filter-select"
|
|
|
|
|
clearable
|
|
|
|
|
size="small"
|
2026-04-08 15:34:49 +08:00
|
|
|
:teleported="false"
|
2026-04-03 18:08:42 +08:00
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in isEndedOptions"
|
|
|
|
|
:key="item.value"
|
|
|
|
|
:label="item.label"
|
|
|
|
|
:value="item.value"
|
|
|
|
|
/>
|
|
|
|
|
</el-select>
|
|
|
|
|
</div>
|
2026-04-08 15:34:49 +08:00
|
|
|
|
|
|
|
|
<div class="filter-item">
|
|
|
|
|
<span class="filter-label">生效时间</span>
|
|
|
|
|
<el-date-picker
|
|
|
|
|
v-model="dateRange"
|
|
|
|
|
type="daterange"
|
|
|
|
|
range-separator="-"
|
|
|
|
|
start-placeholder="开始时间"
|
|
|
|
|
end-placeholder="结束时间"
|
|
|
|
|
size="small"
|
|
|
|
|
popper-class="custom-date-picker"
|
|
|
|
|
:teleported="false"
|
|
|
|
|
:prefix-icon="Calendar"
|
|
|
|
|
@change="handleDateChange"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
2026-04-03 18:08:42 +08:00
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<!-- 预警等级列插槽 -->
|
2026-04-13 11:38:11 +08:00
|
|
|
<template #riskLeve="{ row }">
|
|
|
|
|
<span :class="['warning-level-tag', getWarningClass(row.riskLeve)]">{{
|
|
|
|
|
row.riskLeve
|
2026-04-08 15:34:49 +08:00
|
|
|
}}</span>
|
2026-04-03 18:08:42 +08:00
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<!-- 影响点数量列插槽 -->
|
|
|
|
|
<template #impactCount="{ row }">
|
|
|
|
|
<span class="impact-count" @click="handleImpactClick(row)">{{
|
|
|
|
|
row.impactCount
|
|
|
|
|
}}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</base-dialog>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script setup>
|
2026-04-15 16:40:35 +08:00
|
|
|
import { ref, computed, watch, onMounted, inject } from "vue";
|
2026-04-13 11:38:11 +08:00
|
|
|
import { Close, Calendar } from "@element-plus/icons-vue";
|
2026-04-03 18:08:42 +08:00
|
|
|
import {
|
|
|
|
|
warningLevelOptions,
|
|
|
|
|
regionOptions,
|
|
|
|
|
isEndedOptions,
|
|
|
|
|
} from "../component/index.js";
|
|
|
|
|
import baseDialog from "../component/baseDialog.vue";
|
2026-04-13 11:38:11 +08:00
|
|
|
import { request } from "@/utils/request";
|
2026-04-03 18:08:42 +08:00
|
|
|
|
2026-04-15 16:40:35 +08:00
|
|
|
// 注入日期范围
|
|
|
|
|
const getdateRange = inject("getdateRange", ref([]));
|
|
|
|
|
|
2026-04-03 18:08:42 +08:00
|
|
|
const props = defineProps({
|
|
|
|
|
visible: {
|
|
|
|
|
type: Boolean,
|
|
|
|
|
default: false,
|
|
|
|
|
},
|
|
|
|
|
});
|
|
|
|
|
|
2026-04-13 11:38:11 +08:00
|
|
|
const emit = defineEmits(["update:visible", "close", "impactClick"]);
|
2026-04-08 15:34:49 +08:00
|
|
|
|
2026-04-13 11:38:11 +08:00
|
|
|
// 初始化日期范围(当月)
|
|
|
|
|
const getDefaultDateRange = () => {
|
|
|
|
|
const now = new Date();
|
|
|
|
|
const start = new Date(now.getFullYear(), now.getMonth(), 1);
|
|
|
|
|
const end = new Date(now.getFullYear(), now.getMonth() + 1, 0, 23, 59, 59);
|
|
|
|
|
return [start, end];
|
2026-04-08 15:34:49 +08:00
|
|
|
};
|
2026-04-15 16:40:35 +08:00
|
|
|
|
|
|
|
|
// 日期范围器
|
|
|
|
|
const dateRange = ref(getDefaultDateRange());
|
|
|
|
|
|
2026-04-13 11:38:11 +08:00
|
|
|
onMounted(() => {
|
|
|
|
|
filterForm.value = {
|
|
|
|
|
riskLeve: "",
|
|
|
|
|
countyName: "",
|
|
|
|
|
isEnded: "",
|
|
|
|
|
dateRange: dateRange.value,
|
|
|
|
|
};
|
|
|
|
|
fetchWarningData();
|
|
|
|
|
});
|
2026-04-08 15:34:49 +08:00
|
|
|
|
2026-04-15 16:40:35 +08:00
|
|
|
// 监听注入的日期范围变化
|
|
|
|
|
watch(
|
|
|
|
|
() => getdateRange.value,
|
|
|
|
|
(newVal) => {
|
|
|
|
|
console.log("warningSituationDialog.vue 日期范围变化:", newVal);
|
|
|
|
|
if (newVal && newVal.length === 2) {
|
|
|
|
|
dateRange.value = newVal;
|
|
|
|
|
filterForm.value.dateRange = newVal;
|
|
|
|
|
// 重新获取数据
|
|
|
|
|
fetchWarningData();
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{ deep: true, immediate: true },
|
|
|
|
|
);
|
2026-04-03 18:08:42 +08:00
|
|
|
|
|
|
|
|
// 筛选表单
|
|
|
|
|
const filterForm = ref({
|
2026-04-13 11:38:11 +08:00
|
|
|
riskLeve: "",
|
|
|
|
|
countyName: "",
|
2026-04-03 18:08:42 +08:00
|
|
|
isEnded: "",
|
2026-04-13 11:38:11 +08:00
|
|
|
dateRange: dateRange.value,
|
2026-04-03 18:08:42 +08:00
|
|
|
});
|
|
|
|
|
|
2026-04-13 11:38:11 +08:00
|
|
|
// 处理日期范围变化
|
|
|
|
|
const handleDateChange = (val) => {
|
|
|
|
|
filterForm.value.dateRange = val;
|
|
|
|
|
};
|
|
|
|
|
|
2026-04-03 18:08:42 +08:00
|
|
|
// 预警等级选项
|
|
|
|
|
// 已从 index.js 导入
|
|
|
|
|
|
|
|
|
|
// 影响区域选项
|
|
|
|
|
// 已从 index.js 导入
|
|
|
|
|
|
|
|
|
|
// 是否结束选项
|
|
|
|
|
// 已从 index.js 导入
|
|
|
|
|
|
|
|
|
|
// 表格高度
|
|
|
|
|
const tableHeight = ref(300);
|
|
|
|
|
|
|
|
|
|
// 表格列配置
|
|
|
|
|
const tableColumns = ref([
|
2026-04-08 15:34:49 +08:00
|
|
|
{ prop: "index", label: "序号", width: "" },
|
|
|
|
|
{
|
2026-04-13 11:38:11 +08:00
|
|
|
prop: "riskLeve",
|
2026-04-08 15:34:49 +08:00
|
|
|
label: "预警等级",
|
|
|
|
|
width: "",
|
2026-04-13 11:38:11 +08:00
|
|
|
slot: "riskLeve",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: "来源",
|
|
|
|
|
prop: "source",
|
|
|
|
|
width: "",
|
2026-04-08 15:34:49 +08:00
|
|
|
},
|
|
|
|
|
{ prop: "weatherType", label: "气象类型", width: "" },
|
2026-04-13 11:38:11 +08:00
|
|
|
{ prop: "countyName", label: "影响区域", width: "" },
|
2026-04-08 15:34:49 +08:00
|
|
|
{ prop: "warningTime", label: "生效时间", width: "" },
|
|
|
|
|
{ prop: "endTime", label: "失效时间", width: "" },
|
|
|
|
|
{
|
|
|
|
|
prop: "impactCount",
|
|
|
|
|
label: "影响点数量",
|
|
|
|
|
width: "",
|
|
|
|
|
slot: "impactCount",
|
|
|
|
|
},
|
2026-04-03 18:08:42 +08:00
|
|
|
]);
|
|
|
|
|
|
|
|
|
|
// 表格数据
|
2026-04-13 11:38:11 +08:00
|
|
|
const tableData = ref([]);
|
|
|
|
|
|
2026-04-03 18:08:42 +08:00
|
|
|
// 分页
|
|
|
|
|
const currentPage = ref(1);
|
|
|
|
|
const pageSize = ref(10);
|
2026-04-13 11:38:11 +08:00
|
|
|
const total = ref(0);
|
|
|
|
|
|
|
|
|
|
// 加载状态
|
|
|
|
|
const loading = ref(false);
|
|
|
|
|
|
|
|
|
|
// 获取预警数据
|
|
|
|
|
const fetchWarningData = async () => {
|
|
|
|
|
loading.value = true;
|
|
|
|
|
try {
|
|
|
|
|
const params = {
|
|
|
|
|
offset: currentPage.value,
|
|
|
|
|
limit: pageSize.value,
|
|
|
|
|
start: "",
|
|
|
|
|
end: "",
|
|
|
|
|
riskLevel: "",
|
|
|
|
|
weatherType: "",
|
|
|
|
|
isExpire: "",
|
|
|
|
|
countyName: "",
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// 添加筛选条件
|
|
|
|
|
if (filterForm.value.riskLeve) {
|
|
|
|
|
params.riskLevel = filterForm.value.riskLeve;
|
|
|
|
|
}
|
|
|
|
|
if (filterForm.value.countyName) {
|
|
|
|
|
params.countyName = filterForm.value.countyName;
|
|
|
|
|
}
|
|
|
|
|
if (
|
|
|
|
|
filterForm.value.isEnded !== undefined &&
|
|
|
|
|
filterForm.value.isEnded !== ""
|
|
|
|
|
) {
|
|
|
|
|
params.isExpire = filterForm.value.isEnded;
|
|
|
|
|
}
|
|
|
|
|
if (filterForm.value.dateRange && filterForm.value.dateRange.length === 2) {
|
|
|
|
|
params.start = formatDateTime(filterForm.value.dateRange[0]);
|
|
|
|
|
params.end = formatDateTime(filterForm.value.dateRange[1]);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const res = await request({
|
|
|
|
|
url: "/snow-ops-platform/weather-warning/affected-count/_by_weather",
|
|
|
|
|
method: "GET",
|
|
|
|
|
params,
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
if (res.code === "00000" && res.data) {
|
|
|
|
|
// 处理返回数据
|
|
|
|
|
const list = res.data.data || res.data.records || [];
|
|
|
|
|
total.value = res.data.total || 0;
|
|
|
|
|
|
|
|
|
|
tableData.value = list.map((item, index) => ({
|
|
|
|
|
index: index + 1,
|
|
|
|
|
riskLeve: item.riskLeve || "-",
|
|
|
|
|
weatherType: item.weatherType || "-",
|
|
|
|
|
countyName: item.countyName || "-",
|
|
|
|
|
source: item.source || "-",
|
|
|
|
|
warningTime: item.startTime || "-",
|
|
|
|
|
endTime: item.endTime || "-",
|
|
|
|
|
impactCount: item.affectedCount || 0,
|
|
|
|
|
}));
|
|
|
|
|
} else {
|
|
|
|
|
tableData.value = [];
|
|
|
|
|
total.value = 0;
|
|
|
|
|
}
|
|
|
|
|
} catch (error) {
|
|
|
|
|
console.error("获取预警数据失败:", error);
|
|
|
|
|
tableData.value = [];
|
|
|
|
|
total.value = 0;
|
|
|
|
|
} finally {
|
|
|
|
|
loading.value = false;
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// 格式化日期时间
|
|
|
|
|
const formatDateTime = (date) => {
|
|
|
|
|
if (!date) return "";
|
|
|
|
|
const d = new Date(date);
|
|
|
|
|
const year = d.getFullYear();
|
|
|
|
|
const month = String(d.getMonth() + 1).padStart(2, "0");
|
|
|
|
|
const day = String(d.getDate()).padStart(2, "0");
|
|
|
|
|
const hours = String(d.getHours()).padStart(2, "0");
|
|
|
|
|
const minutes = String(d.getMinutes()).padStart(2, "0");
|
|
|
|
|
const seconds = String(d.getSeconds()).padStart(2, "0");
|
|
|
|
|
return `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`;
|
|
|
|
|
};
|
2026-04-03 18:08:42 +08:00
|
|
|
|
|
|
|
|
// 获取预警等级样式类
|
|
|
|
|
const getWarningClass = (level) => {
|
|
|
|
|
const classMap = {
|
|
|
|
|
红色预警: "warning-red",
|
|
|
|
|
橙色预警: "warning-orange",
|
|
|
|
|
黄色预警: "warning-yellow",
|
|
|
|
|
蓝色预警: "warning-blue",
|
|
|
|
|
};
|
|
|
|
|
return classMap[level] || "";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// 关闭对话框
|
|
|
|
|
const handleClose = () => {
|
|
|
|
|
emit("update:visible", false);
|
|
|
|
|
emit("close");
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// 点击影响点数量
|
|
|
|
|
const handleImpactClick = (item) => {
|
|
|
|
|
emit("impactClick", item);
|
2026-04-15 16:40:35 +08:00
|
|
|
emit("impactClickItem", {
|
|
|
|
|
...item,
|
|
|
|
|
dateRange: filterForm.value.dateRange || [],
|
|
|
|
|
riskLeve: filterForm.value.riskLeve || "",
|
|
|
|
|
});
|
2026-04-03 18:08:42 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// 分页操作
|
|
|
|
|
const handleSizeChange = (val) => {
|
|
|
|
|
pageSize.value = val;
|
2026-04-13 11:38:11 +08:00
|
|
|
fetchWarningData();
|
2026-04-03 18:08:42 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
const handleCurrentChange = (val) => {
|
|
|
|
|
currentPage.value = val;
|
2026-04-13 11:38:11 +08:00
|
|
|
fetchWarningData();
|
2026-04-03 18:08:42 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// 监听visible变化
|
|
|
|
|
watch(
|
|
|
|
|
() => props.visible,
|
|
|
|
|
(newVal) => {
|
|
|
|
|
if (newVal) {
|
|
|
|
|
currentPage.value = 1;
|
2026-04-13 11:38:11 +08:00
|
|
|
fetchWarningData();
|
2026-04-03 18:08:42 +08:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
);
|
2026-04-13 11:38:11 +08:00
|
|
|
|
|
|
|
|
// 监听筛选条件变化
|
|
|
|
|
watch(
|
|
|
|
|
() => filterForm.value,
|
|
|
|
|
() => {
|
|
|
|
|
currentPage.value = 1;
|
|
|
|
|
fetchWarningData();
|
|
|
|
|
},
|
|
|
|
|
{ deep: true },
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
// 同步 dateRange 和 filterForm.dateRange
|
|
|
|
|
watch(
|
|
|
|
|
() => dateRange.value,
|
|
|
|
|
(newVal) => {
|
|
|
|
|
filterForm.value.dateRange = newVal;
|
|
|
|
|
},
|
|
|
|
|
{ deep: true },
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
watch(
|
|
|
|
|
() => filterForm.value.dateRange,
|
|
|
|
|
(newVal) => {
|
|
|
|
|
dateRange.value = newVal;
|
|
|
|
|
},
|
|
|
|
|
{ deep: true },
|
|
|
|
|
);
|
2026-04-03 18:08:42 +08:00
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
2026-04-08 15:34:49 +08:00
|
|
|
// 筛选区域样式
|
|
|
|
|
.filter-item {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 8px;
|
2026-04-03 18:08:42 +08:00
|
|
|
|
2026-04-08 15:34:49 +08:00
|
|
|
.filter-label {
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
color: rgba(255, 255, 255, 0.8);
|
|
|
|
|
white-space: nowrap;
|
2026-04-03 18:08:42 +08:00
|
|
|
}
|
|
|
|
|
|
2026-04-08 15:34:49 +08:00
|
|
|
.filter-select {
|
|
|
|
|
width: 120px;
|
2026-04-03 18:08:42 +08:00
|
|
|
|
2026-04-08 15:34:49 +08:00
|
|
|
:deep(.el-input__wrapper) {
|
|
|
|
|
background-color: rgba(30, 70, 120, 0.4);
|
|
|
|
|
border: 1px solid rgba(64, 169, 255, 0.3);
|
|
|
|
|
box-shadow: none;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
width: 210px !important;
|
2026-04-03 18:08:42 +08:00
|
|
|
|
2026-04-08 15:34:49 +08:00
|
|
|
.el-input__inner {
|
2026-04-03 18:08:42 +08:00
|
|
|
color: #fff;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
|
|
|
|
&::placeholder {
|
|
|
|
|
color: rgba(255, 255, 255, 0.4);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-08 15:34:49 +08:00
|
|
|
.el-input__suffix {
|
|
|
|
|
.el-icon {
|
|
|
|
|
color: rgba(255, 255, 255, 0.6);
|
|
|
|
|
}
|
2026-04-03 18:08:42 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-08 15:34:49 +08:00
|
|
|
// 预警等级标签
|
|
|
|
|
.warning-level-tag {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
padding: 2px 10px;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
font-weight: 500;
|
2026-04-03 18:08:42 +08:00
|
|
|
|
2026-04-08 15:34:49 +08:00
|
|
|
&.warning-red {
|
|
|
|
|
background-color: rgba(255, 77, 79, 0.2);
|
|
|
|
|
color: #ff4d4f;
|
|
|
|
|
border: 1px solid rgba(255, 77, 79, 0.4);
|
2026-04-03 18:08:42 +08:00
|
|
|
}
|
|
|
|
|
|
2026-04-08 15:34:49 +08:00
|
|
|
&.warning-orange {
|
|
|
|
|
background-color: rgba(255, 122, 0, 0.2);
|
|
|
|
|
color: #ff7a00;
|
|
|
|
|
border: 1px solid rgba(255, 122, 0, 0.4);
|
2026-04-03 18:08:42 +08:00
|
|
|
}
|
|
|
|
|
|
2026-04-08 15:34:49 +08:00
|
|
|
&.warning-yellow {
|
|
|
|
|
background-color: rgba(250, 219, 20, 0.2);
|
|
|
|
|
color: #fadb14;
|
|
|
|
|
border: 1px solid rgba(250, 219, 20, 0.4);
|
|
|
|
|
}
|
2026-04-03 18:08:42 +08:00
|
|
|
|
2026-04-08 15:34:49 +08:00
|
|
|
&.warning-blue {
|
|
|
|
|
background-color: rgba(64, 169, 255, 0.2);
|
|
|
|
|
color: #40a9ff;
|
|
|
|
|
border: 1px solid rgba(64, 169, 255, 0.4);
|
2026-04-03 18:08:42 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-08 15:34:49 +08:00
|
|
|
// 影响点数量
|
|
|
|
|
.impact-count {
|
|
|
|
|
color: #ff4d4f;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
transition: all 0.3s;
|
2026-04-03 18:08:42 +08:00
|
|
|
|
2026-04-08 15:34:49 +08:00
|
|
|
&:hover {
|
|
|
|
|
color: #ff7875;
|
|
|
|
|
text-shadow: 0 0 8px rgba(255, 77, 79, 0.6);
|
2026-04-03 18:08:42 +08:00
|
|
|
}
|
|
|
|
|
}
|
2026-04-08 15:34:49 +08:00
|
|
|
// 筛选区域
|
|
|
|
|
.filter-section {
|
|
|
|
|
margin-bottom: vw(20);
|
2026-04-03 18:08:42 +08:00
|
|
|
|
2026-04-08 15:34:49 +08:00
|
|
|
.filter-row {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
gap: 12px;
|
|
|
|
|
}
|
2026-04-03 18:08:42 +08:00
|
|
|
|
2026-04-08 15:34:49 +08:00
|
|
|
.filter-item {
|
|
|
|
|
.filter-select {
|
|
|
|
|
width: vw(150);
|
2026-04-03 18:08:42 +08:00
|
|
|
|
2026-04-08 15:34:49 +08:00
|
|
|
:deep(.el-input__wrapper) {
|
|
|
|
|
background-color: rgba(30, 70, 120, 0.4);
|
|
|
|
|
border: 1px solid rgba(64, 169, 255, 0.3);
|
|
|
|
|
box-shadow: none;
|
|
|
|
|
border-radius: vw(4);
|
2026-04-03 18:08:42 +08:00
|
|
|
|
2026-04-08 15:34:49 +08:00
|
|
|
.el-input__inner {
|
|
|
|
|
color: #fff;
|
|
|
|
|
font-size: vw(13);
|
2026-04-03 18:08:42 +08:00
|
|
|
|
2026-04-08 15:34:49 +08:00
|
|
|
&::placeholder {
|
|
|
|
|
color: rgba(255, 255, 255, 0.5);
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-04-03 18:08:42 +08:00
|
|
|
|
2026-04-08 15:34:49 +08:00
|
|
|
.el-input__suffix {
|
|
|
|
|
.el-icon {
|
|
|
|
|
color: rgba(255, 255, 255, 0.6);
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-04-03 18:08:42 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-08 15:34:49 +08:00
|
|
|
.search-btn {
|
2026-04-03 18:08:42 +08:00
|
|
|
background: linear-gradient(135deg, #40a9ff 0%, #1890ff 100%);
|
|
|
|
|
border: none;
|
2026-04-08 15:34:49 +08:00
|
|
|
border-radius: vw(4);
|
|
|
|
|
padding: 0 vw(24);
|
|
|
|
|
height: vw(32);
|
|
|
|
|
font-size: vw(13);
|
2026-04-03 18:08:42 +08:00
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
background: linear-gradient(135deg, #69c0ff 0%, #40a9ff 100%);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-08 15:34:49 +08:00
|
|
|
:deep(.el-range-editor.el-input__wrapper) {
|
|
|
|
|
width: 240px !important;
|
|
|
|
|
height: 30px !important;
|
2026-04-13 11:38:11 +08:00
|
|
|
background-color: #122c46 !important;
|
2026-04-03 18:08:42 +08:00
|
|
|
}
|
|
|
|
|
</style>
|