flying-monkey/pages/peopleManagement/peopleManagement.vue

295 lines
8.3 KiB
Vue
Raw Normal View History

2022-03-22 03:38:06 +00:00
<template>
<view class="content">
2022-03-28 07:33:10 +00:00
<statusNav returnColor="#c2c2c2" navBarTitle="人员状态"></statusNav>
2022-03-22 03:38:06 +00:00
<view class="peopleManagement-input">
<input type="text" class="int" value="" placeholder="请输入关键字" />
<image class="search" src="../../static/iocn/ss.png" mode=""></image>
2022-03-25 03:41:31 +00:00
<view class="xian">
</view>
2022-03-22 03:38:06 +00:00
</view>
<view class="peopleManagement-content">
<view class="li" v-for="(item,index) in dataList">
<view class="head">
<view class="name" @click="listStateFun(item)">
<view class="icon" v-if="item.state">
</view>
<image class="iconImg" v-else src="../../static/iocn/pxz.png" mode=""></image>
<view class="">
{{item.title}}<text class="cor" v-if="item.isJob">()</text>
<text class="cor1" v-else>()</text>
</view>
</view>
<view class="state">
已审核
</view>
</view>
<view class="con">
<image class="img" src="../../static/del/500478055.png" mode=""></image>
2022-04-01 10:10:33 +00:00
<view class="text scal09">
2022-03-22 03:38:06 +00:00
<view class="code">
<view class="">
编号: YG20211207-001
</view>
<view class="iconCon">
<view v-for="(item,index) in 5">
2022-04-01 10:10:33 +00:00
<image class="icon" v-if="index<=2" src="../../static/iocn/6.png" ></image>
<image class="icon" v-else src="../../static/iocn/7.png" ></image>
2022-03-22 03:38:06 +00:00
</view>
</view>
</view>
<view class="p">
2022-03-25 03:41:31 +00:00
<view class="one">
2022-03-22 03:38:06 +00:00
待处理1
</view>
<view class="">
已处理1305
</view>
</view>
<view class="address">
当前定位湖南省株洲市xxxxxxxx小区1栋202室
</view>
</view>
</view>
<view class="bottom">
2022-03-25 03:41:31 +00:00
<view class="bottom-content">
2022-03-22 03:38:06 +00:00
联系电话 <text class="cor3">157xxxx8279</text>
</view>
2022-03-25 03:41:31 +00:00
<view class="bottom-content">
2022-03-22 03:38:06 +00:00
注册时间 <text class="cor3">2018-12-12</text>
</view>
</view>
</view>
</view>
<button class="submit-button" type="default">派发工单</button>
</view>
</template>
<script>
import statusNav from '../../components/status-nav.vue';
export default {
components: {
statusNav,
},
data() {
return {
dataList: [{
title: "陈志远",
state: true,
isJob: true,
},
{
title: "瓜皮",
state: false,
isJob: true,
},
{
title: "瓜娃子",
state: true,
isJob: false,
},
{
title: "憨批",
state: true,
isJob: false,
},
]
}
},
methods: {
listStateFun(item){
item.state=!item.state
}
}
}
</script>
<style>
.content {
padding-top: 80rpx;
2022-03-25 03:41:31 +00:00
padding-bottom: 80rpx;
2022-03-22 03:38:06 +00:00
}
.submit-button {
width: 686rpx;
border-radius: 50rpx;
height: 90rpx;
background-color: #02A2ea;
line-height: 90rpx;
color: #FFFFFF;
margin-top: 60rpx;
text-align: center;
font-size: 30rpx;
}
.peopleManagement-input {
width: 100%;
position: relative;
padding: 40rpx 16rpx;
box-sizing: border-box;
background-color: #FFFFFF
}
.peopleManagement-input .int {
width: 100%;
background-color: #F7F7F7;
padding: 0 25rpx;
height: 67rpx;
box-sizing: border-box;
border-radius: 36rpx;
}
2022-03-25 03:41:31 +00:00
.peopleManagement-input .xian {
width: 3rpx;
height: 35rpx;
position: absolute;
background-color: #EAEAEA;
right: 100rpx;
top: 50%;
margin-top: -14rpx;
}
2022-03-22 03:38:06 +00:00
.peopleManagement-input .search {
width: 28rpx;
height: 28rpx;
position: absolute;
right: 43rpx;
top: 50%;
margin-top: -14rpx;
}
.peopleManagement-content .li {
background-color: #FFFFFF;
padding-right: 30rpx;
margin-top: 18rpx;
}
.peopleManagement-content .li .head {
display: flex;
padding: 22rpx 0rpx;
padding-left: 40rpx;
border-bottom: 2rpx solid #eaeaea;
justify-content: space-between;
padding-right: 30rpx;
}
.peopleManagement-content .li .head .name {
display: flex;
align-items: center;
color: #333333;
font-size: 27rpx;
font-weight: bold;
}
.peopleManagement-content .li .head .name .icon {
width: 38rpx;
height: 38rpx;
margin-right: 12rpx;
border: solid #969696 2rpx;
box-sizing: border-box;
border-radius: 50%;
}
.peopleManagement-content .li .head .name .iconImg{
width: 38rpx;
height: 38rpx;
margin-right: 12rpx;
box-sizing: border-box;
border-radius: 50%;
}
.cor {
color: #1c9bdb;
}
.cor1 {
color: #ff424d;
}
.peopleManagement-content .li .head .state {
color: #1c9bdb;
font-size: 27rpx;
}
.peopleManagement-content .li .con {
padding: 20rpx 0rpx;
padding-left: 52rpx;
border-bottom: 2rpx solid #eaeaea;
display: flex;
}
.peopleManagement-content .li .con .img {
2022-04-01 10:10:33 +00:00
width: 129rpx;
height: 114rpx;
2022-03-22 03:38:06 +00:00
margin-right: 16rpx;
}
.peopleManagement-content .li .con .text {
flex: 1;
2022-04-01 10:10:33 +00:00
margin-left: -14rpx;
2022-03-22 03:38:06 +00:00
}
.peopleManagement-content .li .con .text .iconCon {
font-size: 0rpx;
display: flex;
}
.peopleManagement-content .li .con .text .icon {
width: 24rpx;
2022-04-01 02:59:01 +00:00
height: 24rpx;
2022-03-22 03:38:06 +00:00
}
.peopleManagement-content .li .con .text .code {
font-size: 24rpx;
display: flex;
justify-content: space-between;
align-items: center;
color: #333333;
}
.peopleManagement-content .li .con .text .p{
color: #7a7979;
display: flex;
2022-04-01 10:10:33 +00:00
font-size: 24rpx;
2022-04-01 02:59:01 +00:00
2022-04-01 10:10:33 +00:00
padding: 15rpx 0rpx;
2022-03-22 03:38:06 +00:00
}
2022-03-25 03:41:31 +00:00
.peopleManagement-content .li .con .text .p .one{
margin-right: 40rpx;
}
2022-03-22 03:38:06 +00:00
.peopleManagement-content .li .con .text .address{
color: #7a7979;
font-size: 24rpx;
}
.peopleManagement-content .li .bottom{
display: flex;
2022-03-25 03:41:31 +00:00
padding: 10rpx 0rpx;
2022-03-22 03:38:06 +00:00
padding-left: 40rpx;
color: #333333;
font-size: 24rpx;
display: flex;
2022-04-01 10:10:33 +00:00
padding-right: 22rpx;
2022-03-22 03:38:06 +00:00
justify-content: space-between;
}
.peopleManagement-content .li .bottom .cor3{
color: #666666;
}
2022-03-25 03:41:31 +00:00
.peopleManagement-content .li .bottom .bottom-content{
height: 60rpx;
line-height: 60rpx;
}
.peopleManagement-content .li .bottom .bottom-content:last-child{
text-align: right;
width: 48%;
}
.peopleManagement-content .li .bottom .bottom-content:first-child{
border-right: 2rpx dashed #eaeaea;
width: 52%;
}
2022-03-22 03:38:06 +00:00
</style>