list.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650
  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" v-if="ite.residentType==2&&ite.isHouseholder=='Y'">
  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">{{kaType(ite.houseType,fwlxList)}}</view>
  176. <!-- <view class="tit">{{ite.year}}/01 {{ite.year}}/12</view> -->
  177. <!-- <view class="btn btnbgb" v-if="ite.isExpense=='Y'">已缴费</view>
  178. <view class="btn btnbgc" v-else>未缴费</view> -->
  179. <view class="flex1"></view>
  180. <!-- <view class="txta">{{ite.detailedAddress}}</view> -->
  181. </view>
  182. <view class="clists flexc">
  183. <!-- <view class="mlistl">
  184. <view class="mltit">应缴总额 /元</view>
  185. <view class="mltxt">{{ite.totalExpense}}</view>
  186. </view> -->
  187. <view class="mlistr">
  188. <view class="clist"><view class="tit">物业费用:</view>{{ite.tenementExpense}}元</view>
  189. <!-- <view class="clist"><view class="tit">车位费用:</view>{{ite.parkingExpense}}元</view> -->
  190. <view class="clist"><view class="tit">能耗费用:</view>{{ite.energyExpense}}元</view>
  191. </view>
  192. </view>
  193. </view>
  194. <view class="spdel" v-if="ite.right>0&&checkPermi(['wuYe:car:remove'])" @click.stop="getDelFn(ite.settingsId)">删除</view>
  195. </view>
  196. </block>
  197. <view class="shax">{{wtdt}}</view>
  198. </block>
  199. <!-- 无数据 -->
  200. <view class="nodata" v-else>
  201. <image :src="noiconpimg"></image>
  202. <view>
  203. 暂无数据
  204. </view>
  205. </view>
  206. </view>
  207. </template>
  208. <script>
  209. import {selectDictValue} from "@/utils/common.js"
  210. import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
  211. import config from '@/config'
  212. export default{
  213. props:{
  214. datainfo: {
  215. type: Array,
  216. default () {
  217. return []
  218. }
  219. },
  220. wtdt:{
  221. type:String,
  222. default () {
  223. return ''
  224. }
  225. },
  226. type:{
  227. type:String,
  228. default () {
  229. return ''
  230. }
  231. },
  232. tabval:{
  233. type:String,
  234. default () {
  235. return ''
  236. }
  237. },
  238. clcxList:{
  239. type:Array,
  240. default () {
  241. return []
  242. }
  243. },
  244. hmdlxList:{
  245. type:Array,
  246. default () {
  247. return []
  248. }
  249. },
  250. rylxList:{
  251. type:Array,
  252. default () {
  253. return []
  254. }
  255. },
  256. fwlxList:{
  257. type:Array,
  258. default () {
  259. return []
  260. }
  261. }
  262. },
  263. data(){
  264. return{
  265. noiconpimg:require("@/static/nodata.png"),
  266. car:require("@/car/static/car/car.png"),
  267. cara:require("@/car/static/car/carba.png"),
  268. carb:require("@/car/static/car/carbb.png"),
  269. hicoa:require("@/people/static/people/hicoa.png"),
  270. hicob:require("@/people/static/people/hicob.png"),
  271. man:require("@/people/static/people/man.png"),
  272. woman:require("@/people/static/people/woman.png"),
  273. rimg:require("@/people/static/people/rimg.png"),
  274. pdel:require("@/people/static/people/pdel.png"),
  275. gzlx:require("@/people/static/people/gzlx.png"),
  276. mphone:require("@/people/static/people/mphone.png"),
  277. time:require("@/work/static/manage/time.png"),
  278. house:require("@/work/static/manage/house.png"),
  279. housea:require("@/work/static/manage/housea.png"),
  280. houseb:require("@/work/static/manage/houseb.png"),
  281. housec:require("@/work/static/manage/housec.png"),
  282. home:require("@/service/static/service/home.png"),
  283. upimg:require("@/static/images/home/up.png"),
  284. star:require('@/manage/static/community/star.png'),
  285. stara:require('@/manage/static/community/stara.png'),
  286. eye:require('@/manage/static/community/eye.png'),
  287. chtitbg:require('@/work/static/manage/hbg.png'),
  288. baseUrl:config.baseUrl,
  289. delBtnWidth:66,//左滑默认宽度
  290. }
  291. },
  292. mounted() {
  293. },
  294. methods:{
  295. checkPermi, checkRole,
  296. kaType(data, list) {
  297. return selectDictValue(list, data);
  298. },
  299. getDetail(e){
  300. this.$emit('getDetail',e)
  301. },
  302. getPut(e){
  303. this.$emit('getPut',e)
  304. },
  305. getJuzhu(e){
  306. this.$emit('getJuzhu',e)
  307. },
  308. getCar(e){
  309. this.$emit('getCar',e)
  310. },
  311. getAddFn(e){
  312. this.$emit('getAddFn',e)
  313. },
  314. getReadlist(e){
  315. this.$emit('getReadlist',e)
  316. },
  317. getZhan(idx){
  318. // var obj=JSON.parse(JSON.stringify(this.datainfo))[idx]
  319. // obj.zhanflag=!obj.zhanflag;
  320. // this.datainfo.splice(idx,1,obj);
  321. this.datainfo[idx].zhanflag=!this.datainfo[idx].zhanflag
  322. },
  323. getSh(e,ite){
  324. var that=this;
  325. var obj={
  326. ite:ite,
  327. sh:e
  328. }
  329. this.$emit('getShFn',obj)
  330. // var str="";
  331. // if(type=='2'){
  332. // str="通过"
  333. // }else if(type=='3'){
  334. // str="拒绝"
  335. // }
  336. // uni.showModal({
  337. // title: '确认'+str,
  338. // content: "是否确认"+str,
  339. // cancelText: '取消',
  340. // confirmText: '确认',
  341. // success: function(res) {
  342. // if (res.confirm) {
  343. // // var obj={
  344. // // status:type,
  345. // // contentId:ite.contentId,
  346. // // commentId:ite.commentId,
  347. // // }
  348. // that.$emit('getSh',obj)
  349. // } else if (res.cancel) {
  350. // }
  351. // }
  352. // });
  353. },
  354. getDelFn(id){
  355. var that=this;
  356. uni.showModal({
  357. title: '确认删除',
  358. content: "是否确认删除",
  359. cancelText: '取消',
  360. confirmText: '确认',
  361. success: function(res) {
  362. if (res.confirm) {
  363. that.$emit('getDelFn',id)
  364. } else if (res.cancel) {
  365. }
  366. }
  367. });
  368. },
  369. getPreview(idx,arr) {
  370. var newArr=[];
  371. arr.forEach(ite=>{
  372. var ds=this.baseUrl+ite
  373. newArr.push(ds)
  374. })
  375. uni.previewImage({
  376. urls: newArr,
  377. current:idx,
  378. success: function(data) {},
  379. fail: function(err) {}
  380. });
  381. },
  382. //开始触摸滑动
  383. drawStart(e) {
  384. // console.log("开始触发");
  385. var touch = e.touches[0];
  386. this.startX = touch.clientX;
  387. },
  388. //触摸滑动
  389. drawMove(e) {
  390. // console.log("滑动");
  391. for (var index in this.datainfo) {
  392. // this.csListArrl[index].right=0
  393. this.$set(this.datainfo[index],'right',0);
  394. }
  395. var idx=e.currentTarget.dataset.idx
  396. var touch = e.touches[0];
  397. var item = this.datainfo[idx];
  398. var disX = this.startX - touch.clientX;
  399. if (disX >= 20) {
  400. if (disX > this.delBtnWidth) {
  401. disX = this.delBtnWidth;
  402. }
  403. // this.csListArrl[idx].right=disX
  404. this.$set(this.datainfo[idx],'right',disX);
  405. } else {
  406. // this.csListArrl[idx].right=0
  407. this.$set(this.datainfo[idx],'right',0);
  408. }
  409. },
  410. //触摸滑动结束
  411. drawEnd(e) {
  412. // console.log("滑动结束");
  413. var idx=e.currentTarget.dataset.idx
  414. var item = this.datainfo[idx];
  415. if (item.right >= this.delBtnWidth / 2) {
  416. // this.datainfo[idx].right=this.delBtnWidth
  417. this.$set(this.datainfo[idx],'right',this.delBtnWidth);
  418. } else {
  419. this.datainfo[idx].right=0
  420. }
  421. },
  422. }
  423. }
  424. </script>
  425. <style lang="scss" scoped>
  426. .flex{display: flex;}
  427. .flexc{display: flex;align-items: center;}
  428. .mb10{margin-bottom: 20rpx;}
  429. .carlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;
  430. .carltop{min-height: 154rpx;border-bottom: 2rpx solid #E5E5E5;
  431. .cir{width: 8rpx;height: 8rpx;border-radius: 50%;margin: 0 8rpx;display: inline-block;}
  432. .co16{
  433. .cir{background: #16BE7F;}
  434. }
  435. .co01{
  436. .cir{background: #0156FE;}
  437. }
  438. .tit{font-weight: bold;font-size: 32rpx;}
  439. .txt{font-weight: 500;font-size: 26rpx;color: #272727;}
  440. .txtbtn{min-width: 82rpx;
  441. height: 32rpx;font-weight: 500;font-size: 20rpx;color: #45CB99;
  442. border-radius: 16rpx;border: 1px solid #45CB99;margin-left: 12rpx;}
  443. .cara{flex: 0 0 auto;width: 232rpx;height: 74rpx;margin-right: 40rpx;}
  444. .carb{flex: 0 0 auto;width: 278rpx;height: 130rpx;}
  445. }
  446. .carlf{padding:26rpx 0 10rpx;
  447. .clflist{font-weight: 500;font-size: 26rpx;color: #666666;margin-bottom: 16rpx;}
  448. }
  449. .ctop{border-bottom: 2rpx solid #E5E5E5;padding:26rpx 24rpx;
  450. .imgs{width: 40rpx;height: 42rpx;margin-right: 30rpx;}
  451. .tit{font-size: 32rpx;color: #272727;font-weight: bold;margin-right: 14rpx;}
  452. .txt{font-weight: 500;font-size: 26rpx;
  453. &.ca{color: #3565ED;}
  454. &.cb{color: #FE5A0E;}
  455. &.cc{color: #28C529;}
  456. }
  457. .txta{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
  458. .num{font-size: 24rpx;color: #AAAAAA;}
  459. }
  460. .btn{height: 34rpx;border-radius: 18rpx;display: flex;align-items: center;justify-content: center;padding: 0 10rpx;font-size: 22rpx;margin-right: 24rpx;
  461. &.btna{border: 2rpx solid #06C770;color: #06C770;}
  462. &.btnb{border: 2rpx solid #3565ED;color: #3565ED;}
  463. &.btnc{border: 2rpx solid #FE5A0E;color: #FE5A0E;}
  464. &.btnbga{border: 1px solid #0156FE;color: #3565ED;background: #DFEAFF;height: 36rpx;}
  465. &.btnbgb{border: 1px solid #C1C1C1;color: #666666;background: #F1F1F1;height: 36rpx;}
  466. &.btnbgc{border: 1px solid #FE5A0E;color:#FE5A0E;background:#FFEEE6;height: 36rpx;}
  467. }
  468. .clists{padding: 24rpx 24rpx 8rpx;
  469. .clist{font-weight: 500;margin-bottom: 16rpx;
  470. font-size: 26rpx;color: #272727;display: flex;line-height: 34rpx;
  471. .tit{font-size: 26rpx;color: #AAAAAA;flex: 0 0 auto;margin-right: 16rpx;min-width: 108rpx;text-align-last: justify;}
  472. .imgas{display: flex;align-items: center;flex-wrap: wrap;
  473. image{width: 142rpx;height: 142rpx;margin-right: 30rpx;margin-top: 8rpx;}
  474. }
  475. }
  476. .w50{
  477. .clist{width: 50%;}
  478. }
  479. }
  480. }
  481. // 人员
  482. .peolist{
  483. .ctop{padding: 24rpx 24rpx 22rpx;}
  484. .imgs{margin-right: 16rpx !important;}
  485. .tit{font-size: 28rpx !important;}
  486. .plists{padding: 30rpx 24rpx 6rpx;
  487. .plist{background: linear-gradient(-90deg, #F2F5FF 0%, #FBFDFF 100%);border-radius: 20rpx;border: 2rpx solid #E6E6E6;margin-bottom: 24rpx;padding: 18rpx 26rpx 4rpx;
  488. .head{width: 96rpx;height: 98rpx;margin-right: 32rpx;flex: 0 0 auto;}
  489. .ptit{font-weight: bold;font-size: 30rpx;color: #272727;display: flex;align-items: center;margin-bottom: 14rpx;}
  490. .ptxt{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;margin-bottom: 14rpx;min-width: 176rpx;}
  491. }
  492. }
  493. .upimg{width: 26rpx;height: 22rpx;display: block;transform: rotate(180deg);transition: all 0.3s;margin: 0 auto 18rpx;
  494. &.act{transform: rotate(0deg);}
  495. }
  496. }
  497. // 物业费
  498. .mlistl{width: 40%;display: flex;flex-direction: column;align-items: center;flex: 0 0 auto;
  499. .mltit{font-weight: 500;font-size: 26rpx;color: #666666;margin-bottom: 18rpx;}
  500. .mltxt{font-weight: bold;font-size: 32rpx;color: #0156FE;}
  501. }
  502. .houselist{
  503. .clists{padding-bottom: 2rpx !important;}
  504. .clist{margin-bottom: 22rpx !important;
  505. .txtb{font-weight: 500;font-size:24rpx;
  506. &.ca{color: #3565ED;}
  507. &.cb{color: #FE5A0E;}
  508. &.cc{color: #28C529;}
  509. }
  510. }
  511. .chdel{width: 44rpx;height: 44rpx;margin-left: 12rpx;flex: 0 0 auto;}
  512. .chtit{font-size: 26rpx;color: #66b4d1;position: absolute;right: -10rpx;top: 16rpx;
  513. .chtitbg{width: 55rpx;height: 149rpx;}
  514. .chtxt{position: absolute;width: 44rpx;height: 149rpx;left: 0;top: 0;padding: 10rpx;box-sizing: border-box;padding-left: 14rpx;}
  515. }
  516. .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;
  517. &.btna{border: 2rpx solid #FF6969;background: #FFF8F8;color: #FF6969;}
  518. &.btnb{border: 2rpx solid #28C529;background: #EEFCEE;color: #28C529;}
  519. }
  520. .btns{justify-content: flex-end;
  521. 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;
  522. &.bga{border: 2rpx solid #FE5A0E;background: #FFF8F5;color: #FE5A0E;}
  523. &.bgb{border: 2rpx solid #0256FD;background: #F1F5FC;color: #0256FD;}
  524. &.bgc{border: 2rpx solid #06C770;background: #EEF8F4;color: #06C770;}
  525. }
  526. }
  527. }
  528. // 巡更地点
  529. .patlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;padding: 0 24rpx 30rpx;
  530. .pattop{padding:22rpx 30rpx;margin-bottom: 2rpx;
  531. .imgs{width: 28rpx;height: 28rpx;margin-right: 12rpx;}
  532. .tit{font-size: 30rpx;color: #272727;font-weight: bold;margin-right: 14rpx;}
  533. .txt{font-weight: 500;font-size:24rpx;
  534. &.ca{color: #3565ED;}
  535. &.cb{color: #FE5A0E;}
  536. &.cc{color: #28C529;}
  537. &.cd{color: #FF6969;}
  538. }
  539. }
  540. .patlistr{background: #EFF4FF;border-radius: 20rpx;padding: 20rpx 32rpx;
  541. .clist{font-weight: 500;font-size: 26rpx;color: #272727;display: flex;line-height: 50rpx;
  542. .tit{font-size: 26rpx;flex: 0 0 auto;min-width: 108rpx;text-align-last: justify;font-weight: bold;}
  543. }
  544. }
  545. .patbtns{display: flex;justify-content: flex-end;align-items: center;flex-wrap: wrap;
  546. 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;
  547. &.btna{border: 2rpx solid #0256FD;color: #0256FD;}
  548. &.btnb{background: #0256FD;color: #ffffff;}
  549. }
  550. }
  551. }
  552. // 报修
  553. .walists{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx; position: relative;
  554. .watop{
  555. padding: 0 36rpx 8rpx 38rpx;
  556. .watit{padding: 24rpx 0;margin-bottom: 4rpx;display: flex;
  557. .tit{font-weight: bold;font-size: 28rpx;color: #272727;flex: 1;
  558. .cir{width: 14rpx;margin-left: 8rpx;margin-bottom: 10rpx;height: 14rpx;display: inline-block;background: #FF6969;border-radius: 8rpx;}
  559. }
  560. .txt{font-weight: bold;font-size: 26rpx;flex: 0 0 auto;
  561. }
  562. }
  563. }
  564. .walist{display: flex;font-weight: 500;font-size: 24rpx;color: #666666;margin-bottom: 16rpx;
  565. .tit{min-width: 100rpx;text-align-last: justify}
  566. }
  567. .wabtn{display: flex;align-items: center;justify-content: space-between;border-top: 2rpx solid #E5E5E5;height: 80rpx;padding: 0 38rpx;
  568. view{font-weight: 500;font-size: 24rpx;color: #666666;}
  569. image{width: 16rpx;height: 28rpx;}
  570. }
  571. }
  572. // 维修人员
  573. .stafflist{width: 344rpx;min-height: 256rpx;background: #FFFFFF;border-radius: 20rpx;margin:0 12rpx 24rpx 12rpx;padding-bottom: 20rpx;box-sizing: border-box;
  574. // &:nth-of-type(2n){margin-right: 0;}
  575. .statop{border-bottom: 2rpx solid #E5E5E5;display: flex;padding: 24rpx 24rpx 22rpx;
  576. .head{width: 80rpx;height: 82rpx;margin-right: 24rpx;flex: 0 0 auto;}
  577. .stadel{width: 30rpx;height: 30rpx;flex: 0 0 auto;margin-left: 12rpx;}
  578. .statit{font-weight: bold;font-size: 30rpx;color: #272727;margin-bottom: 4rpx;}
  579. .statxt{font-weight: 500;font-size: 26rpx;
  580. .cir{width: 10rpx;height: 10rpx;border-radius: 50%;margin-right: 14rpx;display: inline-block;
  581. &.bga{background: #06C770;}
  582. &.bgb{background: #FF6969;}
  583. }
  584. }
  585. }
  586. .stalist{font-weight: 500;font-size: 26rpx;color: #272727;display: flex;align-items: center;padding: 20rpx 24rpx 0;
  587. .imgs{width: 24rpx;height: 30rpx;margin-right: 22rpx;flex: 0 0 auto;display: flex;align-items: center;justify-content: center;
  588. .gzlximg{width: 24rpx;height: 28rpx;}
  589. .mphone{width: 18rpx;height: 30rpx;}
  590. }
  591. }
  592. }
  593. .watopcom{background-color: #ffffff;border-radius: 20rpx;position: relative;z-index: 1;padding-bottom: 30rpx !important;
  594. .watopcoma{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;margin-bottom: 24rpx;}
  595. .watopcomb{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
  596. }
  597. //资讯
  598. .newlists{
  599. background: #FFFFFF;padding: 22rpx 24rpx;margin-bottom: 24rpx;
  600. border-radius: 20rpx;
  601. .tit{font-size: 32rpx;font-weight: bold;color: #272727;line-height: 48rpx;margin-bottom:16rpx;}
  602. .txt{font-size: 24rpx;color: #666666;line-height: 36rpx;margin-bottom: 32rpx;}
  603. .stabox{
  604. .time{font-weight: 500;font-size: 24rpx;color: #AAAAAA;line-height: 36rpx;}
  605. .btns{font-weight: 500;font-size: 22rpx;color: #666666;line-height: 36rpx;min-width: 100rpx;box-sizing: border-box;margin-left: 20rpx;
  606. .imga{width: 24rpx;height: 22rpx;margin-right: 8rpx;}
  607. .imgb{width: 24rpx;height: 18rpx;margin-right: 10rpx;}
  608. }
  609. }
  610. }
  611. // 视频
  612. .videolists{
  613. background: #FFFFFF;margin-bottom: 24rpx;border-radius: 20rpx;
  614. .titbox{padding-top: 16rpx;padding-right: 38rpx;}
  615. .videos{width: 260rpx;height: 180rpx;}
  616. .tit{font-weight: bold;font-size: 14px;color: #272727;text-align: left;margin-bottom: 10rpx;}
  617. .num{font-weight: 500;font-size: 20rpx;color: #666666;min-width: 68rpx;padding: 0 8rpx;box-sizing: border-box;
  618. height: 28rpx;background: #E6E6E6;border-radius: 14rpx;line-height: 28rpx;text-align: center;}
  619. .time{font-weight: 500;font-size: 24rpx;color: #AAAAAA;margin-top: 44rpx;}
  620. }
  621. // 名单
  622. .readlist{background: #FFFFFF;border-radius: 20rpx;border: 2rpx solid #E6E6E6;margin-bottom: 24rpx;padding: 24rpx;display: flex;align-items: center;box-sizing: border-box;
  623. .head{width: 96rpx;height: 96rpx;margin-right: 28rpx;flex: 0 0 auto;}
  624. .tit{font-weight: bold;font-size: 30rpx;color: #272727;margin-bottom: 12rpx;}
  625. .time{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;
  626. text{margin-right: 12rpx;display: inline-block;}
  627. }
  628. }
  629. .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;}
  630. // 无数据
  631. .nodata{display: flex;flex-direction: column;align-items: center;
  632. image{width: 440rpx;height: 440rpx;}
  633. view{font-size: 30rpx;color: #666666;font-weight: bold;}
  634. }
  635. </style>