list.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624
  1. <template>
  2. <view>
  3. <!-- 第一种样式 人员管理-->
  4. <block v-if="datainfo.length>0">
  5. <!-- 人员管理 -->
  6. <block v-if="type=='people'">
  7. <view class="carlist peolist" v-for="(ite,idx) in datainfo" :key="idx">
  8. <view class="ctop flexc">
  9. <image :src="house" class="imgs" v-if="ite.houseStatus==1"></image>
  10. <image :src="housea" class="imgs" v-if="ite.houseStatus==4"></image>
  11. <image :src="houseb" class="imgs" v-if="ite.houseStatus==2"></image>
  12. <image :src="housec" class="imgs" v-if="ite.houseStatus==3"></image>
  13. <!-- <image :src="hicoa" class="imgs" v-if="ite.type==1"></image>
  14. <image :src="hicob" class="imgs" v-if="ite.type==2"></image> -->
  15. <view class="tit">{{ite.detailedAddress}}</view>
  16. <view class="flex1"></view>
  17. <!-- <view class="txt ca" v-if="ite.type==1">业主</view>
  18. <view class="txt cb" v-if="ite.type==2">租户</view> -->
  19. <view class="txt ca" v-if="ite.houseStatus==1">自住</view>
  20. <view class="txt cb" v-if="ite.houseStatus==4">出租</view>
  21. <view class="txt cc" v-if="ite.houseStatus==2">空闲</view>
  22. <view class="txt co6" v-if="ite.houseStatus==3">代售</view>
  23. </view>
  24. <view class="plists" v-if="ite.residentInfoList&&ite.residentInfoList.length">
  25. <block v-for="(aite,aidx) in ite.residentInfoList">
  26. <view class="flexc pr mb12" :key="`peo${aidx}`" v-if="aidx==0" @click="getDetail(aite.residentId)"
  27. :data-idx="idx" :data-aidx="aidx" data-type="peo"
  28. @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+aite.right+'px'"
  29. >
  30. <view class="plist flexc">
  31. <image :src="man" class="head" v-if="aite.residentGender==1"></image>
  32. <image :src="woman" class="head" v-else></image>
  33. <view class="flex1">
  34. <view class="ptit">{{aite.residentName}}
  35. <view class="btn btnc ml10" v-if="aite.isHouseholder=='Y'">户主</view>
  36. </view>
  37. <view class="ptxt">身份证号 | {{aite.residentIdCard}}</view>
  38. <view class="flexc">
  39. <view class="ptxt">性别 | {{aite.residentGender==1?'男':'女'}}</view>
  40. <view class="ptxt">年龄 | {{getAgeFromID(aite.residentIdCard)}}岁</view>
  41. </view>
  42. <view class="flexc" v-if="aite.residentAppearance">
  43. <view class="ptxt">人员面貌 | {{kaType(aite.residentAppearance,rymmList)}}</view>
  44. </view>
  45. </view>
  46. </view>
  47. <view class="spdel" v-if="aite.right>0&&checkPermi(['wuYe:residentInfo:remove'])" @click.stop="getDelFn(aite.residentId)">删除</view>
  48. </view>
  49. <view class="flexc pr mb12" :key="`peo${aidx}`" v-if="aidx>0&&ite.zhanflag" @click="getDetail(aite.residentId)"
  50. :data-idx="idx" :data-aidx="aidx" data-type="peo"
  51. @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+aite.right+'px'"
  52. >
  53. <view class="plist flexc">
  54. <image :src="man" class="head" v-if="aite.residentGender==1"></image>
  55. <image :src="woman" class="head" v-else></image>
  56. <view class="flex1">
  57. <view class="ptit">{{aite.residentName}}
  58. <view class="btn btnc ml10" v-if="aite.isHouseholder=='Y'">户主</view>
  59. </view>
  60. <view class="ptxt">身份证号 | {{aite.residentIdCard}}</view>
  61. <view class="flexc">
  62. <view class="ptxt">性别 | {{aite.residentGender==1?'男':'女'}}</view>
  63. <view class="ptxt">年龄 | {{getAgeFromID(aite.residentIdCard)}}岁</view>
  64. </view>
  65. <view class="flexc" v-if="aite.residentAppearance">
  66. <view class="ptxt">人员面貌 | {{kaType(aite.residentAppearance,rymmList)}}</view>
  67. </view>
  68. </view>
  69. </view>
  70. <view class="spdel" v-if="aite.right>0&&checkPermi(['wuYe:residentInfo:remove'])" @click.stop="getDelFn(aite.residentId)">删除</view>
  71. </view>
  72. </block>
  73. <image :src="upimg" v-if="ite.residentInfoList.length>1" :class="ite.zhanflag?'act':''" class="upimg" @click="getZhan(idx)"></image>
  74. </view>
  75. <!-- 无数据 -->
  76. <view class="nodata" v-else>
  77. <image :src="noiconpimg" style="width: 200rpx;height: 200rpx;"></image>
  78. <view style="font-size: 26rpx;margin-bottom: 20rpx;">暂无人员</view>
  79. </view>
  80. </view>
  81. </block>
  82. <!-- 房屋下的人员 -->
  83. <block v-if="type=='fwpeople'">
  84. <view class="carlist peolist mb12 pr" v-for="(aite,idx) in datainfo" :key="idx" @click="getDetail(aite.residentId)"
  85. :data-idx="idx"
  86. @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+aite.right+'px'"
  87. >
  88. <view class="plists pb10 delleft" >
  89. <view class="plist flexc">
  90. <image :src="man" class="head" v-if="aite.residentGender==1"></image>
  91. <image :src="woman" class="head" v-else></image>
  92. <view class="flex1">
  93. <view class="ptit">{{aite.residentName}}
  94. <view class="btn btnc ml10" v-if="aite.isHouseholder=='Y'">户主</view>
  95. </view>
  96. <view class="ptxt">身份证号 | {{aite.residentIdCard}}</view>
  97. <view class="flexc">
  98. <view class="ptxt">性别 | {{aite.residentGender==1?'男':'女'}}</view>
  99. <view class="ptxt">年龄 | {{getAgeFromID(aite.residentIdCard)}}岁</view>
  100. </view>
  101. <view class="flexc" v-if="aite.residentAppearance">
  102. <view class="ptxt">人员面貌 | {{kaType(aite.residentAppearance,rymmList)}}</view>
  103. </view>
  104. </view>
  105. </view>
  106. </view>
  107. <view class="spdel" v-if="aite.right>0&&checkPermi(['wuYe:residentInfo:remove'])" @click.stop="getDelFn(aite.residentId)">删除</view>
  108. </view>
  109. </block>
  110. <!-- 维修人员管理 -->
  111. <view v-if="type=='staff'||type=='rzstaff'" class="flexcw">
  112. <view class="stafflist" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail(ite.staffId)">
  113. <view class="statop">
  114. <image class="head" :src="baseUrl+ite.avatarPhoto" v-if="ite.avatarPhoto"></image>
  115. <block v-else>
  116. <image class="head" :src="man" v-if="ite.gender==1"></image>
  117. <image class="head" :src="woman" v-else></image>
  118. </block>
  119. <view class="flex1 over">
  120. <view class="statit over">{{ite.staffName}}</view>
  121. <view class="statxt flexc" :class="{'co06':ite.status==1,'coff':ite.status==2}"><text class="cir" :class="{'bga':ite.status==1,'bgb':ite.status==2}"></text>{{kaType(ite.status,ygztList)}}</view>
  122. <!-- <view class="statxt flexc cof6"><text class="cir bgb"></text>指派中</view> -->
  123. </view>
  124. <image :src="pdel" class="stadel" v-if="type=='rzstaff'&&ite.examine!=2&&checkPermi(['wuYe:staffManage:remove'])" @click.stop="getDelFn(ite)"></image>
  125. <image :src="pdel" class="stadel" v-if="type=='staff'&&checkPermi(['wuYe:staffManage:deleteStaffManage'])" @click.stop="getDelFn(ite)"></image>
  126. </view>
  127. <view class="pr">
  128. <view class="stalist">
  129. <view class="imgs"><image :src="gzlx" class="gzlximg"></image></view>{{kaType(ite.staffCategory,yglbList)}}
  130. <view class="flex1"></view>
  131. <view class="flexcc eyes" @click.stop="getHideFn(idx)">
  132. <image :src="neye" class="neye" v-if="ite.hideflag"></image>
  133. <image :src="eye" class="eye" v-else></image>
  134. </view>
  135. </view>
  136. <view class="stalist">
  137. <view class="imgs"><image :src="mphone" class="mphone"></image></view>{{ite.hideflag?ite.phoneNumbera:ite.phoneNumber}}
  138. </view>
  139. <view class="stalist">
  140. <view class="imgs"><image :src="sfz" class="sfz"></image></view>{{ite.hideflag?ite.idCarda:ite.idCard}}
  141. </view>
  142. <block v-if="ftype=='authen'">
  143. <image :src="sha" class="shimg" v-if="ite.examine==1"></image>
  144. <image :src="shb" class="shimg" v-if="ite.examine==3"></image>
  145. </block>
  146. </view>
  147. <view style="height: 20rpx;"></view>
  148. <view class="pshbox flexc" v-if="ite.examine==1&&checkPermi(['wuYe:residentInfo:examineStaff'])">
  149. <view class="btna" @click.stop="getShFn(ite,'3')">拒绝</view>
  150. <view class="btnb" @click.stop="getShFn(ite,'2')">同意</view>
  151. </view>
  152. </view>
  153. </view>
  154. <!-- 来访管理 -->
  155. <block v-if="type=='comepeo'">
  156. <view class="carlist peolist pr" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail(ite)"
  157. :data-idx="idx"
  158. @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+ite.right+'px'"
  159. >
  160. <view class="pbr">
  161. <view class="ctop flexc">
  162. <image :src="hicoa" class="imgs"></image>
  163. <!-- <image :src="hicob" class="imgs" v-if="ite.type==2"></image> -->
  164. <view class="tit">{{ite.houseAddress}}</view>
  165. <!-- <view class="btn" :class="{'btnbga':ite.status==1,'btnbgc':ite.status==2}">{{kaType(ite.status,visitorType)}}</view> -->
  166. <!-- <view class="btn btnbgc">临时</view> -->
  167. <view class="flex1"></view>
  168. <view class="txt cc" v-if="ite.isCar=='Y'">驾车</view>
  169. </view>
  170. <view class="clists">
  171. <view class="clist" v-if="tabval==1"><view class="tit">预约时间</view>{{ite.reserveTime}}</view>
  172. <view class="clist" v-else><view class="tit">来访时间</view>{{ite.visitorTime}}</view>
  173. <view class="w50 flexc">
  174. <view class="clist"><view class="tit">访客姓名</view>{{ite.name}}</view>
  175. <view class="clist"><view class="tit">来访人数</view>{{ite.num}}人</view>
  176. </view>
  177. <view class="w50 flexc">
  178. <view class="clist"><view class="tit">来访事由</view>{{kaType(ite.reason,syList)}}</view>
  179. <view class="clist"><view class="tit" v-if="ite.isCar=='Y'">车牌号码</view>{{ite.plateNumber}}</view>
  180. </view>
  181. <view class="clist"><view class="tit">手机号码</view>{{ite.mobileNumber}}</view>
  182. </view>
  183. </view>
  184. <view class="spdel" v-if="ite.right>0" @click.stop="getDelFn(ite)">删除</view>
  185. </view>
  186. </block>
  187. <view class="shax">{{wtdt}}</view>
  188. </block>
  189. <!-- 无数据 -->
  190. <view class="nodata" v-else>
  191. <image :src="noiconpimg"></image>
  192. <view>
  193. 暂无数据
  194. </view>
  195. </view>
  196. </view>
  197. </template>
  198. <script>
  199. import {selectDictValue} from "@/utils/common.js"
  200. import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
  201. import config from '@/config'
  202. export default{
  203. props:{
  204. datainfo: {
  205. type: Array,
  206. default () {
  207. return []
  208. }
  209. },
  210. wtdt:{
  211. type:String,
  212. default () {
  213. return ''
  214. }
  215. },
  216. ftype:{
  217. type:String,
  218. default () {
  219. return ''
  220. }
  221. },
  222. type:{
  223. type:String,
  224. default () {
  225. return 0
  226. }
  227. },
  228. visitorType:{
  229. type:Array,
  230. default () {
  231. return []
  232. }
  233. },
  234. yglbList:{//员工类别
  235. type:Array,
  236. default () {
  237. return []
  238. }
  239. },
  240. ygztList:{//员工状态
  241. type:Array,
  242. default () {
  243. return []
  244. }
  245. },
  246. tabval:{
  247. type:[Number,String],
  248. default () {
  249. return ''
  250. }
  251. },
  252. rymmList:{//人员面貌
  253. type:Array,
  254. default () {
  255. return []
  256. }
  257. },
  258. syList:{//来访事由
  259. type:Array,
  260. default () {
  261. return []
  262. }
  263. }
  264. },
  265. data(){
  266. return{
  267. house:require("@/work/static/manage/house.png"),
  268. housea:require("@/work/static/manage/housea.png"),
  269. houseb:require("@/work/static/manage/houseb.png"),
  270. housec:require("@/work/static/manage/housec.png"),
  271. noiconpimg:require("@/static/nodata.png"),
  272. car:require("@/car/static/car/car.png"),
  273. cara:require("@/car/static/car/cara.png"),
  274. carb:require("@/car/static/car/carb.png"),
  275. hicoa:require("@/people/static/people/hicoa.png"),
  276. hicob:require("@/people/static/people/hicob.png"),
  277. man:require("@/people/static/people/man.png"),
  278. woman:require("@/people/static/people/woman.png"),
  279. rimg:require("@/people/static/people/rimg.png"),
  280. pdel:require("@/people/static/people/pdel.png"),
  281. gzlx:require("@/people/static/people/gzlx.png"),
  282. mphone:require("@/people/static/people/mphone.png"),
  283. sfz:require("@/people/static/people/sfz.png"),
  284. eye:require("@/people/static/people/eye.png"),
  285. neye:require("@/people/static/people/neye.png"),
  286. time:require("@/work/static/manage/time.png"),
  287. house:require("@/work/static/manage/house.png"),
  288. home:require("@/service/static/service/home.png"),
  289. upimg:require("@/static/images/home/up.png"),
  290. star:require('@/manage/static/community/star.png'),
  291. stara:require('@/manage/static/community/stara.png'),
  292. sha:require('@/mine/static/house/sha.png'),
  293. shb:require('@/mine/static/house/shb.png'),
  294. baseUrl:config.baseUrl,
  295. delBtnWidth:66,//左滑默认宽度
  296. }
  297. },
  298. mounted() {
  299. },
  300. methods:{
  301. checkPermi, checkRole,
  302. kaType(data, list) {
  303. return selectDictValue(list, data);
  304. },
  305. getAgeFromID(idNumber) {
  306. if(idNumber){
  307. const birthDateStr = idNumber.substring(6, 14);
  308. const birthYear = parseInt(birthDateStr.substring(0, 4));
  309. const birthMonth = parseInt(birthDateStr.substring(4, 6));
  310. const birthDay = parseInt(birthDateStr.substring(6, 8));
  311. const today = new Date();
  312. const currentYear = today.getFullYear();
  313. const currentMonth = today.getMonth() + 1;
  314. const currentDay = today.getDate();
  315. let age = currentYear - birthYear;
  316. if (currentMonth < birthMonth || (currentMonth === birthMonth && currentDay < birthDay)) {
  317. age--;
  318. }
  319. return age;
  320. }
  321. },
  322. getShFn(ite,e){
  323. var obj={
  324. ite:ite,
  325. sh:e
  326. }
  327. this.$emit('getShFn',obj)
  328. },
  329. getDetail(e){
  330. this.$emit('getDetail',e)
  331. },
  332. getAddFn(e){
  333. this.$emit('getAddFn',e)
  334. },
  335. getReadlist(e){
  336. this.$emit('getReadlist',e)
  337. },
  338. getDelFn(e){
  339. var that=this;
  340. uni.showModal({
  341. title: '确认删除',
  342. content: "是否确认删除",
  343. cancelText: '取消',
  344. confirmText: '确认',
  345. success: function(res) {
  346. if (res.confirm) {
  347. that.$emit('getDelFn',e)
  348. } else if (res.cancel) {
  349. }
  350. }
  351. });
  352. },
  353. getZhan(idx){
  354. // var obj=JSON.parse(JSON.stringify(this.datainfo))[idx]
  355. // obj.zhanflag=!obj.zhanflag;
  356. // this.datainfo.splice(idx,1,obj);
  357. this.datainfo[idx].zhanflag=!this.datainfo[idx].zhanflag
  358. },
  359. getHideFn(idx){
  360. this.datainfo[idx].hideflag=!this.datainfo[idx].hideflag
  361. },
  362. getPreview(idx,arr) {
  363. var newArr=[];
  364. arr.forEach(ite=>{
  365. var ds=this.baseUrl+ite
  366. newArr.push(ds)
  367. })
  368. uni.previewImage({
  369. urls: newArr,
  370. current:idx,
  371. success: function(data) {},
  372. fail: function(err) {}
  373. });
  374. },
  375. //开始触摸滑动
  376. drawStart(e) {
  377. // console.log("开始触发");
  378. var touch = e.touches[0];
  379. this.startX = touch.clientX;
  380. },
  381. //触摸滑动
  382. drawMove(e) {
  383. var idx=e.currentTarget.dataset.idx
  384. var aidx=e.currentTarget.dataset.aidx
  385. var type=e.currentTarget.dataset.type;
  386. for (var index in this.datainfo) {
  387. if(type&&type=='peo'){
  388. for(var i in this.datainfo[idx].residentInfoList){
  389. this.$set(this.datainfo[idx].residentInfoList[i],'right',0);
  390. }
  391. }else{
  392. this.$set(this.datainfo[index],'right',0);
  393. }
  394. }
  395. var touch = e.touches[0];
  396. var item = this.datainfo[idx];
  397. var disX = this.startX - touch.clientX;
  398. if (disX >= 20) {
  399. if (disX > this.delBtnWidth) {
  400. disX = this.delBtnWidth;
  401. }
  402. if(type&&type=='peo'){
  403. this.$set(this.datainfo[idx].residentInfoList[aidx],'right',disX);
  404. }else{
  405. this.$set(this.datainfo[idx],'right',disX);
  406. }
  407. // this.csListArrl[idx].right=disX
  408. } else {
  409. // this.csListArrl[idx].right=0
  410. this.$set(this.datainfo[idx],'right',0);
  411. }
  412. },
  413. //触摸滑动结束
  414. drawEnd(e) {
  415. // console.log("滑动结束");
  416. var idx=e.currentTarget.dataset.idx
  417. var item = this.datainfo[idx];
  418. if (item.right >= this.delBtnWidth / 2) {
  419. // this.datainfo[idx].right=this.delBtnWidth
  420. // this.$set(this.datainfo[idx],'right',this.delBtnWidth);
  421. } else {
  422. this.datainfo[idx].right=0
  423. }
  424. },
  425. }
  426. }
  427. </script>
  428. <style lang="scss" scoped>
  429. .flex{display: flex;}
  430. .flexc{display: flex;align-items: center;}
  431. .mb10{margin-bottom: 20rpx;}
  432. .carlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;
  433. .ctop{border-bottom: 2rpx solid #E5E5E5;padding:26rpx 24rpx;
  434. .imgs{width: 40rpx;height: 42rpx;margin-right: 30rpx;}
  435. .tit{font-size: 32rpx;color: #272727;font-weight: bold;margin-right: 14rpx;}
  436. .txt{font-weight: 500;font-size: 26rpx;
  437. &.ca{color: #3565ED;}
  438. &.cb{color: #FE5A0E;}
  439. &.cc{color: #28C529;}
  440. }
  441. .txta{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
  442. .num{font-size: 24rpx;color: #AAAAAA;}
  443. }
  444. .btn{height: 34rpx;border-radius: 18rpx;display: flex;align-items: center;justify-content: center;padding: 0 10rpx;font-size: 22rpx;margin-right: 24rpx;
  445. &.btna{border: 2rpx solid #06C770;color: #06C770;}
  446. &.btnb{border: 2rpx solid #3565ED;color: #3565ED;}
  447. &.btnc{border: 2rpx solid #FE5A0E;color: #FE5A0E;}
  448. &.btnbga{border: 1px solid #0156FE;color: #3565ED;background: #DFEAFF;height: 36rpx;}
  449. &.btnbgb{border: 1px solid #C1C1C1;color: #666666;background: #F1F1F1;height: 36rpx;}
  450. &.btnbgc{border: 1px solid #FE5A0E;color:#FE5A0E;background:#FFEEE6;height: 36rpx;}
  451. }
  452. .clists{padding: 24rpx 24rpx 8rpx;
  453. .clist{font-weight: 500;margin-bottom: 16rpx;
  454. font-size: 26rpx;color: #272727;display: flex;line-height: 34rpx;
  455. .tit{font-size: 26rpx;color: #AAAAAA;flex: 0 0 auto;margin-right: 16rpx;min-width: 108rpx;text-align-last: justify;}
  456. .imgas{display: flex;align-items: center;flex-wrap: wrap;
  457. image{width: 142rpx;height: 142rpx;margin-right: 30rpx;margin-top: 8rpx;}
  458. }
  459. }
  460. .w50{
  461. .clist{width: 50%;}
  462. }
  463. }
  464. }
  465. // 人员
  466. .peolist{
  467. .ctop{padding: 24rpx 24rpx 22rpx;}
  468. .imgs{margin-right: 16rpx !important;}
  469. .tit{font-size: 28rpx !important;}
  470. .plists{padding: 30rpx 24rpx 6rpx;
  471. .plist{background: linear-gradient(-90deg, #F2F5FF 0%, #FBFDFF 100%);border-radius: 20rpx;border: 2rpx solid #E6E6E6;padding: 18rpx 26rpx 4rpx;width: 100%;z-index: 1;
  472. .head{width: 96rpx;height: 98rpx;margin-right: 32rpx;flex: 0 0 auto;}
  473. .ptit{font-weight: bold;font-size: 30rpx;color: #272727;display: flex;align-items: center;margin-bottom: 14rpx;}
  474. .ptxt{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;margin-bottom: 14rpx;min-width: 176rpx;}
  475. }
  476. }
  477. .upimg{width: 26rpx;height: 22rpx;display: block;transform: rotate(180deg);transition: all 0.3s;margin: 0 auto 18rpx;
  478. &.act{transform: rotate(0deg);}
  479. }
  480. }
  481. // 物业费
  482. .mlistl{width: 40%;display: flex;flex-direction: column;align-items: center;flex: 0 0 auto;
  483. .mltit{font-weight: 500;font-size: 26rpx;color: #666666;margin-bottom: 18rpx;}
  484. .mltxt{font-weight: bold;font-size: 32rpx;color: #0156FE;}
  485. }
  486. .houselist{
  487. .clists{padding-bottom: 2rpx !important;}
  488. .clist{margin-bottom: 22rpx !important;}
  489. }
  490. // 巡更地点
  491. .patlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;padding: 0 24rpx 30rpx;
  492. .pattop{padding:22rpx 30rpx;margin-bottom: 2rpx;
  493. .imgs{width: 28rpx;height: 28rpx;margin-right: 12rpx;}
  494. .tit{font-size: 30rpx;color: #272727;font-weight: bold;margin-right: 14rpx;}
  495. .txt{font-weight: 500;font-size:24rpx;
  496. &.ca{color: #3565ED;}
  497. &.cb{color: #FE5A0E;}
  498. &.cc{color: #28C529;}
  499. &.cd{color: #FF6969;}
  500. }
  501. }
  502. .patlistr{background: #EFF4FF;border-radius: 20rpx;padding: 20rpx 32rpx;
  503. .clist{font-weight: 500;font-size: 26rpx;color: #272727;display: flex;line-height: 50rpx;
  504. .tit{font-size: 26rpx;flex: 0 0 auto;min-width: 108rpx;text-align-last: justify;font-weight: bold;}
  505. }
  506. }
  507. .patbtns{display: flex;justify-content: flex-end;align-items: center;flex-wrap: wrap;
  508. 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;
  509. &.btna{border: 2rpx solid #0256FD;color: #0256FD;}
  510. &.btnb{background: #0256FD;color: #ffffff;}
  511. }
  512. }
  513. }
  514. // 报修
  515. .walists{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx; position: relative;
  516. .watop{
  517. padding: 0 36rpx 8rpx 38rpx;
  518. .watit{padding: 24rpx 0;margin-bottom: 4rpx;display: flex;
  519. .tit{font-weight: bold;font-size: 28rpx;color: #272727;flex: 1;
  520. .cir{width: 14rpx;margin-left: 8rpx;margin-bottom: 10rpx;height: 14rpx;display: inline-block;background: #FF6969;border-radius: 8rpx;}
  521. }
  522. .txt{font-weight: bold;font-size: 26rpx;flex: 0 0 auto;
  523. }
  524. }
  525. }
  526. .walist{display: flex;font-weight: 500;font-size: 24rpx;color: #666666;margin-bottom: 16rpx;
  527. .tit{min-width: 100rpx;text-align-last: justify}
  528. }
  529. .wabtn{display: flex;align-items: center;justify-content: space-between;border-top: 2rpx solid #E5E5E5;height: 80rpx;padding: 0 38rpx;
  530. view{font-weight: 500;font-size: 24rpx;color: #666666;}
  531. image{width: 16rpx;height: 28rpx;}
  532. }
  533. }
  534. // 维修人员
  535. .stafflist{width: 344rpx;min-height: 256rpx;background: #FFFFFF;border-radius: 20rpx;margin:0 12rpx 24rpx 12rpx;box-sizing: border-box;
  536. // &:nth-of-type(2n){margin-right: 0;}
  537. .statop{border-bottom: 2rpx solid #E5E5E5;display: flex;padding: 24rpx 24rpx 22rpx;
  538. .head{width: 80rpx;height: 82rpx;margin-right: 24rpx;flex: 0 0 auto;}
  539. .stadel{width: 30rpx;height: 30rpx;flex: 0 0 auto;margin-left: 12rpx;}
  540. .statit{font-weight: bold;font-size: 30rpx;color: #272727;margin-bottom: 4rpx;}
  541. .statxt{font-weight: 500;font-size: 26rpx;
  542. .cir{width: 10rpx;height: 10rpx;border-radius: 50%;margin-right: 14rpx;display: inline-block;
  543. &.bga{background: #06C770;}
  544. &.bgb{background: #FF6969;}
  545. }
  546. }
  547. }
  548. .shimg{width: 117rpx;height: 78rpx;position: absolute;right: 26rpx;bottom: 20rpx;}
  549. .stalist{font-weight: 500;font-size: 26rpx;color: #272727;display: flex;align-items: center;padding: 20rpx 24rpx 0;
  550. .imgs{width: 24rpx;height: 30rpx;margin-right: 22rpx;flex: 0 0 auto;display: flex;align-items: center;justify-content: center;
  551. .gzlximg{width: 24rpx;height: 28rpx;}
  552. .mphone{width: 18rpx;height: 30rpx;}
  553. .sfz{width: 20rpx;height: 18rpx;}
  554. }
  555. .eyes{width: 34rpx;height: 34rpx;
  556. .eye{width: 22rpx;height: 15rpx;}
  557. .neye{width: 24rpx;height: 24rpx;}
  558. }
  559. }
  560. .pshbox{border-top: 2rpx solid #E5E5E5;
  561. view{width: 50%;text-align: center;height: 72rpx;line-height: 72rpx;text-align: center;
  562. &.btna{color: #FF6969;border-right: 2rpx solid #E5E5E5;}
  563. &.btnb{color: #3565ED;}
  564. }
  565. }
  566. }
  567. .watopcom{background-color: #ffffff;border-radius: 20rpx;position: relative;z-index: 1;padding-bottom: 30rpx !important;
  568. .watopcoma{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;margin-bottom: 24rpx;}
  569. .watopcomb{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
  570. }
  571. //资讯
  572. .newlists{
  573. background: #FFFFFF;padding: 22rpx 24rpx;margin-bottom: 24rpx;
  574. border-radius: 20rpx;
  575. .tit{font-size: 32rpx;font-weight: bold;color: #272727;line-height: 48rpx;margin-bottom:16rpx;}
  576. .txt{font-size: 24rpx;color: #666666;line-height: 36rpx;margin-bottom: 32rpx;}
  577. .stabox{
  578. .time{font-weight: 500;font-size: 24rpx;color: #AAAAAA;line-height: 36rpx;}
  579. .btns{font-weight: 500;font-size: 22rpx;color: #666666;line-height: 36rpx;min-width: 100rpx;box-sizing: border-box;margin-left: 20rpx;
  580. .imga{width: 24rpx;height: 22rpx;margin-right: 8rpx;}
  581. .imgb{width: 24rpx;height: 18rpx;margin-right: 10rpx;}
  582. }
  583. }
  584. }
  585. // 视频
  586. .videolists{
  587. background: #FFFFFF;margin-bottom: 24rpx;border-radius: 20rpx;
  588. .titbox{padding-top: 16rpx;padding-right: 38rpx;}
  589. .videos{width: 260rpx;height: 180rpx;}
  590. .tit{font-weight: bold;font-size: 14px;color: #272727;text-align: left;margin-bottom: 10rpx;}
  591. .num{font-weight: 500;font-size: 20rpx;color: #666666;min-width: 68rpx;padding: 0 8rpx;box-sizing: border-box;
  592. height: 28rpx;background: #E6E6E6;border-radius: 14rpx;line-height: 28rpx;text-align: center;}
  593. .time{font-weight: 500;font-size: 24rpx;color: #AAAAAA;margin-top: 44rpx;}
  594. }
  595. // 名单
  596. .readlist{background: #FFFFFF;border-radius: 20rpx;border: 2rpx solid #E6E6E6;margin-bottom: 24rpx;padding: 24rpx;display: flex;align-items: center;box-sizing: border-box;
  597. .head{width: 96rpx;height: 96rpx;margin-right: 28rpx;flex: 0 0 auto;}
  598. .tit{font-weight: bold;font-size: 30rpx;color: #272727;margin-bottom: 12rpx;}
  599. .time{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;
  600. text{margin-right: 12rpx;display: inline-block;}
  601. }
  602. }
  603. .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;}
  604. // 无数据
  605. .nodata{display: flex;flex-direction: column;align-items: center;
  606. image{width: 440rpx;height: 440rpx;}
  607. view{font-size: 30rpx;color: #666666;font-weight: bold;}
  608. }
  609. </style>