123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650 |
- <template>
- <view>
- <!-- 第一种样式 人员管理-->
- <block v-if="datainfo.length>0">
- <!-- 房屋管理 -->
- <block v-if="type=='comehouse'">
- <view class="carlist houselist" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail(ite)">
- <view class="ctop flexc">
- <image :src="house" class="imgs" v-if="ite.houseStatus==1"></image>
- <image :src="housea" class="imgs" v-if="ite.houseStatus==4"></image>
- <image :src="houseb" class="imgs" v-if="ite.houseStatus==2"></image>
- <image :src="housec" class="imgs" v-if="ite.houseStatus==3"></image>
- <view class="tit">{{ite.communityName}}{{ite.detailedAddress}}</view>
- <image :src="pdel" class="chdel" @click.stop="getDelFn(ite)" v-if="checkPermi(['wuYe:residentInfo:deleteResident'])"></image>
- <view class="flex1"></view>
- <!-- <view @click.stop="getDelFn(ite)" v-if="checkPermi(['wuYe:residentInfo:deleteResident'])">删除</view> -->
- <block v-if="tabval=='-1'&&ite.examine==1&&checkPermi(['wuYe:residentInfo:examineStaff'])">
- <view class="shbtn btna" @click.stop="getSh('3',ite)">拒绝</view>
- <view class="shbtn btnb" @click.stop="getSh('2',ite)">通过</view>
- </block>
- <block v-else>
- <view class="txt ca" v-if="ite.houseStatus==1">自住</view>
- <view class="txt cb" v-if="ite.houseStatus==4">出租</view>
- <view class="txt cc" v-if="ite.houseStatus==2">空闲</view>
- <view class="txt co6" v-if="ite.houseStatus==3">代售</view>
- </block>
- </view>
- <view class="clists pr" v-if="tabval=='-1'||tabval=='wtg'">
- <!-- 房本信息 -->
- <!-- <view class="chtit" v-if="ite.residentType==2&&ite.isHouseholder=='Y'">
- <image :src="chtitbg" class="chtitbg"></image>
- <view class="chtxt">房本信息</view>
- </view> -->
- <view class="clist"><view class="tit">姓名</view>{{ite.residentName}}</view>
- <view class="clist"><view class="tit">手机号</view>{{ite.residentPhone}}</view>
- <view class="clist"><view class="tit">人员类型</view>
-
- {{kaType(ite.residentType,rylxList)}}</view>
- <!-- <view class="clist"><view class="tit">房屋坐落</view>{{ite.location}}</view>
- <view class="w50 flexc">
- <view class="clist"><view class="tit">房屋状态</view>
- <view class="txtb ca" v-if="ite.houseStatus==1">自住</view>
- <view class="txtb cb" v-if="ite.houseStatus==4">出租</view>
- <view class="txtb cc" v-if="ite.houseStatus==2">空闲</view>
- <view class="txtb co6" v-if="ite.houseStatus==3">代售</view>
- </view>
- <view class="clist"><view class="tit">房屋所属</view>{{ite.ownerName}}</view>
- </view>
- <view class="w50 flexc">
- <view class="clist"><view class="tit">建筑面积</view>{{ite.area}}m²</view>
- <view class="clist"><view class="tit">有无车位</view>{{ite.hasParkingSpace=='Y'?'有':'无'}}</view>
- </view> -->
- </view>
- <block v-else>
- <view class="clists">
- <view class="clist"><view class="tit">房屋坐落</view>{{ite.location}}</view>
- <view class="clist"><view class="tit">建筑面积</view>{{ite.area}}m²</view>
- <!-- <view class="clist"><view class="tit">手机号码</view>13656788668</view> -->
- </view>
- <view class="btns flexc">
- <view class="bga" v-if="checkPermi(['wuYe:houseInfo:edit'])" @click.stop="getPut(ite.houseId)">编辑信息</view>
- <view class="bgb" v-if="checkPermi(['wuYe:residentInfo:list'])" @click.stop="getJuzhu(ite.houseId)">居住信息</view>
- <view class="bgc" v-if="checkPermi(['wuYe:car:list'])" @click.stop="getCar(ite.houseId)"> 车辆信息</view>
- </view>
- </block>
- </view>
- </block>
- <block v-if="type=='mycar'">
- <view class="carlist pr" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail(ite.carId)"
- :data-idx="idx"
- @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+ite.right+'px'"
- >
- <view class="delleft" style="padding: 0 24rpx;">
- <view class="carltop flexc">
- <view class="flex1">
- <view class="tit mb6 flexc" :class="ite.vehicleEnergy=='新能源'?'co16':'co01'">{{ite.plateNumber}}
- <text class="cir"></text>
- <text v-if="ite.vehicleColour">{{ite.vehicleColour}}</text>
- </view>
- <view class="txt flexc">
- {{ite.vehicleBrand}}
- <view class="txtbtn flexcc" v-if="ite.vehicleEnergy=='新能源'">{{ite.vehicleEnergy}}</view>
- <!-- <view class="txtbtn flexcc" v-if="ite.vehicleType==2">新能源</view> -->
- </view>
- </view>
- <image :src="carb" class="carb" v-if="ite.vehicleEnergy=='新能源'"></image>
- <image :src="cara" class="cara" v-else></image>
- </view>
- <view class="carlf">
- <view class="clflist">发动机号码 :{{ite.engineNumber}}</view>
- <view class="clflist">车辆识别代号:{{ite.identificationNumber}}</view>
- <view class="flexc">
- <view class="clflist w50">注册日期:{{ite.registrationDate}}</view>
- <view class="clflist w50">发证日期:{{ite.issueDate}}</view>
- </view>
- </view>
- </view>
-
- <view class="spdel" v-if="ite.right>0&&checkPermi(['wuYe:car:remove'])" @click.stop="getDelFn(ite.carId)">删除</view>
- </view>
- </block>
- <!-- 黑名单设置 -->
- <block v-if="type=='blackhmd'">
- <view class="carlist pr" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail(ite.blackManageId)"
- :data-idx="idx"
- @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+ite.right+'px'"
- >
- <view class="delleft" style="padding: 0 24rpx;">
- <view class="ctop flexc" style="padding: 24rpx 0;">
- <view class="tit">{{kaType(ite.blackType,hmdlxList)}}</view>
- </view>
- <view class="carlf">
- <!-- <view class="clflist">类型 :{{kaType(ite.blackType,hmdlxList)}}</view> -->
- <view class="clflist">说明:{{ite.blackTitle}}</view>
- <view class="clflist">阈值:{{ite.blackNum}}</view>
- <view class="clflist">启用:{{ite.isDel=='Y'?'启用':'禁用'}}</view>
-
- </view>
- </view>
-
- <view class="spdel" v-if="ite.right>0&&checkPermi(['wuYe:illegalParking:remove'])" @click.stop="getDelFn(ite.blackManageId)">删除</view>
- </view>
- </block>
- <!-- 物业费管理 -->
- <block v-if="type=='money'">
- <view class="carlist peolist" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail(ite.propertyId)">
- <view class="ctop flexc" style="padding: 26rpx 24rpx 24rpx;">
- <image :src="hicoa" class="imgs"></image>
- <view class="tit">{{ite.detailedAddress}}</view>
- <view class="flex1"></view>
- <view class="txta">{{ite.year}}/01 -{{ite.year}}/12</view>
- </view>
- <view class="clists flexc">
- <view class="mlistl">
- <view class="mltit">应缴总额 /元</view>
- <view class="mltxt">{{ite.totalExpense}}</view>
- </view>
- <view class="mlistr">
- <view class="clist"><view class="tit">物业费用:</view>{{ite.tenementExpense}}元</view>
- <view class="clist"><view class="tit">车位费用:</view>{{ite.parkingExpense}}元</view>
- <view class="clist"><view class="tit">能耗费用:</view>{{ite.energyExpense}}元</view>
- </view>
- </view>
- </view>
- </block>
- <!-- 历史账单 -->
- <block v-if="type=='moneybill'">
- <view class="carlist peolist" v-for="(ite,idx) in datainfo" :key="idx">
- <view class="ctop flexc" style="padding: 26rpx 24rpx 24rpx;">
- <image :src="time" class="imgs"></image>
- <view class="tit">{{ite.year}}/01 {{ite.year}}/12</view>
- <view class="btn btnbgb" v-if="ite.isExpense=='Y'">已缴费</view>
- <view class="btn btnbgc" v-else>未缴费</view>
- <view class="flex1"></view>
- <view class="txta">{{ite.detailedAddress}}</view>
- </view>
- <view class="clists flexc">
- <view class="mlistl">
- <view class="mltit">应缴总额 /元</view>
- <view class="mltxt">{{ite.totalExpense}}</view>
- </view>
- <view class="mlistr">
- <view class="clist"><view class="tit">物业费用:</view>{{ite.tenementExpense}}元</view>
- <view class="clist"><view class="tit">车位费用:</view>{{ite.parkingExpense}}元</view>
- <view class="clist"><view class="tit">能耗费用:</view>{{ite.energyExpense}}元</view>
- </view>
- </view>
- </view>
- </block>
- <!-- 物业费设置 -->
- <block v-if="type=='feeset'">
- <view class="carlist peolist pr" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail(ite.settingsId)"
- :data-idx="idx"
- @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+ite.right+'px'"
- >
- <view class="delleft">
- <view class="ctop flexc" style="padding: 26rpx 24rpx 24rpx;">
- <image :src="time" class="imgs"></image>
- <view class="tit">{{kaType(ite.houseType,fwlxList)}}</view>
- <!-- <view class="tit">{{ite.year}}/01 {{ite.year}}/12</view> -->
- <!-- <view class="btn btnbgb" v-if="ite.isExpense=='Y'">已缴费</view>
- <view class="btn btnbgc" v-else>未缴费</view> -->
- <view class="flex1"></view>
- <!-- <view class="txta">{{ite.detailedAddress}}</view> -->
- </view>
- <view class="clists flexc">
- <!-- <view class="mlistl">
- <view class="mltit">应缴总额 /元</view>
- <view class="mltxt">{{ite.totalExpense}}</view>
- </view> -->
- <view class="mlistr">
- <view class="clist"><view class="tit">物业费用:</view>{{ite.tenementExpense}}元</view>
- <!-- <view class="clist"><view class="tit">车位费用:</view>{{ite.parkingExpense}}元</view> -->
- <view class="clist"><view class="tit">能耗费用:</view>{{ite.energyExpense}}元</view>
- </view>
- </view>
- </view>
- <view class="spdel" v-if="ite.right>0&&checkPermi(['wuYe:car:remove'])" @click.stop="getDelFn(ite.settingsId)">删除</view>
- </view>
- </block>
- <view class="shax">{{wtdt}}</view>
- </block>
-
- <!-- 无数据 -->
- <view class="nodata" v-else>
- <image :src="noiconpimg"></image>
- <view>
- 暂无数据
- </view>
- </view>
- </view>
- </template>
- <script>
- import {selectDictValue} from "@/utils/common.js"
- import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
- import config from '@/config'
- export default{
- props:{
- datainfo: {
- type: Array,
- default () {
- return []
- }
- },
- wtdt:{
- type:String,
- default () {
- return ''
- }
- },
- type:{
- type:String,
- default () {
- return ''
- }
- },
- tabval:{
- type:String,
- default () {
- return ''
- }
- },
- clcxList:{
- type:Array,
- default () {
- return []
- }
- },
- hmdlxList:{
- type:Array,
- default () {
- return []
- }
- },
- rylxList:{
- type:Array,
- default () {
- return []
- }
- },
- fwlxList:{
- type:Array,
- default () {
- return []
- }
- }
- },
- data(){
- return{
- noiconpimg:require("@/static/nodata.png"),
- car:require("@/car/static/car/car.png"),
- cara:require("@/car/static/car/carba.png"),
- carb:require("@/car/static/car/carbb.png"),
- hicoa:require("@/people/static/people/hicoa.png"),
- hicob:require("@/people/static/people/hicob.png"),
- man:require("@/people/static/people/man.png"),
- woman:require("@/people/static/people/woman.png"),
- rimg:require("@/people/static/people/rimg.png"),
- pdel:require("@/people/static/people/pdel.png"),
- gzlx:require("@/people/static/people/gzlx.png"),
- mphone:require("@/people/static/people/mphone.png"),
- time:require("@/work/static/manage/time.png"),
- house:require("@/work/static/manage/house.png"),
- housea:require("@/work/static/manage/housea.png"),
- houseb:require("@/work/static/manage/houseb.png"),
- housec:require("@/work/static/manage/housec.png"),
- home:require("@/service/static/service/home.png"),
- upimg:require("@/static/images/home/up.png"),
- star:require('@/manage/static/community/star.png'),
- stara:require('@/manage/static/community/stara.png'),
- eye:require('@/manage/static/community/eye.png'),
- chtitbg:require('@/work/static/manage/hbg.png'),
- baseUrl:config.baseUrl,
- delBtnWidth:66,//左滑默认宽度
- }
- },
- mounted() {
-
- },
- methods:{
- checkPermi, checkRole,
- kaType(data, list) {
- return selectDictValue(list, data);
- },
- getDetail(e){
- this.$emit('getDetail',e)
- },
- getPut(e){
- this.$emit('getPut',e)
- },
- getJuzhu(e){
- this.$emit('getJuzhu',e)
- },
- getCar(e){
- this.$emit('getCar',e)
- },
- getAddFn(e){
- this.$emit('getAddFn',e)
- },
- getReadlist(e){
- this.$emit('getReadlist',e)
- },
- getZhan(idx){
- // var obj=JSON.parse(JSON.stringify(this.datainfo))[idx]
- // obj.zhanflag=!obj.zhanflag;
- // this.datainfo.splice(idx,1,obj);
- this.datainfo[idx].zhanflag=!this.datainfo[idx].zhanflag
- },
- getSh(e,ite){
- var that=this;
- var obj={
- ite:ite,
- sh:e
- }
- this.$emit('getShFn',obj)
- // var str="";
- // if(type=='2'){
- // str="通过"
- // }else if(type=='3'){
- // str="拒绝"
- // }
- // uni.showModal({
- // title: '确认'+str,
- // content: "是否确认"+str,
- // cancelText: '取消',
- // confirmText: '确认',
- // success: function(res) {
- // if (res.confirm) {
- // // var obj={
- // // status:type,
- // // contentId:ite.contentId,
- // // commentId:ite.commentId,
- // // }
- // that.$emit('getSh',obj)
- // } else if (res.cancel) {
- // }
- // }
- // });
- },
- getDelFn(id){
- var that=this;
- uni.showModal({
- title: '确认删除',
- content: "是否确认删除",
- cancelText: '取消',
- confirmText: '确认',
- success: function(res) {
- if (res.confirm) {
- that.$emit('getDelFn',id)
- } else if (res.cancel) {
- }
- }
- });
- },
- getPreview(idx,arr) {
- var newArr=[];
- arr.forEach(ite=>{
- var ds=this.baseUrl+ite
- newArr.push(ds)
- })
- uni.previewImage({
- urls: newArr,
- current:idx,
- success: function(data) {},
- fail: function(err) {}
- });
- },
- //开始触摸滑动
- drawStart(e) {
- // console.log("开始触发");
- var touch = e.touches[0];
- this.startX = touch.clientX;
- },
- //触摸滑动
- drawMove(e) {
- // console.log("滑动");
- for (var index in this.datainfo) {
- // this.csListArrl[index].right=0
- this.$set(this.datainfo[index],'right',0);
- }
- var idx=e.currentTarget.dataset.idx
- var touch = e.touches[0];
- var item = this.datainfo[idx];
- var disX = this.startX - touch.clientX;
- if (disX >= 20) {
- if (disX > this.delBtnWidth) {
- disX = this.delBtnWidth;
- }
- // this.csListArrl[idx].right=disX
- this.$set(this.datainfo[idx],'right',disX);
- } else {
- // this.csListArrl[idx].right=0
- this.$set(this.datainfo[idx],'right',0);
- }
- },
- //触摸滑动结束
- drawEnd(e) {
- // console.log("滑动结束");
- var idx=e.currentTarget.dataset.idx
- var item = this.datainfo[idx];
- if (item.right >= this.delBtnWidth / 2) {
- // this.datainfo[idx].right=this.delBtnWidth
- this.$set(this.datainfo[idx],'right',this.delBtnWidth);
- } else {
- this.datainfo[idx].right=0
- }
- },
- }
- }
- </script>
- <style lang="scss" scoped>
- .flex{display: flex;}
- .flexc{display: flex;align-items: center;}
- .mb10{margin-bottom: 20rpx;}
- .carlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;
- .carltop{min-height: 154rpx;border-bottom: 2rpx solid #E5E5E5;
- .cir{width: 8rpx;height: 8rpx;border-radius: 50%;margin: 0 8rpx;display: inline-block;}
- .co16{
- .cir{background: #16BE7F;}
- }
- .co01{
- .cir{background: #0156FE;}
- }
- .tit{font-weight: bold;font-size: 32rpx;}
- .txt{font-weight: 500;font-size: 26rpx;color: #272727;}
- .txtbtn{min-width: 82rpx;
- height: 32rpx;font-weight: 500;font-size: 20rpx;color: #45CB99;
- border-radius: 16rpx;border: 1px solid #45CB99;margin-left: 12rpx;}
- .cara{flex: 0 0 auto;width: 232rpx;height: 74rpx;margin-right: 40rpx;}
- .carb{flex: 0 0 auto;width: 278rpx;height: 130rpx;}
- }
- .carlf{padding:26rpx 0 10rpx;
- .clflist{font-weight: 500;font-size: 26rpx;color: #666666;margin-bottom: 16rpx;}
- }
- .ctop{border-bottom: 2rpx solid #E5E5E5;padding:26rpx 24rpx;
- .imgs{width: 40rpx;height: 42rpx;margin-right: 30rpx;}
- .tit{font-size: 32rpx;color: #272727;font-weight: bold;margin-right: 14rpx;}
- .txt{font-weight: 500;font-size: 26rpx;
- &.ca{color: #3565ED;}
- &.cb{color: #FE5A0E;}
- &.cc{color: #28C529;}
- }
- .txta{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
- .num{font-size: 24rpx;color: #AAAAAA;}
- }
- .btn{height: 34rpx;border-radius: 18rpx;display: flex;align-items: center;justify-content: center;padding: 0 10rpx;font-size: 22rpx;margin-right: 24rpx;
- &.btna{border: 2rpx solid #06C770;color: #06C770;}
- &.btnb{border: 2rpx solid #3565ED;color: #3565ED;}
- &.btnc{border: 2rpx solid #FE5A0E;color: #FE5A0E;}
- &.btnbga{border: 1px solid #0156FE;color: #3565ED;background: #DFEAFF;height: 36rpx;}
- &.btnbgb{border: 1px solid #C1C1C1;color: #666666;background: #F1F1F1;height: 36rpx;}
- &.btnbgc{border: 1px solid #FE5A0E;color:#FE5A0E;background:#FFEEE6;height: 36rpx;}
- }
- .clists{padding: 24rpx 24rpx 8rpx;
- .clist{font-weight: 500;margin-bottom: 16rpx;
- font-size: 26rpx;color: #272727;display: flex;line-height: 34rpx;
- .tit{font-size: 26rpx;color: #AAAAAA;flex: 0 0 auto;margin-right: 16rpx;min-width: 108rpx;text-align-last: justify;}
- .imgas{display: flex;align-items: center;flex-wrap: wrap;
- image{width: 142rpx;height: 142rpx;margin-right: 30rpx;margin-top: 8rpx;}
- }
- }
- .w50{
- .clist{width: 50%;}
- }
- }
- }
- // 人员
- .peolist{
- .ctop{padding: 24rpx 24rpx 22rpx;}
- .imgs{margin-right: 16rpx !important;}
- .tit{font-size: 28rpx !important;}
- .plists{padding: 30rpx 24rpx 6rpx;
- .plist{background: linear-gradient(-90deg, #F2F5FF 0%, #FBFDFF 100%);border-radius: 20rpx;border: 2rpx solid #E6E6E6;margin-bottom: 24rpx;padding: 18rpx 26rpx 4rpx;
- .head{width: 96rpx;height: 98rpx;margin-right: 32rpx;flex: 0 0 auto;}
- .ptit{font-weight: bold;font-size: 30rpx;color: #272727;display: flex;align-items: center;margin-bottom: 14rpx;}
- .ptxt{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;margin-bottom: 14rpx;min-width: 176rpx;}
- }
- }
- .upimg{width: 26rpx;height: 22rpx;display: block;transform: rotate(180deg);transition: all 0.3s;margin: 0 auto 18rpx;
- &.act{transform: rotate(0deg);}
- }
- }
- // 物业费
- .mlistl{width: 40%;display: flex;flex-direction: column;align-items: center;flex: 0 0 auto;
- .mltit{font-weight: 500;font-size: 26rpx;color: #666666;margin-bottom: 18rpx;}
- .mltxt{font-weight: bold;font-size: 32rpx;color: #0156FE;}
- }
- .houselist{
- .clists{padding-bottom: 2rpx !important;}
- .clist{margin-bottom: 22rpx !important;
- .txtb{font-weight: 500;font-size:24rpx;
- &.ca{color: #3565ED;}
- &.cb{color: #FE5A0E;}
- &.cc{color: #28C529;}
- }
- }
- .chdel{width: 44rpx;height: 44rpx;margin-left: 12rpx;flex: 0 0 auto;}
- .chtit{font-size: 26rpx;color: #66b4d1;position: absolute;right: -10rpx;top: 16rpx;
- .chtitbg{width: 55rpx;height: 149rpx;}
- .chtxt{position: absolute;width: 44rpx;height: 149rpx;left: 0;top: 0;padding: 10rpx;box-sizing: border-box;padding-left: 14rpx;}
- }
- .shbtn{border-radius: 20rpx;font-weight: 500;min-width: 92rpx;height: 40rpx;font-size: 26rpx;box-sizing: border-box;padding: 0 20rpx;line-height: 38rpx;margin-left: 24rpx;
- &.btna{border: 2rpx solid #FF6969;background: #FFF8F8;color: #FF6969;}
- &.btnb{border: 2rpx solid #28C529;background: #EEFCEE;color: #28C529;}
- }
- .btns{justify-content: flex-end;
- view{min-width: 156rpx;font-weight: 500;font-size: 26rpx;margin-right: 24rpx;border-radius: 20rpx;padding: 6rpx 8rpx;box-sizing: border-box;text-align: center;margin-bottom: 26rpx;
- &.bga{border: 2rpx solid #FE5A0E;background: #FFF8F5;color: #FE5A0E;}
- &.bgb{border: 2rpx solid #0256FD;background: #F1F5FC;color: #0256FD;}
- &.bgc{border: 2rpx solid #06C770;background: #EEF8F4;color: #06C770;}
- }
- }
- }
- // 巡更地点
- .patlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;padding: 0 24rpx 30rpx;
- .pattop{padding:22rpx 30rpx;margin-bottom: 2rpx;
- .imgs{width: 28rpx;height: 28rpx;margin-right: 12rpx;}
- .tit{font-size: 30rpx;color: #272727;font-weight: bold;margin-right: 14rpx;}
- .txt{font-weight: 500;font-size:24rpx;
- &.ca{color: #3565ED;}
- &.cb{color: #FE5A0E;}
- &.cc{color: #28C529;}
- &.cd{color: #FF6969;}
- }
- }
- .patlistr{background: #EFF4FF;border-radius: 20rpx;padding: 20rpx 32rpx;
- .clist{font-weight: 500;font-size: 26rpx;color: #272727;display: flex;line-height: 50rpx;
- .tit{font-size: 26rpx;flex: 0 0 auto;min-width: 108rpx;text-align-last: justify;font-weight: bold;}
- }
- }
- .patbtns{display: flex;justify-content: flex-end;align-items: center;flex-wrap: wrap;
- view{min-width: 156rpx;height: 52rpx;font-weight: 500;font-size: 26rpx;background: #FFFFFF;border-radius: 20rpx;box-sizing: border-box;display: flex;align-items: center;justify-content: center;padding: 0 10rpx;margin-left: 24rpx;margin-top: 24rpx;
- &.btna{border: 2rpx solid #0256FD;color: #0256FD;}
- &.btnb{background: #0256FD;color: #ffffff;}
-
- }
- }
- }
- // 报修
- .walists{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx; position: relative;
- .watop{
- padding: 0 36rpx 8rpx 38rpx;
- .watit{padding: 24rpx 0;margin-bottom: 4rpx;display: flex;
- .tit{font-weight: bold;font-size: 28rpx;color: #272727;flex: 1;
- .cir{width: 14rpx;margin-left: 8rpx;margin-bottom: 10rpx;height: 14rpx;display: inline-block;background: #FF6969;border-radius: 8rpx;}
- }
- .txt{font-weight: bold;font-size: 26rpx;flex: 0 0 auto;
- }
- }
- }
- .walist{display: flex;font-weight: 500;font-size: 24rpx;color: #666666;margin-bottom: 16rpx;
- .tit{min-width: 100rpx;text-align-last: justify}
- }
- .wabtn{display: flex;align-items: center;justify-content: space-between;border-top: 2rpx solid #E5E5E5;height: 80rpx;padding: 0 38rpx;
- view{font-weight: 500;font-size: 24rpx;color: #666666;}
- image{width: 16rpx;height: 28rpx;}
- }
- }
- // 维修人员
- .stafflist{width: 344rpx;min-height: 256rpx;background: #FFFFFF;border-radius: 20rpx;margin:0 12rpx 24rpx 12rpx;padding-bottom: 20rpx;box-sizing: border-box;
- // &:nth-of-type(2n){margin-right: 0;}
- .statop{border-bottom: 2rpx solid #E5E5E5;display: flex;padding: 24rpx 24rpx 22rpx;
- .head{width: 80rpx;height: 82rpx;margin-right: 24rpx;flex: 0 0 auto;}
- .stadel{width: 30rpx;height: 30rpx;flex: 0 0 auto;margin-left: 12rpx;}
- .statit{font-weight: bold;font-size: 30rpx;color: #272727;margin-bottom: 4rpx;}
- .statxt{font-weight: 500;font-size: 26rpx;
- .cir{width: 10rpx;height: 10rpx;border-radius: 50%;margin-right: 14rpx;display: inline-block;
- &.bga{background: #06C770;}
- &.bgb{background: #FF6969;}
- }
- }
- }
- .stalist{font-weight: 500;font-size: 26rpx;color: #272727;display: flex;align-items: center;padding: 20rpx 24rpx 0;
- .imgs{width: 24rpx;height: 30rpx;margin-right: 22rpx;flex: 0 0 auto;display: flex;align-items: center;justify-content: center;
- .gzlximg{width: 24rpx;height: 28rpx;}
- .mphone{width: 18rpx;height: 30rpx;}
- }
-
- }
- }
- .watopcom{background-color: #ffffff;border-radius: 20rpx;position: relative;z-index: 1;padding-bottom: 30rpx !important;
- .watopcoma{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;margin-bottom: 24rpx;}
- .watopcomb{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
-
- }
- //资讯
- .newlists{
- background: #FFFFFF;padding: 22rpx 24rpx;margin-bottom: 24rpx;
- border-radius: 20rpx;
- .tit{font-size: 32rpx;font-weight: bold;color: #272727;line-height: 48rpx;margin-bottom:16rpx;}
- .txt{font-size: 24rpx;color: #666666;line-height: 36rpx;margin-bottom: 32rpx;}
- .stabox{
- .time{font-weight: 500;font-size: 24rpx;color: #AAAAAA;line-height: 36rpx;}
- .btns{font-weight: 500;font-size: 22rpx;color: #666666;line-height: 36rpx;min-width: 100rpx;box-sizing: border-box;margin-left: 20rpx;
- .imga{width: 24rpx;height: 22rpx;margin-right: 8rpx;}
- .imgb{width: 24rpx;height: 18rpx;margin-right: 10rpx;}
- }
-
- }
- }
- // 视频
- .videolists{
- background: #FFFFFF;margin-bottom: 24rpx;border-radius: 20rpx;
- .titbox{padding-top: 16rpx;padding-right: 38rpx;}
- .videos{width: 260rpx;height: 180rpx;}
- .tit{font-weight: bold;font-size: 14px;color: #272727;text-align: left;margin-bottom: 10rpx;}
- .num{font-weight: 500;font-size: 20rpx;color: #666666;min-width: 68rpx;padding: 0 8rpx;box-sizing: border-box;
- height: 28rpx;background: #E6E6E6;border-radius: 14rpx;line-height: 28rpx;text-align: center;}
- .time{font-weight: 500;font-size: 24rpx;color: #AAAAAA;margin-top: 44rpx;}
- }
- // 名单
- .readlist{background: #FFFFFF;border-radius: 20rpx;border: 2rpx solid #E6E6E6;margin-bottom: 24rpx;padding: 24rpx;display: flex;align-items: center;box-sizing: border-box;
- .head{width: 96rpx;height: 96rpx;margin-right: 28rpx;flex: 0 0 auto;}
- .tit{font-weight: bold;font-size: 30rpx;color: #272727;margin-bottom: 12rpx;}
- .time{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;
- text{margin-right: 12rpx;display: inline-block;}
- }
- }
- .spdel{width: 164rpx;background: #EA2D2D;font-weight: bold;font-size: 26rpx;color: #FFFFFF;display: flex;align-items: center;justify-content: center;position: absolute;right: -146rpx;top: 0;bottom: 0;padding-left: 14rpx;}
- // 无数据
- .nodata{display: flex;flex-direction: column;align-items: center;
- image{width: 440rpx;height: 440rpx;}
- view{font-size: 30rpx;color: #666666;font-weight: bold;}
- }
- </style>
|