epmet pc工作端
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.

267 lines
5.0 KiB

<template>
<div class="personnel-portrait">
<Tabs v-model="resultType" :list="resultTypeList" @changeVal="resultTypeChange"/>
<div class="screen">
<div class="txt">不满意人员画像</div>
<el-select v-model="typeCondition" placeholder="请选择" class="select">
<el-option
v-for="item in typeConditionList"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</div>
<div class="portrait">
<div class="tag yellow"><div class="text">第一网格</div></div>
<div class="tag blue"><div class="text">30-40</div></div>
<div class="tag red"><div class="text">流动人员</div></div>
<div class="tag light"><div class="text">月收入5000以下</div></div>
<div class="tag green"><div class="text">专科</div></div>
<div class="tag orange"><div class="text">已婚</div></div>
<div class="tag purple"><div class="text"></div></div>
</div>
<div class="btn">
<div>按画像匹配到同类<span> <b>372</b></span></div>
<i class="el-icon-arrow-right"></i>
</div>
</div>
</template>
<script>
import Tabs from "@/views/dataBoard/satisfactionEval/components/Tabs/index.vue";
export default {
name: "PersonnelPortrait",
components: {Tabs},
data() {
return {
resultType: 1,
resultTypeList: [{
label: ' 按省调查/社区自查结果',
value: 1
}, {
label: '按12345热线投诉结果',
value: 2
}],
typeCondition: 1,
typeConditionList: [
{
label: '基础教育',
value: 1
}, {
label: '病有所医',
value: 2
}, {
label: '老有所养',
value: 3
}, {
label: '文化设施',
value: 4
}, {
label: '生态环境',
value: 5
}, {
label: '体育设施',
value: 6
}, {
label: '社会救助',
value: 7
},
],
}
},
mounted() {
},
methods: {
resultTypeChange() {
}
}
}
</script>
<style scoped lang="scss">
$yellow: #ef9700;
$blue: #1a95ff;
$red: #ee3030;
$light: #2ab6be;
$green: #1b7d47;
$orange: #f95619;
$purple: #6642fd;
.personnel-portrait {
padding: 16px 16px 40px;
}
.screen {
display: flex;
align-items: center;
margin: 25px 0 47px;
.txt {
font-size: 16px;
font-weight: 500;
color: #FFFFFF;
line-height: 22px;
margin-right: 25px;
}
/deep/ .el-input__inner {
width: 110px !important;
height: 24px !important;
background: #021C49 !important;
border: 1px solid #125AAA !important;
border-radius: 12px !important;
color: #A0CDFF;
}
/deep/ .el-input__icon {
line-height: 24px !important;
color: #A0CDFF;
}
}
.portrait {
width: 388px;
height: 345px;
position: relative;
background: url("@/assets/images/manyidu/hx_bg.png") no-repeat center;
margin: 0 auto;
cursor: pointer;
.tag {
position: absolute;
width: 76px;
height: 76px;
display: flex;
align-items: center;
justify-content: center;
.text {
width: 60px;
height: 60px;
top: 0;
left: 0;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
}
&:after {
content: "";
opacity: .3;
display: block;
width: 76px;
height: 76px;
position: absolute;
border-radius: 50%;
}
&:nth-of-type(1) {
left: 162px;
top: 0;
}
&:nth-of-type(2) {
left: 297px;
top: 73px;
}
&:nth-of-type(3) {
left: 316px;
top: 203px;
}
&:nth-of-type(4) {
left: 228px;
top: 269px;
}
&:nth-of-type(5) {
left: 77px;
top: 257px;
}
&:nth-of-type(6) {
left: 0px;
top: 158px;
}
&:nth-of-type(7) {
left: 48px;
top: 57px;
}
}
.yellow {
.text {
background: $yellow;
}
&:after {
background: $yellow;
}
}
.blue {
.text {
background: $blue;
}
&:after {
background: $blue;
}
}
.red {
.text {
background: $red;
}
&:after {
background: $red;
}
}
.light {
.text {
background: $light;
}
&:after {
background: $light;
}
}
.green {
.text {
background: $green;
}
&:after {
background: $green;
}
}
.orange {
.text {
background: $orange;
}
&:after {
background: $orange;
}
}
.purple {
.text {
background: $purple;
}
&:after {
background: $purple;
}
}
}
.btn {
width: 240px;
height: 46px;
border: 1px solid #125AAA;
border-radius: 23px;
font-size: 14px;
font-weight: 400;
color: #FFFFFF;
line-height: 46px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 20px;
margin: 33px auto 0;
span {
font-size: 18px;
}
}
</style>