You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
108 lines
2.2 KiB
108 lines
2.2 KiB
2 years ago
|
<template>
|
||
|
<div class="right-main">
|
||
|
<div class="header-title">
|
||
|
<div>网格名称</div>
|
||
|
<div>今日事件</div>
|
||
|
<div>已解决</div>
|
||
|
<div>未解决</div>
|
||
|
</div>
|
||
|
<div class="lists-main">
|
||
|
<div class="main" v-for="(item,index) in rightArray" :key="index" :class="(index+1) % 2 == 0 ? 'main1':''">
|
||
|
<div>
|
||
|
<img src="@/assets/images/location1.png" alt="">
|
||
|
{{ item.area }}
|
||
|
</div>
|
||
|
<div>{{ item.event }}</div>
|
||
|
<div>{{ item.resolved }}</div>
|
||
|
<div class="unsolved">{{ item.unsolved }}</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</template>
|
||
|
<script>
|
||
|
export default {
|
||
|
name:'mapRight',
|
||
|
data() {
|
||
|
return {
|
||
|
}
|
||
|
},
|
||
|
props:{
|
||
|
rightArray:{
|
||
|
type:Array,
|
||
|
default:[],
|
||
|
}
|
||
|
},
|
||
|
methods:{
|
||
|
},
|
||
|
}
|
||
|
</script>
|
||
|
<style lang="scss" scoped>
|
||
|
.right-main {
|
||
|
padding: 8px 0 0 17px;
|
||
|
.header-title {
|
||
|
padding: 0 24px;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: space-between;
|
||
|
background: rgba(7,127,255,0.1608);
|
||
|
border-radius: 0px 0px 0px 0px;
|
||
|
opacity: 1;
|
||
|
border: 1px solid #077FFF;
|
||
|
height: 33px;
|
||
|
div {
|
||
|
font-size: 14px;
|
||
|
font-family: Source Han Sans CN--Bold, Source Han Sans CN-;
|
||
|
font-weight: bold;
|
||
|
color: #D3EEF2;
|
||
|
line-height: 21px;
|
||
|
width: 60px;
|
||
|
}
|
||
|
}
|
||
|
.lists-main {
|
||
|
overflow-y: scroll;
|
||
|
height: 99px;
|
||
|
}
|
||
|
.main {
|
||
|
padding: 0 24px;
|
||
|
display: flex;
|
||
|
justify-content: space-between;
|
||
|
align-items: center;
|
||
|
background: rgba(216,216,216,0.05);
|
||
|
height: 33px;
|
||
|
|
||
|
div {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: center;
|
||
|
font-size: 14px;
|
||
|
font-family: Source Han Sans CN--Regular, Source Han Sans CN-;
|
||
|
font-weight: 400;
|
||
|
color: #D3EEF2;
|
||
|
line-height: 21px;
|
||
|
min-width: 60px;
|
||
|
|
||
|
&:nth-child(1) {
|
||
|
font-size: 14px;
|
||
|
font-family: Source Han Sans CN--Regular, Source Han Sans CN-;
|
||
|
font-weight: 400;
|
||
|
color: #52B1FF;
|
||
|
line-height: 21px;
|
||
|
}
|
||
|
|
||
|
img {
|
||
|
width: 18px;
|
||
|
margin-right: 8px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.unsolved {
|
||
|
color: #FF6C6C;
|
||
|
text-align: center;
|
||
|
}
|
||
|
}
|
||
|
.main1 {
|
||
|
background: rgba(187,220,255,0.16);
|
||
|
}
|
||
|
}
|
||
|
</style>
|