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.
175 lines
3.3 KiB
175 lines
3.3 KiB
<template>
|
|
<div>
|
|
<div class="title">12345政务热线事件办理情况</div>
|
|
|
|
<div class="current">
|
|
<div class="cur-month">
|
|
<span>{{ curMonth }}</span> 月
|
|
</div>
|
|
<div class="cur-month-list">
|
|
<div class="cur-month-item">
|
|
<div class="txt">事件总数</div>
|
|
<div class="num blue">52</div>
|
|
</div>
|
|
<div class="cur-month-item">
|
|
<div class="txt">处理中</div>
|
|
<div class="num orange">13</div>
|
|
</div>
|
|
<div class="cur-month-item">
|
|
<div class="txt">已办结</div>
|
|
<div class="num green">28</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="his-month">
|
|
<div class="his-month-item" v-for="(item,index) in eventList" :key="index">
|
|
<div class="month">{{ item.month }}月</div>
|
|
<div class="num">{{ item.num }}</div>
|
|
<div class="event">{{ item.env }}事件数</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: "EventSituation",
|
|
data() {
|
|
return {
|
|
eventList: [],
|
|
curMonth: ''
|
|
}
|
|
},
|
|
mounted() {
|
|
this.curMonth = new Date().getMonth() - 0 + 1
|
|
let eventList = []
|
|
for (let i = 5; i >= 0; i--) {
|
|
eventList.push({
|
|
month: this.curMonth - i,
|
|
num: 10,
|
|
env: 11,
|
|
})
|
|
}
|
|
this.eventList = eventList
|
|
},
|
|
}
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
.title {
|
|
font-size: 26px;
|
|
font-family: PingFang SC;
|
|
font-weight: bold;
|
|
color: #FFFFFF;
|
|
text-shadow: 0px 0px 20px #8FD4FF;
|
|
background: linear-gradient(0deg, #8FD4FF 0%, #FFFFFF 64.0380859375%);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
|
|
text-align: center;
|
|
letter-spacing: 5px;
|
|
}
|
|
.current {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 20px 60px 15px 50px;
|
|
}
|
|
.cur-month {
|
|
font-size: 18px;
|
|
font-weight: 400;
|
|
color: #3AB7FF;
|
|
width: 130px;
|
|
padding-top: 14px;
|
|
box-sizing: border-box;
|
|
height: 88px;
|
|
background: url("@/assets/images/manyidu/month.png");
|
|
text-align: center;
|
|
|
|
span {
|
|
font-size: 32px;
|
|
font-weight: bold;
|
|
font-style: italic;
|
|
}
|
|
}
|
|
|
|
.cur-month-list {
|
|
display: flex;
|
|
.cur-month-item {
|
|
margin-left: 71px;
|
|
.txt {
|
|
font-size: 16px;
|
|
font-weight: 400;
|
|
color: #FFFFFF;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.num {
|
|
font-size: 36px;
|
|
font-weight: bold;
|
|
font-style: italic;
|
|
}
|
|
}
|
|
}
|
|
|
|
.blue {
|
|
color: #3CF5FF;
|
|
}
|
|
|
|
.orange {
|
|
color: #F95619;
|
|
}
|
|
|
|
.green {
|
|
color: #08EBAE;
|
|
}
|
|
|
|
.his-month {
|
|
display: flex;
|
|
background: linear-gradient(-90deg, rgba(14, 121, 213, 0.10) 0%, rgba(17, 124, 213, 0) 100%);
|
|
padding: 20px;
|
|
margin-bottom: 28px;
|
|
.his-month-item {
|
|
flex: 1;
|
|
position: relative;
|
|
padding-left: 25px;
|
|
|
|
&:after {
|
|
content: '';
|
|
display: block;
|
|
position: absolute;
|
|
top: calc(50% - 63px / 2);
|
|
right: 0;
|
|
width: 1px;
|
|
height: 63px;
|
|
background: rgba(50, 151, 255, 0.55);
|
|
|
|
|
|
}
|
|
&:last-child:after {
|
|
display: none;
|
|
}
|
|
.month {
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
color: #C1E8FF;
|
|
opacity: 0.75;
|
|
}
|
|
|
|
.num {
|
|
font-size: 26px;
|
|
font-weight: bold;
|
|
color: #3AB7FF;
|
|
margin: 13px 0 6px;
|
|
}
|
|
|
|
.event {
|
|
font-size: 12px;
|
|
font-weight: 400;
|
|
color: #4B9FCF;
|
|
opacity: 0.75;
|
|
}
|
|
}
|
|
}
|
|
</style>
|