|
|
|
<!--
|
|
|
|
* @Author: lough
|
|
|
|
* @Date: 2021-12-21 14:12:54
|
|
|
|
* @LastEditors: JC9527
|
|
|
|
* @LastEditTime: 2023-08-21 16:54:37
|
|
|
|
* @Description:
|
|
|
|
-->
|
|
|
|
<template>
|
|
|
|
<div>
|
|
|
|
<div class="left">
|
|
|
|
<div class="inner-box">
|
|
|
|
<div class="title">举报总数</div>
|
|
|
|
<div>
|
|
|
|
<span class="num">{{ reportTotalCount }}</span>
|
|
|
|
<span style="color: #ffffff; font-size: 20px">件</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="right">
|
|
|
|
<div class="inner-box">
|
|
|
|
<div class="title">处置率</div>
|
|
|
|
<div>
|
|
|
|
<span class="num">{{ completedPercent }}</span>
|
|
|
|
<span style="color: #ffffff; font-size: 20px">%</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- <div class="camera"></div> -->
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import { networkreport } from '@/api/zongzhi/st.js'
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
reportTotalCount: 0,
|
|
|
|
completedPercent: 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
mounted() {
|
|
|
|
// this.reportTotalCount = 45
|
|
|
|
// this.completedPercent = 100
|
|
|
|
// getreportNum().then(res => {
|
|
|
|
// this.reportTotalCount = res.data.reportTotalCount
|
|
|
|
// this.completedPercent = res.data.completedPercent
|
|
|
|
// })
|
|
|
|
networkreport().then(res => {
|
|
|
|
this.reportTotalCount = res.data.count
|
|
|
|
this.completedPercent = res.data.handle
|
|
|
|
});
|
|
|
|
// console.log(data)
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
</script>
|
|
|
|
<style lang='scss' scoped>
|
|
|
|
.camera {
|
|
|
|
position: relative;
|
|
|
|
width: 70px;
|
|
|
|
height: 70px;
|
|
|
|
top: -25px;
|
|
|
|
left: 1605px;
|
|
|
|
background: url('~@/assets/ecosphere/icon-视频.png');
|
|
|
|
&:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.bkLeft {
|
|
|
|
float: left;
|
|
|
|
width: 210px;
|
|
|
|
height: 924px;
|
|
|
|
top: 198px;
|
|
|
|
left: 13px;
|
|
|
|
background: url('~@/assets/ecosphere/左.png') no-repeat;
|
|
|
|
background-size: 100% 100%;
|
|
|
|
}
|
|
|
|
.bkRight {
|
|
|
|
position: relative;
|
|
|
|
width: 210px;
|
|
|
|
height: 924px;
|
|
|
|
top: 198px;
|
|
|
|
left: 513px;
|
|
|
|
background: url('~@/assets/ecosphere/右.png');
|
|
|
|
}
|
|
|
|
.left {
|
|
|
|
position: relative;
|
|
|
|
width: 398px;
|
|
|
|
height: 99px;
|
|
|
|
top: 155px;
|
|
|
|
left: 550px;
|
|
|
|
background: url('~@/assets/ecosphere/举报总数.png');
|
|
|
|
}
|
|
|
|
.right {
|
|
|
|
position: relative;
|
|
|
|
width: 398px;
|
|
|
|
height: 99px;
|
|
|
|
top: 56px;
|
|
|
|
left: 1050px;
|
|
|
|
background: url('~@/assets/ecosphere/处置率.png');
|
|
|
|
}
|
|
|
|
.inner-box {
|
|
|
|
position: absolute;
|
|
|
|
top: 20px;
|
|
|
|
left: 163px;
|
|
|
|
width: 200px;
|
|
|
|
height: 99px;
|
|
|
|
text-align: center;
|
|
|
|
div:nth-child(1) {
|
|
|
|
margin-bottom: 7px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.title {
|
|
|
|
font-family: SourceHanSansCN-Regular;
|
|
|
|
font-size: 28px;
|
|
|
|
font-weight: normal;
|
|
|
|
font-stretch: normal;
|
|
|
|
letter-spacing: 0;
|
|
|
|
color: #ffffff;
|
|
|
|
}
|
|
|
|
.num {
|
|
|
|
font-family: ConthraxSb-Regular;
|
|
|
|
font-size: 36px;
|
|
|
|
font-weight: normal;
|
|
|
|
font-stretch: normal;
|
|
|
|
letter-spacing: 0;
|
|
|
|
color: #fbe84f;
|
|
|
|
}
|
|
|
|
</style>
|