|
@@ -21,7 +21,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="card-header" style="justify-content: space-between;">
|
|
|
+ <div class="card-header" style="justify-content: space-between">
|
|
|
<div class="flex">
|
|
|
<i class="icon-line" />
|
|
|
<div class="text">威胁人员规模</div>
|
|
@@ -36,7 +36,7 @@
|
|
|
<div class="text2">威胁100至1000人</div>
|
|
|
<div class="text3">威胁10人至100人</div>
|
|
|
<div class="text4">威胁10人以下</div>
|
|
|
- <div class="pyramid"></div>
|
|
|
+ <div class="pyramid" />
|
|
|
<div class="text5">1</div>
|
|
|
<div class="text6">46</div>
|
|
|
<div class="text7">91</div>
|
|
@@ -44,12 +44,12 @@
|
|
|
</div>
|
|
|
<div class="box1">
|
|
|
<van-search
|
|
|
- placeholder="请输入位置信息"
|
|
|
- v-model="queryParams.keyword"
|
|
|
- class="common-search"
|
|
|
- :left-icon="searchImg"
|
|
|
- show-action
|
|
|
- @search="onSearchKeyword"
|
|
|
+ v-model="queryParams.keyword"
|
|
|
+ placeholder="请输入位置信息"
|
|
|
+ class="common-search"
|
|
|
+ :left-icon="searchImg"
|
|
|
+ show-action
|
|
|
+ @search="onSearchKeyword"
|
|
|
>
|
|
|
<template #action>
|
|
|
<div class="search-btn" @click="onSearchKeyword">搜索</div>
|
|
@@ -57,12 +57,12 @@
|
|
|
</van-search>
|
|
|
</div>
|
|
|
<Map
|
|
|
- ref="mapRef"
|
|
|
- class="map"
|
|
|
- active-map="satellite"
|
|
|
- :event-details="eventDetails"
|
|
|
- style="height: 308px"
|
|
|
- @onLoadCompleted="initData"
|
|
|
+ ref="mapRef"
|
|
|
+ class="map"
|
|
|
+ active-map="satellite"
|
|
|
+ :event-details="eventDetails"
|
|
|
+ style="height: 308px"
|
|
|
+ @onLoadCompleted="initData"
|
|
|
/>
|
|
|
<div class="card-content3">
|
|
|
<div class="card-box">
|
|
@@ -89,28 +89,58 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="card-box2">
|
|
|
- <div v-for="(item, index) in menu1" :key="index" :class="item.checked ? 'card-item checked' : 'card-item'" @click="handleClick(item)">
|
|
|
- <i class="icon" :style="{ backgroundImage: 'url('+ item.icon +')'}" />
|
|
|
+ <div
|
|
|
+ v-for="(item, index) in menu1"
|
|
|
+ :key="index"
|
|
|
+ :class="item.checked ? 'card-item checked' : 'card-item'"
|
|
|
+ @click="handleClick(item)"
|
|
|
+ >
|
|
|
+ <i
|
|
|
+ class="icon"
|
|
|
+ :style="{ backgroundImage: 'url(' + item.icon + ')' }"
|
|
|
+ />
|
|
|
<div class="text1">{{ item.name }}</div>
|
|
|
<div>{{ item.num }}</div>
|
|
|
</div>
|
|
|
<div class="card-item" @click="showMenu = !showMenu">
|
|
|
- <i class="icon" :style="{ backgroundImage: 'url('+ getImageUrl('icon5.png') +')'}" />
|
|
|
- <div class="text1" style="color: #2C81FF">{{ showMenu ? '收起' : '展开' }}</div>
|
|
|
+ <i
|
|
|
+ class="icon"
|
|
|
+ :style="{
|
|
|
+ backgroundImage: 'url(' + getImageUrl('icon5.png') + ')'
|
|
|
+ }"
|
|
|
+ />
|
|
|
+ <div class="text1" style="color: #2c81ff">
|
|
|
+ {{ showMenu ? "收起" : "展开" }}
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div v-show="showMenu" class="card-box2">
|
|
|
- <div v-for="(item, index) in menu2" :key="index" :class="item.checked ? 'card-item checked' : 'card-item'" @click="handleClick(item)">
|
|
|
- <i class="icon" :style="{ backgroundImage: 'url('+ item.icon +')'}" />
|
|
|
+ <div
|
|
|
+ v-for="(item, index) in menu2"
|
|
|
+ :key="index"
|
|
|
+ :class="item.checked ? 'card-item checked' : 'card-item'"
|
|
|
+ @click="handleClick(item)"
|
|
|
+ >
|
|
|
+ <i
|
|
|
+ class="icon"
|
|
|
+ :style="{ backgroundImage: 'url(' + item.icon + ')' }"
|
|
|
+ />
|
|
|
<div class="text1">{{ item.name }}</div>
|
|
|
<div>{{ item.num }}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <el-table :data="detailsData.dataList" border table-layout='auto' header-cell-class-name="common-table-header" :row-class-name="getTableRowClass" class="common-table">
|
|
|
+ <el-table
|
|
|
+ :data="detailsData.dataList"
|
|
|
+ border
|
|
|
+ table-layout="auto"
|
|
|
+ header-cell-class-name="common-table-header"
|
|
|
+ :row-class-name="getTableRowClass"
|
|
|
+ class="common-table"
|
|
|
+ >
|
|
|
<el-table-column label="县区" prop="area" align="center">
|
|
|
<template #header>
|
|
|
<div class="table-line" @click="showPicker = true">
|
|
|
- <div>{{ labelData.area ? labelData.area : '县区' }}</div>
|
|
|
+ <div>{{ labelData.area ? labelData.area : "县区" }}</div>
|
|
|
<i class="icon-down" />
|
|
|
</div>
|
|
|
</template>
|
|
@@ -118,26 +148,31 @@
|
|
|
<el-table-column label="镇街" prop="area" align="center">
|
|
|
<template #header>
|
|
|
<div class="table-line" @click="showPicker2 = true">
|
|
|
- <div>{{ labelData.country ? labelData.country : '镇街' }}</div>
|
|
|
+ <div>{{ labelData.country ? labelData.country : "镇街" }}</div>
|
|
|
<i class="icon-down" />
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="隐患点名称" prop="address" align="center" width="160px" />
|
|
|
+ <el-table-column
|
|
|
+ label="隐患点名称"
|
|
|
+ prop="address"
|
|
|
+ align="center"
|
|
|
+ width="160px"
|
|
|
+ />
|
|
|
<el-table-column label="隐患类型" prop="speed" align="center" />
|
|
|
</el-table>
|
|
|
<van-popup v-model:show="showPicker" round position="bottom">
|
|
|
<van-picker
|
|
|
- :columns="columns"
|
|
|
- @cancel="showPicker = false"
|
|
|
- @confirm="onSelectLevelConfirm"
|
|
|
+ :columns="columns"
|
|
|
+ @cancel="showPicker = false"
|
|
|
+ @confirm="onSelectLevelConfirm"
|
|
|
/>
|
|
|
</van-popup>
|
|
|
<van-popup v-model:show="showPicker2" round position="bottom">
|
|
|
<van-picker
|
|
|
- :columns="columns2"
|
|
|
- @cancel="showPicker2 = false"
|
|
|
- @confirm="onSelectLevelConfirm2"
|
|
|
+ :columns="columns2"
|
|
|
+ @cancel="showPicker2 = false"
|
|
|
+ @confirm="onSelectLevelConfirm2"
|
|
|
/>
|
|
|
</van-popup>
|
|
|
</div>
|
|
@@ -147,68 +182,69 @@
|
|
|
|
|
|
<script lang="ts" setup name="geologicalDisaster">
|
|
|
import searchImg from "@/assets/images/search.png";
|
|
|
-import {onMounted, reactive, ref} from "vue";
|
|
|
-import {ElTable, ElTableColumn} from "element-plus";
|
|
|
-const getImageUrl = (name) => {
|
|
|
- return new URL(`../../assets/images/disasterRiskMonitor/geologicalDisaster/${name}`, import.meta.url).href;
|
|
|
+import { onMounted, reactive, ref } from "vue";
|
|
|
+import { ElTable, ElTableColumn } from "element-plus";
|
|
|
+const getImageUrl = name => {
|
|
|
+ return new URL(
|
|
|
+ `../../assets/images/disasterRiskMonitor/geologicalDisaster/${name}`,
|
|
|
+ import.meta.url
|
|
|
+ ).href;
|
|
|
};
|
|
|
const queryParams = reactive({
|
|
|
- keyword: '',
|
|
|
+ keyword: "",
|
|
|
page: 0,
|
|
|
pageSize: 10
|
|
|
});
|
|
|
let mapRef = ref();
|
|
|
let menu1 = ref([
|
|
|
- { name: '特大型', icon: getImageUrl('icon1.png'), num: 0, checked: true },
|
|
|
- { name: '大型', icon: getImageUrl('icon2.png'), num: 0, checked: true },
|
|
|
- { name: '中型', icon: getImageUrl('icon3.png'), num: 0, checked: true },
|
|
|
- { name: '小型', icon: getImageUrl('icon4.png'), num: 0, checked: true },
|
|
|
+ { name: "特大型", icon: getImageUrl("icon1.png"), num: 0, checked: true },
|
|
|
+ { name: "大型", icon: getImageUrl("icon2.png"), num: 0, checked: true },
|
|
|
+ { name: "中型", icon: getImageUrl("icon3.png"), num: 0, checked: true },
|
|
|
+ { name: "小型", icon: getImageUrl("icon4.png"), num: 0, checked: true }
|
|
|
]);
|
|
|
let showMenu = ref(true);
|
|
|
let menu2 = ref([
|
|
|
- { name: '地面沉降', icon: getImageUrl('icon6.png'), num: 0, checked: true },
|
|
|
- { name: '不稳定斜坡', icon: getImageUrl('icon7.png'), num: 0, checked: true },
|
|
|
- { name: '地裂缝', icon: getImageUrl('icon8.png'), num: 0, checked: true },
|
|
|
- { name: '地面塌陷', icon: getImageUrl('icon9.png'), num: 0, checked: true },
|
|
|
- { name: '泥石流', icon: getImageUrl('icon10.png'), num: 0, checked: true },
|
|
|
- { name: '崩塌', icon: getImageUrl('icon11.png'), num: 0, checked: true },
|
|
|
- { name: '滑坡', icon: getImageUrl('icon12.png'), num: 0, checked: true }
|
|
|
+ { name: "地面沉降", icon: getImageUrl("icon6.png"), num: 0, checked: true },
|
|
|
+ { name: "不稳定斜坡", icon: getImageUrl("icon7.png"), num: 0, checked: true },
|
|
|
+ { name: "地裂缝", icon: getImageUrl("icon8.png"), num: 0, checked: true },
|
|
|
+ { name: "地面塌陷", icon: getImageUrl("icon9.png"), num: 0, checked: true },
|
|
|
+ { name: "泥石流", icon: getImageUrl("icon10.png"), num: 0, checked: true },
|
|
|
+ { name: "崩塌", icon: getImageUrl("icon11.png"), num: 0, checked: true },
|
|
|
+ { name: "滑坡", icon: getImageUrl("icon12.png"), num: 0, checked: true }
|
|
|
]);
|
|
|
let pointData = ref([]);
|
|
|
let eventDetails = ref({});
|
|
|
const labelData = reactive({
|
|
|
- area: '',
|
|
|
- country: ''
|
|
|
-})
|
|
|
+ area: "",
|
|
|
+ country: ""
|
|
|
+});
|
|
|
const columns = ref([
|
|
|
- { text: '全部', value: '' },
|
|
|
- { text: '滨海新区', value: '0' },
|
|
|
- { text: '信宜', value: '1' },
|
|
|
- { text: '电白', value: '2' },
|
|
|
- { text: '高州', value: '3' }
|
|
|
-])
|
|
|
+ { text: "全部", value: "" },
|
|
|
+ { text: "滨海新区", value: "0" },
|
|
|
+ { text: "信宜", value: "1" },
|
|
|
+ { text: "电白", value: "2" },
|
|
|
+ { text: "高州", value: "3" }
|
|
|
+]);
|
|
|
const columns2 = ref([
|
|
|
- { text: '全部', value: '' },
|
|
|
- { text: '滨海新区2', value: '0' },
|
|
|
- { text: '信宜2', value: '1' },
|
|
|
- { text: '电白2', value: '2' },
|
|
|
- { text: '高州2', value: '3' }
|
|
|
-])
|
|
|
+ { text: "全部", value: "" },
|
|
|
+ { text: "滨海新区2", value: "0" },
|
|
|
+ { text: "信宜2", value: "1" },
|
|
|
+ { text: "电白2", value: "2" },
|
|
|
+ { text: "高州2", value: "3" }
|
|
|
+]);
|
|
|
let showPicker = ref(false);
|
|
|
let showPicker2 = ref(false);
|
|
|
const queryParams2 = reactive({
|
|
|
- area: '',
|
|
|
- country: ''
|
|
|
+ area: "",
|
|
|
+ country: ""
|
|
|
});
|
|
|
let detailsData = ref({
|
|
|
dataList: []
|
|
|
-})
|
|
|
-const handleClick = (item) => {
|
|
|
+});
|
|
|
+const handleClick = item => {
|
|
|
item.checked = !item.checked;
|
|
|
};
|
|
|
-const getList = () => {
|
|
|
-
|
|
|
-}
|
|
|
+const getList = () => {};
|
|
|
// 搜索关键字变化时触发的方法
|
|
|
function onSearchKeyword(keyword) {
|
|
|
// 根据搜索关键字更新查询参数
|
|
@@ -225,61 +261,66 @@ const onSearchCancel = () => {
|
|
|
queryParams.page = 0;
|
|
|
// 刷新列表数据
|
|
|
getList();
|
|
|
-}
|
|
|
-const onSelectLevelConfirm = ({selectedOptions}) => {
|
|
|
+};
|
|
|
+const onSelectLevelConfirm = ({ selectedOptions }) => {
|
|
|
showPicker.value = false;
|
|
|
- labelData.area = selectedOptions[0].text === '全部' ? '县区' :selectedOptions[0].text;
|
|
|
+ labelData.area =
|
|
|
+ selectedOptions[0].text === "全部" ? "县区" : selectedOptions[0].text;
|
|
|
queryParams2.area = selectedOptions[0].value;
|
|
|
initData();
|
|
|
};
|
|
|
-const onSelectLevelConfirm2 = ({selectedOptions}) => {
|
|
|
+const onSelectLevelConfirm2 = ({ selectedOptions }) => {
|
|
|
showPicker2.value = false;
|
|
|
- labelData.country = selectedOptions[0].text === '全部' ? '镇街' :selectedOptions[0].text;
|
|
|
+ labelData.country =
|
|
|
+ selectedOptions[0].text === "全部" ? "镇街" : selectedOptions[0].text;
|
|
|
queryParams2.country = selectedOptions[0].value;
|
|
|
initData();
|
|
|
};
|
|
|
let iconList = reactive({
|
|
|
- '1': {
|
|
|
- image: getImageUrl('icon6.png'),
|
|
|
+ "1": {
|
|
|
+ image: getImageUrl("icon6.png"),
|
|
|
size: [20, 20]
|
|
|
},
|
|
|
- '2': {
|
|
|
- image: getImageUrl('icon7.png'),
|
|
|
+ "2": {
|
|
|
+ image: getImageUrl("icon7.png"),
|
|
|
size: [20, 20]
|
|
|
},
|
|
|
- '3': {
|
|
|
- image: getImageUrl('icon8.png'),
|
|
|
+ "3": {
|
|
|
+ image: getImageUrl("icon8.png"),
|
|
|
size: [20, 20]
|
|
|
},
|
|
|
- '4': {
|
|
|
- image: getImageUrl('icon9.png'),
|
|
|
+ "4": {
|
|
|
+ image: getImageUrl("icon9.png"),
|
|
|
size: [20, 20]
|
|
|
},
|
|
|
- '5': {
|
|
|
- image: getImageUrl('icon10.png'),
|
|
|
+ "5": {
|
|
|
+ image: getImageUrl("icon10.png"),
|
|
|
size: [20, 20]
|
|
|
},
|
|
|
- '6': {
|
|
|
- image: getImageUrl('icon11.png'),
|
|
|
+ "6": {
|
|
|
+ image: getImageUrl("icon11.png"),
|
|
|
size: [20, 20]
|
|
|
},
|
|
|
- '7': {
|
|
|
- image: getImageUrl('icon12.png'),
|
|
|
+ "7": {
|
|
|
+ image: getImageUrl("icon12.png"),
|
|
|
size: [20, 20]
|
|
|
}
|
|
|
});
|
|
|
const initData = () => {
|
|
|
- const dom = mapRef.value;
|
|
|
+ const dom = mapRef.value;
|
|
|
let data = [
|
|
|
{
|
|
|
name: "化州市Mavic3-02",
|
|
|
longitude: "110.598868",
|
|
|
latitude: "21.870341",
|
|
|
- dataType: '1',
|
|
|
+ dataType: "1"
|
|
|
}
|
|
|
- ]
|
|
|
- data.forEach((item) => {
|
|
|
- const icon = (item.dataType && !!iconList[item.dataType].image) ? iconList[item.dataType].image : ''
|
|
|
+ ];
|
|
|
+ data.forEach(item => {
|
|
|
+ const icon =
|
|
|
+ item.dataType && !!iconList[item.dataType].image
|
|
|
+ ? iconList[item.dataType].image
|
|
|
+ : "";
|
|
|
item.icon = icon;
|
|
|
item.image = icon;
|
|
|
item.imageHover = icon;
|
|
@@ -287,19 +328,24 @@ const initData = () => {
|
|
|
item.lnglat = [item.longitude, item.latitude];
|
|
|
});
|
|
|
dom.addMarker(data);
|
|
|
-}
|
|
|
+};
|
|
|
const getTableData = () => {
|
|
|
detailsData.value.dataList = [
|
|
|
- { area: '电白', type: '滨海新区', address: '但是看了放进塑料袋发艰苦拉萨的飞机快乐设计逻辑地', speed: '12.1' },
|
|
|
- ]
|
|
|
-}
|
|
|
+ {
|
|
|
+ area: "电白",
|
|
|
+ type: "滨海新区",
|
|
|
+ address: "但是看了放进塑料袋发艰苦拉萨的飞机快乐设计逻辑地",
|
|
|
+ speed: "12.1"
|
|
|
+ }
|
|
|
+ ];
|
|
|
+};
|
|
|
// table样式
|
|
|
-const getTableRowClass = ({rowIndex}) => {
|
|
|
- return rowIndex % 2 === 0 ? '' : 'common-table-tr';
|
|
|
-}
|
|
|
+const getTableRowClass = ({ rowIndex }) => {
|
|
|
+ return rowIndex % 2 === 0 ? "" : "common-table-tr";
|
|
|
+};
|
|
|
onMounted(() => {
|
|
|
- getTableData()
|
|
|
-})
|
|
|
+ getTableData();
|
|
|
+});
|
|
|
</script>
|
|
|
|
|
|
<style scoped lang="scss">
|
|
@@ -319,7 +365,7 @@ onMounted(() => {
|
|
|
}
|
|
|
.card-header {
|
|
|
font-size: 16px;
|
|
|
- color: #414F64;
|
|
|
+ color: #414f64;
|
|
|
font-weight: bold;
|
|
|
line-height: 26px;
|
|
|
padding: 11px 10px;
|
|
@@ -333,7 +379,7 @@ onMounted(() => {
|
|
|
display: inline-block;
|
|
|
width: 6px;
|
|
|
height: 16px;
|
|
|
- background: url('@/assets/images/line.jpg') no-repeat;
|
|
|
+ background: url("@/assets/images/line.jpg") no-repeat;
|
|
|
background-size: 100% 100%;
|
|
|
margin-right: 3px;
|
|
|
}
|
|
@@ -343,24 +389,27 @@ onMounted(() => {
|
|
|
justify-content: space-between;
|
|
|
padding: 0 10px;
|
|
|
.card1 {
|
|
|
- background: url('@/assets/images/disasterRiskMonitor/geologicalDisaster/card1.png') no-repeat;
|
|
|
+ background: url("@/assets/images/disasterRiskMonitor/geologicalDisaster/card1.png")
|
|
|
+ no-repeat;
|
|
|
.text2 {
|
|
|
font-size: 24px;
|
|
|
- color: #FF2F3C;
|
|
|
+ color: #ff2f3c;
|
|
|
font-weight: bold;
|
|
|
margin-right: 6px;
|
|
|
}
|
|
|
}
|
|
|
.card2 {
|
|
|
- background: url('@/assets/images/disasterRiskMonitor/geologicalDisaster/card2.png') no-repeat;
|
|
|
+ background: url("@/assets/images/disasterRiskMonitor/geologicalDisaster/card2.png")
|
|
|
+ no-repeat;
|
|
|
.text2 {
|
|
|
font-size: 24px;
|
|
|
- color: #FFAF00;
|
|
|
+ color: #ffaf00;
|
|
|
font-weight: bold;
|
|
|
margin-right: 6px;
|
|
|
}
|
|
|
}
|
|
|
- .card1, .card2 {
|
|
|
+ .card1,
|
|
|
+ .card2 {
|
|
|
width: 154px;
|
|
|
height: 104px;
|
|
|
background-size: 100% 100%;
|
|
@@ -370,33 +419,42 @@ onMounted(() => {
|
|
|
padding-left: 18px;
|
|
|
.text1 {
|
|
|
font-size: 14px;
|
|
|
- color: #414F64;
|
|
|
+ color: #414f64;
|
|
|
}
|
|
|
.text-box {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
font-size: 12px;
|
|
|
- color: #414F64;
|
|
|
+ color: #414f64;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
.card-content2 {
|
|
|
height: 173px;
|
|
|
- background: url('@/assets/images/disasterRiskMonitor/box.png') no-repeat center 114px;
|
|
|
+ background: url("@/assets/images/disasterRiskMonitor/box.png") no-repeat
|
|
|
+ center 114px;
|
|
|
background-size: 309px 59px;
|
|
|
position: relative;
|
|
|
padding-top: 15px;
|
|
|
.pyramid {
|
|
|
width: 311px;
|
|
|
height: 146px;
|
|
|
- background: url('@/assets/images/disasterRiskMonitor/geologicalDisaster/pyramid.png') no-repeat;
|
|
|
+ background: url("@/assets/images/disasterRiskMonitor/geologicalDisaster/pyramid.png")
|
|
|
+ no-repeat;
|
|
|
background-size: 100% 100%;
|
|
|
margin-left: 15px;
|
|
|
}
|
|
|
- .text1, .text2, .text3, .text4, .text5, .text6, .text7, .text8 {
|
|
|
+ .text1,
|
|
|
+ .text2,
|
|
|
+ .text3,
|
|
|
+ .text4,
|
|
|
+ .text5,
|
|
|
+ .text6,
|
|
|
+ .text7,
|
|
|
+ .text8 {
|
|
|
position: absolute;
|
|
|
font-size: 14px;
|
|
|
- color: #414F64;
|
|
|
+ color: #414f64;
|
|
|
}
|
|
|
.text1 {
|
|
|
top: 24px;
|
|
@@ -417,28 +475,28 @@ onMounted(() => {
|
|
|
.text5 {
|
|
|
right: 25px;
|
|
|
top: 24px;
|
|
|
- color: #FF2F3C;
|
|
|
+ color: #ff2f3c;
|
|
|
}
|
|
|
.text6 {
|
|
|
right: 25px;
|
|
|
top: 48px;
|
|
|
- color: #FFAF00;
|
|
|
+ color: #ffaf00;
|
|
|
}
|
|
|
.text7 {
|
|
|
right: 25px;
|
|
|
top: 72px;
|
|
|
- color: #2C81FF;
|
|
|
+ color: #2c81ff;
|
|
|
}
|
|
|
.text8 {
|
|
|
right: 25px;
|
|
|
top: 96px;
|
|
|
- color: #40C75F;
|
|
|
+ color: #40c75f;
|
|
|
}
|
|
|
.box {
|
|
|
width: 178px;
|
|
|
height: 18px;
|
|
|
opacity: 0.12;
|
|
|
- background-image: linear-gradient(180deg, #ff5c6f00 0%, #FF2F3C 100%);
|
|
|
+ background-image: linear-gradient(180deg, #ff5c6f00 0%, #ff2f3c 100%);
|
|
|
}
|
|
|
}
|
|
|
.box1 {
|
|
@@ -452,23 +510,26 @@ onMounted(() => {
|
|
|
.card-item {
|
|
|
width: 101px;
|
|
|
height: 104px;
|
|
|
- background: url("@/assets/images/disasterRiskMonitor/geologicalDisaster/card3.png") no-repeat;
|
|
|
+ background: url("@/assets/images/disasterRiskMonitor/geologicalDisaster/card3.png")
|
|
|
+ no-repeat;
|
|
|
background-size: 100% 100%;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
align-items: center;
|
|
|
padding-top: 9px;
|
|
|
&:nth-child(2) {
|
|
|
- background: url("@/assets/images/disasterRiskMonitor/geologicalDisaster/card4.png") no-repeat;
|
|
|
+ background: url("@/assets/images/disasterRiskMonitor/geologicalDisaster/card4.png")
|
|
|
+ no-repeat;
|
|
|
background-size: 100% 100%;
|
|
|
}
|
|
|
&:nth-child(3) {
|
|
|
- background: url("@/assets/images/disasterRiskMonitor/geologicalDisaster/card5.png") no-repeat;
|
|
|
+ background: url("@/assets/images/disasterRiskMonitor/geologicalDisaster/card5.png")
|
|
|
+ no-repeat;
|
|
|
background-size: 100% 100%;
|
|
|
}
|
|
|
.text1 {
|
|
|
font-size: 14px;
|
|
|
- color: #414F64;
|
|
|
+ color: #414f64;
|
|
|
line-height: 26px;
|
|
|
}
|
|
|
.text-box {
|
|
@@ -477,11 +538,11 @@ onMounted(() => {
|
|
|
.text2 {
|
|
|
font-size: 24px;
|
|
|
font-weight: bold;
|
|
|
- color: #FF2F3C;
|
|
|
+ color: #ff2f3c;
|
|
|
}
|
|
|
.text3 {
|
|
|
font-size: 12px;
|
|
|
- color: #414F64;
|
|
|
+ color: #414f64;
|
|
|
line-height: 26px;
|
|
|
margin-left: 5px;
|
|
|
}
|
|
@@ -497,7 +558,7 @@ onMounted(() => {
|
|
|
flex-direction: column;
|
|
|
align-items: center;
|
|
|
font-size: 12px;
|
|
|
- color: #7F8B9F;
|
|
|
+ color: #7f8b9f;
|
|
|
margin-right: 14px;
|
|
|
&:nth-child(1n) {
|
|
|
width: 48px;
|
|
@@ -527,14 +588,15 @@ onMounted(() => {
|
|
|
}
|
|
|
}
|
|
|
.checked {
|
|
|
- color: #2C81FF;
|
|
|
+ color: #2c81ff;
|
|
|
.icon {
|
|
|
position: relative;
|
|
|
&::before {
|
|
|
- content: '';
|
|
|
+ content: "";
|
|
|
width: 10px;
|
|
|
height: 11px;
|
|
|
- background: url("@/assets/images/disasterRiskMonitor/geologicalDisaster/checked.png") no-repeat;
|
|
|
+ background: url("@/assets/images/disasterRiskMonitor/geologicalDisaster/checked.png")
|
|
|
+ no-repeat;
|
|
|
background-size: 100% 100%;
|
|
|
position: absolute;
|
|
|
top: 0;
|
|
@@ -555,18 +617,18 @@ onMounted(() => {
|
|
|
flex-shrink: 0;
|
|
|
width: 14px;
|
|
|
height: 14px;
|
|
|
- background: url('@/assets/images/down.png') no-repeat;
|
|
|
+ background: url("@/assets/images/down.png") no-repeat;
|
|
|
background-size: 100% 100%;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
.common-search {
|
|
|
- border: 1px solid #DCE0EE;
|
|
|
+ border: 1px solid #dce0ee;
|
|
|
border-radius: 2px;
|
|
|
padding: 0;
|
|
|
:deep(.van-field__control) {
|
|
|
&::placeholder {
|
|
|
- color: #C9CFD9;
|
|
|
+ color: #c9cfd9;
|
|
|
}
|
|
|
}
|
|
|
:deep(.van-search__content) {
|
|
@@ -589,7 +651,7 @@ onMounted(() => {
|
|
|
}
|
|
|
.search-btn {
|
|
|
font-size: 14px;
|
|
|
- color: #2C81FF;
|
|
|
+ color: #2c81ff;
|
|
|
}
|
|
|
}
|
|
|
</style>
|