list.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643
  1. <template>
  2. <view>
  3. <!-- 第一种样式 人员管理-->
  4. <block v-if="datainfo.length>0">
  5. <!-- 房屋管理 -->
  6. <block v-if="type=='comehouse'">
  7. <view class="carlist houselist" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail(ite)">
  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. <view class="tit">{{ite.communityName}}{{ite.detailedAddress}}</view>
  14. <image :src="pdel" class="chdel" @click.stop="getDelFn(ite)" v-if="checkPermi(['wuYe:residentInfo:deleteResident'])"></image>
  15. <view class="flex1"></view>
  16. <!-- <view @click.stop="getDelFn(ite)" v-if="checkPermi(['wuYe:residentInfo:deleteResident'])">删除</view> -->
  17. <block v-if="tabval=='-1'&&ite.examine==1&&checkPermi(['wuYe:residentInfo:examineStaff'])">
  18. <view class="shbtn btna" @click.stop="getSh('3',ite)">拒绝</view>
  19. <view class="shbtn btnb" @click.stop="getSh('2',ite)">通过</view>
  20. </block>
  21. <block v-else>
  22. <view class="txt ca" v-if="ite.houseStatus==1">自住</view>
  23. <view class="txt cb" v-if="ite.houseStatus==4">出租</view>
  24. <view class="txt cc" v-if="ite.houseStatus==2">空闲</view>
  25. <view class="txt co6" v-if="ite.houseStatus==3">代售</view>
  26. </block>
  27. </view>
  28. <view class="clists pr" v-if="tabval=='-1'||tabval=='wtg'">
  29. <!-- 房本信息 -->
  30. <view class="chtit">
  31. <image :src="chtitbg" class="chtitbg"></image>
  32. <view class="chtxt">房本信息</view>
  33. </view>
  34. <view class="clist"><view class="tit">姓名</view>{{ite.residentName}}</view>
  35. <view class="clist"><view class="tit">手机号</view>{{ite.residentPhone}}</view>
  36. <view class="clist"><view class="tit">人员类型</view>
  37. {{kaType(ite.residentType,rylxList)}}</view>
  38. <!-- <view class="clist"><view class="tit">房屋坐落</view>{{ite.location}}</view>
  39. <view class="w50 flexc">
  40. <view class="clist"><view class="tit">房屋状态</view>
  41. <view class="txtb ca" v-if="ite.houseStatus==1">自住</view>
  42. <view class="txtb cb" v-if="ite.houseStatus==4">出租</view>
  43. <view class="txtb cc" v-if="ite.houseStatus==2">空闲</view>
  44. <view class="txtb co6" v-if="ite.houseStatus==3">代售</view>
  45. </view>
  46. <view class="clist"><view class="tit">房屋所属</view>{{ite.ownerName}}</view>
  47. </view>
  48. <view class="w50 flexc">
  49. <view class="clist"><view class="tit">建筑面积</view>{{ite.area}}m²</view>
  50. <view class="clist"><view class="tit">有无车位</view>{{ite.hasParkingSpace=='Y'?'有':'无'}}</view>
  51. </view> -->
  52. </view>
  53. <block v-else>
  54. <view class="clists">
  55. <view class="clist"><view class="tit">房屋坐落</view>{{ite.location}}</view>
  56. <view class="clist"><view class="tit">建筑面积</view>{{ite.area}}m²</view>
  57. <!-- <view class="clist"><view class="tit">手机号码</view>13656788668</view> -->
  58. </view>
  59. <view class="btns flexc">
  60. <view class="bga" v-if="checkPermi(['wuYe:houseInfo:edit'])" @click.stop="getPut(ite.houseId)">编辑信息</view>
  61. <view class="bgb" v-if="checkPermi(['wuYe:residentInfo:list'])" @click.stop="getJuzhu(ite.houseId)">居住信息</view>
  62. <view class="bgc" v-if="checkPermi(['wuYe:car:list'])" @click.stop="getCar(ite.houseId)"> 车辆信息</view>
  63. </view>
  64. </block>
  65. </view>
  66. </block>
  67. <block v-if="type=='mycar'">
  68. <view class="carlist pr" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail(ite.carId)"
  69. :data-idx="idx"
  70. @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+ite.right+'px'"
  71. >
  72. <view class="delleft" style="padding: 0 24rpx;">
  73. <view class="carltop flexc">
  74. <view class="flex1">
  75. <view class="tit mb6 flexc" :class="ite.vehicleEnergy=='新能源'?'co16':'co01'">{{ite.plateNumber}}
  76. <text class="cir"></text>
  77. <text v-if="ite.vehicleColour">{{ite.vehicleColour}}</text>
  78. </view>
  79. <view class="txt flexc">
  80. {{ite.vehicleBrand}}
  81. <view class="txtbtn flexcc" v-if="ite.vehicleEnergy=='新能源'">{{ite.vehicleEnergy}}</view>
  82. <!-- <view class="txtbtn flexcc" v-if="ite.vehicleType==2">新能源</view> -->
  83. </view>
  84. </view>
  85. <image :src="carb" class="carb" v-if="ite.vehicleEnergy=='新能源'"></image>
  86. <image :src="cara" class="cara" v-else></image>
  87. </view>
  88. <view class="carlf">
  89. <view class="clflist">发动机号码 :{{ite.engineNumber}}</view>
  90. <view class="clflist">车辆识别代号:{{ite.identificationNumber}}</view>
  91. <view class="flexc">
  92. <view class="clflist w50">注册日期:{{ite.registrationDate}}</view>
  93. <view class="clflist w50">发证日期:{{ite.issueDate}}</view>
  94. </view>
  95. </view>
  96. </view>
  97. <view class="spdel" v-if="ite.right>0&&checkPermi(['wuYe:car:remove'])" @click.stop="getDelFn(ite.carId)">删除</view>
  98. </view>
  99. </block>
  100. <!-- 黑名单设置 -->
  101. <block v-if="type=='blackhmd'">
  102. <view class="carlist pr" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail(ite.blackManageId)"
  103. :data-idx="idx"
  104. @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+ite.right+'px'"
  105. >
  106. <view class="delleft" style="padding: 0 24rpx;">
  107. <view class="ctop flexc" style="padding: 24rpx 0;">
  108. <view class="tit">{{kaType(ite.blackType,hmdlxList)}}</view>
  109. </view>
  110. <view class="carlf">
  111. <!-- <view class="clflist">类型 :{{kaType(ite.blackType,hmdlxList)}}</view> -->
  112. <view class="clflist">说明:{{ite.blackTitle}}</view>
  113. <view class="clflist">阈值:{{ite.blackNum}}</view>
  114. <view class="clflist">启用:{{ite.isDel=='Y'?'启用':'禁用'}}</view>
  115. </view>
  116. </view>
  117. <view class="spdel" v-if="ite.right>0&&checkPermi(['wuYe:illegalParking:remove'])" @click.stop="getDelFn(ite.blackManageId)">删除</view>
  118. </view>
  119. </block>
  120. <!-- 物业费管理 -->
  121. <block v-if="type=='money'">
  122. <view class="carlist peolist" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail(ite.propertyId)">
  123. <view class="ctop flexc" style="padding: 26rpx 24rpx 24rpx;">
  124. <image :src="hicoa" class="imgs"></image>
  125. <view class="tit">{{ite.detailedAddress}}</view>
  126. <view class="flex1"></view>
  127. <view class="txta">{{ite.year}}/01 -{{ite.year}}/12</view>
  128. </view>
  129. <view class="clists flexc">
  130. <view class="mlistl">
  131. <view class="mltit">应缴总额 /元</view>
  132. <view class="mltxt">{{ite.totalExpense}}</view>
  133. </view>
  134. <view class="mlistr">
  135. <view class="clist"><view class="tit">物业费用:</view>{{ite.tenementExpense}}元</view>
  136. <view class="clist"><view class="tit">车位费用:</view>{{ite.parkingExpense}}元</view>
  137. <view class="clist"><view class="tit">能耗费用:</view>{{ite.energyExpense}}元</view>
  138. </view>
  139. </view>
  140. </view>
  141. </block>
  142. <!-- 历史账单 -->
  143. <block v-if="type=='moneybill'">
  144. <view class="carlist peolist" v-for="(ite,idx) in datainfo" :key="idx">
  145. <view class="ctop flexc" style="padding: 26rpx 24rpx 24rpx;">
  146. <image :src="time" class="imgs"></image>
  147. <view class="tit">{{ite.year}}/01 {{ite.year}}/12</view>
  148. <view class="btn btnbgb" v-if="ite.isExpense=='Y'">已缴费</view>
  149. <view class="btn btnbgc" v-else>未缴费</view>
  150. <view class="flex1"></view>
  151. <view class="txta">{{ite.detailedAddress}}</view>
  152. </view>
  153. <view class="clists flexc">
  154. <view class="mlistl">
  155. <view class="mltit">应缴总额 /元</view>
  156. <view class="mltxt">{{ite.totalExpense}}</view>
  157. </view>
  158. <view class="mlistr">
  159. <view class="clist"><view class="tit">物业费用:</view>{{ite.tenementExpense}}元</view>
  160. <view class="clist"><view class="tit">车位费用:</view>{{ite.parkingExpense}}元</view>
  161. <view class="clist"><view class="tit">能耗费用:</view>{{ite.energyExpense}}元</view>
  162. </view>
  163. </view>
  164. </view>
  165. </block>
  166. <!-- 物业费设置 -->
  167. <block v-if="type=='feeset'">
  168. <view class="carlist peolist pr" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail(ite.settingsId)"
  169. :data-idx="idx"
  170. @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+ite.right+'px'"
  171. >
  172. <view class="delleft">
  173. <view class="ctop flexc" style="padding: 26rpx 24rpx 24rpx;">
  174. <image :src="time" class="imgs"></image>
  175. <view class="tit">{{ite.year}}/01 {{ite.year}}/12</view>
  176. <!-- <view class="btn btnbgb" v-if="ite.isExpense=='Y'">已缴费</view>
  177. <view class="btn btnbgc" v-else>未缴费</view> -->
  178. <view class="flex1"></view>
  179. <!-- <view class="txta">{{ite.detailedAddress}}</view> -->
  180. </view>
  181. <view class="clists flexc">
  182. <view class="mlistl">
  183. <view class="mltit">应缴总额 /元</view>
  184. <view class="mltxt">{{ite.totalExpense}}</view>
  185. </view>
  186. <view class="mlistr">
  187. <view class="clist"><view class="tit">物业费用:</view>{{ite.tenementExpense}}元</view>
  188. <view class="clist"><view class="tit">车位费用:</view>{{ite.parkingExpense}}元</view>
  189. <view class="clist"><view class="tit">能耗费用:</view>{{ite.energyExpense}}元</view>
  190. </view>
  191. </view>
  192. </view>
  193. <view class="spdel" v-if="ite.right>0&&checkPermi(['wuYe:car:remove'])" @click.stop="getDelFn(ite.settingsId)">删除</view>
  194. </view>
  195. </block>
  196. <view class="shax">{{wtdt}}</view>
  197. </block>
  198. <!-- 无数据 -->
  199. <view class="nodata" v-else>
  200. <image :src="noiconpimg"></image>
  201. <view>
  202. 暂无数据
  203. </view>
  204. </view>
  205. </view>
  206. </template>
  207. <script>
  208. import {selectDictValue} from "@/utils/common.js"
  209. import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
  210. import config from '@/config'
  211. export default{
  212. props:{
  213. datainfo: {
  214. type: Array,
  215. default () {
  216. return []
  217. }
  218. },
  219. wtdt:{
  220. type:String,
  221. default () {
  222. return ''
  223. }
  224. },
  225. type:{
  226. type:String,
  227. default () {
  228. return ''
  229. }
  230. },
  231. tabval:{
  232. type:String,
  233. default () {
  234. return ''
  235. }
  236. },
  237. clcxList:{
  238. type:Array,
  239. default () {
  240. return []
  241. }
  242. },
  243. hmdlxList:{
  244. type:Array,
  245. default () {
  246. return []
  247. }
  248. },
  249. rylxList:{
  250. type:Array,
  251. default () {
  252. return []
  253. }
  254. }
  255. },
  256. data(){
  257. return{
  258. noiconpimg:require("@/static/nodata.png"),
  259. car:require("@/car/static/car/car.png"),
  260. cara:require("@/car/static/car/carba.png"),
  261. carb:require("@/car/static/car/carbb.png"),
  262. hicoa:require("@/people/static/people/hicoa.png"),
  263. hicob:require("@/people/static/people/hicob.png"),
  264. man:require("@/people/static/people/man.png"),
  265. woman:require("@/people/static/people/woman.png"),
  266. rimg:require("@/people/static/people/rimg.png"),
  267. pdel:require("@/people/static/people/pdel.png"),
  268. gzlx:require("@/people/static/people/gzlx.png"),
  269. mphone:require("@/people/static/people/mphone.png"),
  270. time:require("@/work/static/manage/time.png"),
  271. house:require("@/work/static/manage/house.png"),
  272. housea:require("@/work/static/manage/housea.png"),
  273. houseb:require("@/work/static/manage/houseb.png"),
  274. housec:require("@/work/static/manage/housec.png"),
  275. home:require("@/service/static/service/home.png"),
  276. upimg:require("@/static/images/home/up.png"),
  277. star:require('@/manage/static/community/star.png'),
  278. stara:require('@/manage/static/community/stara.png'),
  279. eye:require('@/manage/static/community/eye.png'),
  280. chtitbg:require('@/work/static/manage/hbg.png'),
  281. baseUrl:config.baseUrl,
  282. delBtnWidth:66,//左滑默认宽度
  283. }
  284. },
  285. mounted() {
  286. },
  287. methods:{
  288. checkPermi, checkRole,
  289. kaType(data, list) {
  290. return selectDictValue(list, data);
  291. },
  292. getDetail(e){
  293. this.$emit('getDetail',e)
  294. },
  295. getPut(e){
  296. this.$emit('getPut',e)
  297. },
  298. getJuzhu(e){
  299. this.$emit('getJuzhu',e)
  300. },
  301. getCar(e){
  302. this.$emit('getCar',e)
  303. },
  304. getAddFn(e){
  305. this.$emit('getAddFn',e)
  306. },
  307. getReadlist(e){
  308. this.$emit('getReadlist',e)
  309. },
  310. getZhan(idx){
  311. // var obj=JSON.parse(JSON.stringify(this.datainfo))[idx]
  312. // obj.zhanflag=!obj.zhanflag;
  313. // this.datainfo.splice(idx,1,obj);
  314. this.datainfo[idx].zhanflag=!this.datainfo[idx].zhanflag
  315. },
  316. getSh(e,ite){
  317. var that=this;
  318. var obj={
  319. ite:ite,
  320. sh:e
  321. }
  322. this.$emit('getShFn',obj)
  323. // var str="";
  324. // if(type=='2'){
  325. // str="通过"
  326. // }else if(type=='3'){
  327. // str="拒绝"
  328. // }
  329. // uni.showModal({
  330. // title: '确认'+str,
  331. // content: "是否确认"+str,
  332. // cancelText: '取消',
  333. // confirmText: '确认',
  334. // success: function(res) {
  335. // if (res.confirm) {
  336. // // var obj={
  337. // // status:type,
  338. // // contentId:ite.contentId,
  339. // // commentId:ite.commentId,
  340. // // }
  341. // that.$emit('getSh',obj)
  342. // } else if (res.cancel) {
  343. // }
  344. // }
  345. // });
  346. },
  347. getDelFn(id){
  348. var that=this;
  349. uni.showModal({
  350. title: '确认删除',
  351. content: "是否确认删除",
  352. cancelText: '取消',
  353. confirmText: '确认',
  354. success: function(res) {
  355. if (res.confirm) {
  356. that.$emit('getDelFn',id)
  357. } else if (res.cancel) {
  358. }
  359. }
  360. });
  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. // console.log("滑动");
  384. for (var index in this.datainfo) {
  385. // this.csListArrl[index].right=0
  386. this.$set(this.datainfo[index],'right',0);
  387. }
  388. var idx=e.currentTarget.dataset.idx
  389. var touch = e.touches[0];
  390. var item = this.datainfo[idx];
  391. var disX = this.startX - touch.clientX;
  392. if (disX >= 20) {
  393. if (disX > this.delBtnWidth) {
  394. disX = this.delBtnWidth;
  395. }
  396. // this.csListArrl[idx].right=disX
  397. this.$set(this.datainfo[idx],'right',disX);
  398. } else {
  399. // this.csListArrl[idx].right=0
  400. this.$set(this.datainfo[idx],'right',0);
  401. }
  402. },
  403. //触摸滑动结束
  404. drawEnd(e) {
  405. // console.log("滑动结束");
  406. var idx=e.currentTarget.dataset.idx
  407. var item = this.datainfo[idx];
  408. if (item.right >= this.delBtnWidth / 2) {
  409. // this.datainfo[idx].right=this.delBtnWidth
  410. this.$set(this.datainfo[idx],'right',this.delBtnWidth);
  411. } else {
  412. this.datainfo[idx].right=0
  413. }
  414. },
  415. }
  416. }
  417. </script>
  418. <style lang="scss" scoped>
  419. .flex{display: flex;}
  420. .flexc{display: flex;align-items: center;}
  421. .mb10{margin-bottom: 20rpx;}
  422. .carlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;
  423. .carltop{min-height: 154rpx;border-bottom: 2rpx solid #E5E5E5;
  424. .cir{width: 8rpx;height: 8rpx;border-radius: 50%;margin: 0 8rpx;display: inline-block;}
  425. .co16{
  426. .cir{background: #16BE7F;}
  427. }
  428. .co01{
  429. .cir{background: #0156FE;}
  430. }
  431. .tit{font-weight: bold;font-size: 32rpx;}
  432. .txt{font-weight: 500;font-size: 26rpx;color: #272727;}
  433. .txtbtn{min-width: 82rpx;
  434. height: 32rpx;font-weight: 500;font-size: 20rpx;color: #45CB99;
  435. border-radius: 16rpx;border: 1px solid #45CB99;margin-left: 12rpx;}
  436. .cara{flex: 0 0 auto;width: 232rpx;height: 74rpx;margin-right: 40rpx;}
  437. .carb{flex: 0 0 auto;width: 278rpx;height: 130rpx;}
  438. }
  439. .carlf{padding:26rpx 0 10rpx;
  440. .clflist{font-weight: 500;font-size: 26rpx;color: #666666;margin-bottom: 16rpx;}
  441. }
  442. .ctop{border-bottom: 2rpx solid #E5E5E5;padding:26rpx 24rpx;
  443. .imgs{width: 40rpx;height: 42rpx;margin-right: 30rpx;}
  444. .tit{font-size: 32rpx;color: #272727;font-weight: bold;margin-right: 14rpx;}
  445. .txt{font-weight: 500;font-size: 26rpx;
  446. &.ca{color: #3565ED;}
  447. &.cb{color: #FE5A0E;}
  448. &.cc{color: #28C529;}
  449. }
  450. .txta{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
  451. .num{font-size: 24rpx;color: #AAAAAA;}
  452. }
  453. .btn{height: 34rpx;border-radius: 18rpx;display: flex;align-items: center;justify-content: center;padding: 0 10rpx;font-size: 22rpx;margin-right: 24rpx;
  454. &.btna{border: 2rpx solid #06C770;color: #06C770;}
  455. &.btnb{border: 2rpx solid #3565ED;color: #3565ED;}
  456. &.btnc{border: 2rpx solid #FE5A0E;color: #FE5A0E;}
  457. &.btnbga{border: 1px solid #0156FE;color: #3565ED;background: #DFEAFF;height: 36rpx;}
  458. &.btnbgb{border: 1px solid #C1C1C1;color: #666666;background: #F1F1F1;height: 36rpx;}
  459. &.btnbgc{border: 1px solid #FE5A0E;color:#FE5A0E;background:#FFEEE6;height: 36rpx;}
  460. }
  461. .clists{padding: 24rpx 24rpx 8rpx;
  462. .clist{font-weight: 500;margin-bottom: 16rpx;
  463. font-size: 26rpx;color: #272727;display: flex;line-height: 34rpx;
  464. .tit{font-size: 26rpx;color: #AAAAAA;flex: 0 0 auto;margin-right: 16rpx;min-width: 108rpx;text-align-last: justify;}
  465. .imgas{display: flex;align-items: center;flex-wrap: wrap;
  466. image{width: 142rpx;height: 142rpx;margin-right: 30rpx;margin-top: 8rpx;}
  467. }
  468. }
  469. .w50{
  470. .clist{width: 50%;}
  471. }
  472. }
  473. }
  474. // 人员
  475. .peolist{
  476. .ctop{padding: 24rpx 24rpx 22rpx;}
  477. .imgs{margin-right: 16rpx !important;}
  478. .tit{font-size: 28rpx !important;}
  479. .plists{padding: 30rpx 24rpx 6rpx;
  480. .plist{background: linear-gradient(-90deg, #F2F5FF 0%, #FBFDFF 100%);border-radius: 20rpx;border: 2rpx solid #E6E6E6;margin-bottom: 24rpx;padding: 18rpx 26rpx 4rpx;
  481. .head{width: 96rpx;height: 98rpx;margin-right: 32rpx;flex: 0 0 auto;}
  482. .ptit{font-weight: bold;font-size: 30rpx;color: #272727;display: flex;align-items: center;margin-bottom: 14rpx;}
  483. .ptxt{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;margin-bottom: 14rpx;min-width: 176rpx;}
  484. }
  485. }
  486. .upimg{width: 26rpx;height: 22rpx;display: block;transform: rotate(180deg);transition: all 0.3s;margin: 0 auto 18rpx;
  487. &.act{transform: rotate(0deg);}
  488. }
  489. }
  490. // 物业费
  491. .mlistl{width: 40%;display: flex;flex-direction: column;align-items: center;flex: 0 0 auto;
  492. .mltit{font-weight: 500;font-size: 26rpx;color: #666666;margin-bottom: 18rpx;}
  493. .mltxt{font-weight: bold;font-size: 32rpx;color: #0156FE;}
  494. }
  495. .houselist{
  496. .clists{padding-bottom: 2rpx !important;}
  497. .clist{margin-bottom: 22rpx !important;
  498. .txtb{font-weight: 500;font-size:24rpx;
  499. &.ca{color: #3565ED;}
  500. &.cb{color: #FE5A0E;}
  501. &.cc{color: #28C529;}
  502. }
  503. }
  504. .chdel{width: 44rpx;height: 44rpx;margin-left: 12rpx;flex: 0 0 auto;}
  505. .chtit{font-size: 26rpx;color: #66b4d1;position: absolute;right: -10rpx;top: 16rpx;
  506. .chtitbg{width: 55rpx;height: 149rpx;}
  507. .chtxt{position: absolute;width: 44rpx;height: 149rpx;left: 0;top: 0;padding: 10rpx;box-sizing: border-box;padding-left: 14rpx;}
  508. }
  509. .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;
  510. &.btna{border: 2rpx solid #FF6969;background: #FFF8F8;color: #FF6969;}
  511. &.btnb{border: 2rpx solid #28C529;background: #EEFCEE;color: #28C529;}
  512. }
  513. .btns{justify-content: flex-end;
  514. 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;
  515. &.bga{border: 2rpx solid #FE5A0E;background: #FFF8F5;color: #FE5A0E;}
  516. &.bgb{border: 2rpx solid #0256FD;background: #F1F5FC;color: #0256FD;}
  517. &.bgc{border: 2rpx solid #06C770;background: #EEF8F4;color: #06C770;}
  518. }
  519. }
  520. }
  521. // 巡更地点
  522. .patlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;padding: 0 24rpx 30rpx;
  523. .pattop{padding:22rpx 30rpx;margin-bottom: 2rpx;
  524. .imgs{width: 28rpx;height: 28rpx;margin-right: 12rpx;}
  525. .tit{font-size: 30rpx;color: #272727;font-weight: bold;margin-right: 14rpx;}
  526. .txt{font-weight: 500;font-size:24rpx;
  527. &.ca{color: #3565ED;}
  528. &.cb{color: #FE5A0E;}
  529. &.cc{color: #28C529;}
  530. &.cd{color: #FF6969;}
  531. }
  532. }
  533. .patlistr{background: #EFF4FF;border-radius: 20rpx;padding: 20rpx 32rpx;
  534. .clist{font-weight: 500;font-size: 26rpx;color: #272727;display: flex;line-height: 50rpx;
  535. .tit{font-size: 26rpx;flex: 0 0 auto;min-width: 108rpx;text-align-last: justify;font-weight: bold;}
  536. }
  537. }
  538. .patbtns{display: flex;justify-content: flex-end;align-items: center;flex-wrap: wrap;
  539. 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;
  540. &.btna{border: 2rpx solid #0256FD;color: #0256FD;}
  541. &.btnb{background: #0256FD;color: #ffffff;}
  542. }
  543. }
  544. }
  545. // 报修
  546. .walists{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx; position: relative;
  547. .watop{
  548. padding: 0 36rpx 8rpx 38rpx;
  549. .watit{padding: 24rpx 0;margin-bottom: 4rpx;display: flex;
  550. .tit{font-weight: bold;font-size: 28rpx;color: #272727;flex: 1;
  551. .cir{width: 14rpx;margin-left: 8rpx;margin-bottom: 10rpx;height: 14rpx;display: inline-block;background: #FF6969;border-radius: 8rpx;}
  552. }
  553. .txt{font-weight: bold;font-size: 26rpx;flex: 0 0 auto;
  554. }
  555. }
  556. }
  557. .walist{display: flex;font-weight: 500;font-size: 24rpx;color: #666666;margin-bottom: 16rpx;
  558. .tit{min-width: 100rpx;text-align-last: justify}
  559. }
  560. .wabtn{display: flex;align-items: center;justify-content: space-between;border-top: 2rpx solid #E5E5E5;height: 80rpx;padding: 0 38rpx;
  561. view{font-weight: 500;font-size: 24rpx;color: #666666;}
  562. image{width: 16rpx;height: 28rpx;}
  563. }
  564. }
  565. // 维修人员
  566. .stafflist{width: 344rpx;min-height: 256rpx;background: #FFFFFF;border-radius: 20rpx;margin:0 12rpx 24rpx 12rpx;padding-bottom: 20rpx;box-sizing: border-box;
  567. // &:nth-of-type(2n){margin-right: 0;}
  568. .statop{border-bottom: 2rpx solid #E5E5E5;display: flex;padding: 24rpx 24rpx 22rpx;
  569. .head{width: 80rpx;height: 82rpx;margin-right: 24rpx;flex: 0 0 auto;}
  570. .stadel{width: 30rpx;height: 30rpx;flex: 0 0 auto;margin-left: 12rpx;}
  571. .statit{font-weight: bold;font-size: 30rpx;color: #272727;margin-bottom: 4rpx;}
  572. .statxt{font-weight: 500;font-size: 26rpx;
  573. .cir{width: 10rpx;height: 10rpx;border-radius: 50%;margin-right: 14rpx;display: inline-block;
  574. &.bga{background: #06C770;}
  575. &.bgb{background: #FF6969;}
  576. }
  577. }
  578. }
  579. .stalist{font-weight: 500;font-size: 26rpx;color: #272727;display: flex;align-items: center;padding: 20rpx 24rpx 0;
  580. .imgs{width: 24rpx;height: 30rpx;margin-right: 22rpx;flex: 0 0 auto;display: flex;align-items: center;justify-content: center;
  581. .gzlximg{width: 24rpx;height: 28rpx;}
  582. .mphone{width: 18rpx;height: 30rpx;}
  583. }
  584. }
  585. }
  586. .watopcom{background-color: #ffffff;border-radius: 20rpx;position: relative;z-index: 1;padding-bottom: 30rpx !important;
  587. .watopcoma{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;margin-bottom: 24rpx;}
  588. .watopcomb{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
  589. }
  590. //资讯
  591. .newlists{
  592. background: #FFFFFF;padding: 22rpx 24rpx;margin-bottom: 24rpx;
  593. border-radius: 20rpx;
  594. .tit{font-size: 32rpx;font-weight: bold;color: #272727;line-height: 48rpx;margin-bottom:16rpx;}
  595. .txt{font-size: 24rpx;color: #666666;line-height: 36rpx;margin-bottom: 32rpx;}
  596. .stabox{
  597. .time{font-weight: 500;font-size: 24rpx;color: #AAAAAA;line-height: 36rpx;}
  598. .btns{font-weight: 500;font-size: 22rpx;color: #666666;line-height: 36rpx;min-width: 100rpx;box-sizing: border-box;margin-left: 20rpx;
  599. .imga{width: 24rpx;height: 22rpx;margin-right: 8rpx;}
  600. .imgb{width: 24rpx;height: 18rpx;margin-right: 10rpx;}
  601. }
  602. }
  603. }
  604. // 视频
  605. .videolists{
  606. background: #FFFFFF;margin-bottom: 24rpx;border-radius: 20rpx;
  607. .titbox{padding-top: 16rpx;padding-right: 38rpx;}
  608. .videos{width: 260rpx;height: 180rpx;}
  609. .tit{font-weight: bold;font-size: 14px;color: #272727;text-align: left;margin-bottom: 10rpx;}
  610. .num{font-weight: 500;font-size: 20rpx;color: #666666;min-width: 68rpx;padding: 0 8rpx;box-sizing: border-box;
  611. height: 28rpx;background: #E6E6E6;border-radius: 14rpx;line-height: 28rpx;text-align: center;}
  612. .time{font-weight: 500;font-size: 24rpx;color: #AAAAAA;margin-top: 44rpx;}
  613. }
  614. // 名单
  615. .readlist{background: #FFFFFF;border-radius: 20rpx;border: 2rpx solid #E6E6E6;margin-bottom: 24rpx;padding: 24rpx;display: flex;align-items: center;box-sizing: border-box;
  616. .head{width: 96rpx;height: 96rpx;margin-right: 28rpx;flex: 0 0 auto;}
  617. .tit{font-weight: bold;font-size: 30rpx;color: #272727;margin-bottom: 12rpx;}
  618. .time{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;
  619. text{margin-right: 12rpx;display: inline-block;}
  620. }
  621. }
  622. .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;}
  623. // 无数据
  624. .nodata{display: flex;flex-direction: column;align-items: center;
  625. image{width: 440rpx;height: 440rpx;}
  626. view{font-size: 30rpx;color: #666666;font-weight: bold;}
  627. }
  628. </style>