<template>
|
<div class="text2">
|
<div class="header">
|
<span class="title1">应急资源监控</span>
|
</div>
|
|
<div class="right_top_btn">救援力量></div>
|
|
<div class="content">
|
<div class="row_top">
|
<div class="text0">
|
行政区域:
|
<span style="color:#36d0f2;font-size: 20px;font-weight: 800;margin-left: 16px;">雁塔区</span>
|
</div>
|
</div>
|
<div class="row">
|
<div class="part" v-for="(item, index) in formData1" :key="index"
|
:style="{ backgroundImage: `url(${item.img})` }">
|
<div class="text">
|
<div class="text2">
|
<div class="text21">{{ item.number }}</div>
|
<div class="text22">个</div>
|
</div>
|
<div class="text1">{{ item.typeName }}</div>
|
</div>
|
</div>
|
</div>
|
|
|
</div>
|
</div>
|
</div></template>
|
|
<script>
|
|
export default {
|
name: "text2",
|
components: {
|
|
},
|
data() {
|
return {
|
formData1: [
|
{
|
img: require('@/assets/img/2医院.png'),
|
number: 2,
|
typeName: '医院数量'
|
},
|
{
|
img: require('@/assets/img/消防支队.png'),
|
number: 4,
|
typeName: '消防队伍'
|
},
|
{
|
img: require('@/assets/img/警察半身,公安.png'),
|
number: 5,
|
typeName: '警队数量'
|
},
|
{
|
img: require('@/assets/img/监控.png'),
|
number: 32,
|
typeName: '监控点位'
|
},
|
|
{
|
img: require('@/assets/img/人防工程.png'),
|
number: 59,
|
typeName: '人防设施'
|
},
|
{
|
img: require('@/assets/img/食物.png'),
|
number: 2,
|
typeName: '救援物资'
|
},
|
],
|
}
|
},
|
|
|
}
|
</script>
|
|
<style scoped lang="less">
|
.text2 {
|
position: relative;
|
height: 100%;
|
width: 100%;
|
display: flex;
|
flex-direction: column;
|
justify-content: space-between;
|
pointer-events: all;
|
|
.header {
|
width: 304px;
|
height: 27.5px;
|
margin-left: 20px;
|
margin-top: 20px;
|
background-image: url("~@/assets/img/menuTitle1.png");
|
background-repeat: no-repeat;
|
background-size: 100% 100%;
|
font-family: PangMenZhengDao;
|
text-shadow: 0px 6px 9px #20618e;
|
display: flex;
|
flex-direction: row;
|
align-items: center;
|
flex-shrink: 0;
|
align-self: flex-start;
|
|
.title1 {
|
margin-left: 30px;
|
font-size: 15px;
|
color: #ffffff;
|
}
|
|
}
|
|
.right_top_btn {
|
position: absolute;
|
right: 54px;
|
top: 51px;
|
width: 68px;
|
height: 16px;
|
border: 0.5px solid #9fd0ff;
|
border-radius: 6.5px;
|
background-color: rgba(24, 103, 158,0.5);
|
display: flex;
|
flex-direction: row;
|
align-items: center;
|
justify-content: center;
|
color: #ffffff;
|
font-size: 9px;
|
cursor: pointer;
|
}
|
|
.content {
|
height: 100%;
|
width: 100%;
|
display: flex;
|
flex-direction: column;
|
justify-content: space-between;
|
align-items: center;
|
|
|
.row_top {
|
margin-top: 6px;
|
width: 299px;
|
height: 73px;
|
background-image: url("~@/assets/img/行政区域管理 (1).png");
|
background-repeat: no-repeat;
|
background-size: 100% 100%;
|
|
display: flex;
|
flex-direction: row;
|
justify-content: center;
|
align-items: center;
|
|
.text0 {
|
font-size: 13px;
|
color: #fff;
|
}
|
}
|
|
.row {
|
flex: 1;
|
width: 100%;
|
display: flex;
|
flex-direction: row;
|
justify-content: center;
|
align-items: center;
|
flex-wrap: wrap;
|
gap: 16px;
|
|
|
|
.part {
|
display: flex;
|
flex-direction: row;
|
align-items: center;
|
justify-content: center;
|
background-repeat: no-repeat;
|
background-size: 100% 100%;
|
margin-top: 16px;
|
|
width: 98.5px;
|
height: 43px;
|
flex-shrink: 0;
|
gap: 16px;
|
|
.text {
|
display: flex;
|
flex-direction: column;
|
align-items: flex-end;
|
justify-content: center;
|
width: 100%;
|
|
|
.text1 {
|
font-size: 14px;
|
color: #add7e6;
|
align-self: flex-end;
|
}
|
|
.text2 {
|
display: flex;
|
flex-direction: row;
|
justify-content: flex-end;
|
align-items: center;
|
|
.text21 {
|
font-size: 18px;
|
color: #6cc5ff;
|
font-weight: 800;
|
}
|
|
.text22 {
|
font-size: 12px;
|
color: #eff0f1;
|
margin-left: 6px;
|
}
|
}
|
}
|
}
|
}
|
}
|
}
|
</style>
|