79 lines
1.4 KiB
Vue
79 lines
1.4 KiB
Vue
|
|
<template>
|
|
<!-- 证书统计 -->
|
|
<div class="containerBox">
|
|
<div class="title">{{ title }}</div>
|
|
<div class="persontype">
|
|
<span>证件总数</span>
|
|
<p class="person">679</p>
|
|
</div>
|
|
<div class="content">
|
|
<JProgressChart :seriesData="seriesData" :yData="yData" />
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import JProgressChart from '../jChart/bar/JProgressChart.vue'
|
|
export default {
|
|
components: { JProgressChart },
|
|
props: {
|
|
title: {
|
|
type: String,
|
|
default: 'default title'
|
|
}
|
|
},
|
|
data() {
|
|
return {
|
|
yData: [
|
|
'一建(建筑)',
|
|
'二建(建筑)',
|
|
'A证',
|
|
'B证',
|
|
'C证',
|
|
].reverse(),
|
|
seriesData: [432,234,322,259,402]
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="less" scoped>
|
|
.containerBox {
|
|
width: 100%;
|
|
height: 100%;
|
|
border: 1px solid #0081c3;
|
|
.title {
|
|
padding-left: 6px;
|
|
height: 30px;
|
|
line-height: 30px;
|
|
font-size: 18px;
|
|
color: #6ee4f0;
|
|
}
|
|
.persontype{
|
|
span{
|
|
font-size: 12px;
|
|
margin-left: 30px;
|
|
}
|
|
.person {
|
|
display: inline-block;
|
|
width: 15%;
|
|
height: 25px;
|
|
line-height: 25px;
|
|
text-align: center;
|
|
margin-left: 30px;
|
|
color: #47b1c4;
|
|
background-image: url(~@/assets/images/projectImg/numBgc.png);
|
|
background-size:100%;
|
|
background-repeat: no-repeat;
|
|
}
|
|
}
|
|
|
|
.content {
|
|
height: calc(100% - 30px);
|
|
}
|
|
}
|
|
</style>
|
|
|
|
|