list.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603
  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.houseId)">
  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. <!-- view class="btn btnbga">预约</view>
  15. <view class="btn btnbgb">已来访</view>
  16. <view class="btn btnbgc">待来访</view> -->
  17. <view class="flex1"></view>
  18. <view class="txt ca" v-if="ite.houseStatus==1">自住</view>
  19. <view class="txt cb" v-if="ite.houseStatus==4">出租</view>
  20. <view class="txt cc" v-if="ite.houseStatus==2">空闲</view>
  21. <view class="txt co6" v-if="ite.houseStatus==3">代售</view>
  22. </view>
  23. <view class="clists">
  24. <view class="clist"><view class="tit">房屋坐落</view>{{ite.location}}</view>
  25. <view class="clist"><view class="tit">建筑面积</view>{{ite.area}}m²</view>
  26. <!-- <view class="w50 flexc">
  27. <view class="clist"><view class="tit">房屋所属</view>袁玥</view>
  28. <view class="clist"><view class="tit">建筑面积</view>121.3m²</view>
  29. </view>
  30. <view class="w50 flexc">
  31. <view class="clist"><view class="tit">房型</view>3室1厅</view>
  32. <view class="clist"><view class="tit">居住人口</view>3口人</view>
  33. </view>
  34. <view class="w50 flexc">
  35. <view class="clist"><view class="tit">有无车位 </view>有</view>
  36. </view> -->
  37. <!-- <view class="clist"><view class="tit">手机号码</view>13656788668</view> -->
  38. </view>
  39. <view class="btns flexc">
  40. <view class="bga" v-if="checkPermi(['wuYe:houseInfo:edit'])" @click.stop="getPut(ite.houseId)">编辑信息</view>
  41. <view class="bgb" v-if="checkPermi(['wuYe:residentInfo:list'])" @click.stop="getJuzhu(ite.houseId)">居住信息</view>
  42. <view class="bgc" v-if="checkPermi(['wuYe:car:list'])" @click.stop="getCar(ite.houseId)"> 车辆信息</view>
  43. </view>
  44. </view>
  45. </block>
  46. <block v-if="type=='mycar'">
  47. <view class="carlist pr" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail(ite.carId)"
  48. :data-idx="idx"
  49. @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+ite.right+'px'"
  50. >
  51. <view class="delleft" style="padding: 0 24rpx;">
  52. <view class="carltop flexc">
  53. <view class="flex1">
  54. <view class="tit mb6 flexc" :class="ite.vehicleEnergy=='新能源'?'co16':'co01'">{{ite.plateNumber}}
  55. <text class="cir"></text>
  56. <text v-if="ite.vehicleColour">{{ite.vehicleColour}}</text>
  57. </view>
  58. <view class="txt flexc">
  59. {{ite.vehicleBrand}}
  60. <view class="txtbtn flexcc" v-if="ite.vehicleEnergy=='新能源'">{{ite.vehicleEnergy}}</view>
  61. <!-- <view class="txtbtn flexcc" v-if="ite.vehicleType==2">新能源</view> -->
  62. </view>
  63. </view>
  64. <image :src="carb" class="carb" v-if="ite.vehicleEnergy=='新能源'"></image>
  65. <image :src="cara" class="cara" v-else></image>
  66. </view>
  67. <view class="carlf">
  68. <view class="clflist">发动机号码 :{{ite.engineNumber}}</view>
  69. <view class="clflist">车辆识别代号:{{ite.identificationNumber}}</view>
  70. <view class="flexc">
  71. <view class="clflist w50">注册日期:{{ite.registrationDate}}</view>
  72. <view class="clflist w50">发证日期:{{ite.issueDate}}</view>
  73. </view>
  74. </view>
  75. </view>
  76. <view class="spdel" v-if="ite.right>0&&checkPermi(['wuYe:car:remove'])" @click.stop="getDelFn(ite.carId)">删除</view>
  77. </view>
  78. </block>
  79. <!-- 物业费管理 -->
  80. <block v-if="type=='money'">
  81. <view class="carlist peolist" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail(ite.propertyId)">
  82. <view class="ctop flexc" style="padding: 26rpx 24rpx 24rpx;">
  83. <image :src="hicoa" class="imgs"></image>
  84. <view class="tit">{{ite.detailedAddress}}</view>
  85. <view class="flex1"></view>
  86. <view class="txta">{{ite.year}}/01 -{{ite.year}}/12</view>
  87. </view>
  88. <view class="clists flexc">
  89. <view class="mlistl">
  90. <view class="mltit">应缴总额 /元</view>
  91. <view class="mltxt">{{ite.totalExpense}}</view>
  92. </view>
  93. <view class="mlistr">
  94. <view class="clist"><view class="tit">物业费用:</view>{{ite.tenementExpense}}元</view>
  95. <view class="clist"><view class="tit">车位费用:</view>{{ite.parkingExpense}}元</view>
  96. <view class="clist"><view class="tit">能耗费用:</view>{{ite.energyExpense}}元</view>
  97. </view>
  98. </view>
  99. </view>
  100. </block>
  101. <!-- 历史账单 -->
  102. <block v-if="type=='moneybill'">
  103. <view class="carlist peolist" v-for="(ite,idx) in datainfo" :key="idx">
  104. <view class="ctop flexc" style="padding: 26rpx 24rpx 24rpx;">
  105. <image :src="time" class="imgs"></image>
  106. <view class="tit">{{ite.year}}/01 {{ite.year}}/12</view>
  107. <view class="btn btnbgb" v-if="ite.isExpense=='Y'">已缴费</view>
  108. <view class="btn btnbgc" v-else>未缴费</view>
  109. <view class="flex1"></view>
  110. <view class="txta">{{ite.detailedAddress}}</view>
  111. </view>
  112. <view class="clists flexc">
  113. <view class="mlistl">
  114. <view class="mltit">应缴总额 /元</view>
  115. <view class="mltxt">{{ite.totalExpense}}</view>
  116. </view>
  117. <view class="mlistr">
  118. <view class="clist"><view class="tit">物业费用:</view>{{ite.tenementExpense}}元</view>
  119. <view class="clist"><view class="tit">车位费用:</view>{{ite.parkingExpense}}元</view>
  120. <view class="clist"><view class="tit">能耗费用:</view>{{ite.energyExpense}}元</view>
  121. </view>
  122. </view>
  123. </view>
  124. </block>
  125. <!-- 党建资讯 -->
  126. <block v-if="type=='newsdj'">
  127. <view class="newlists" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail"
  128. >
  129. <view class="tit">潜山:多举措建优非公党建工作指导员队伍</view>
  130. <view class="txt overtwo">如何不断激发非公企业和社会组织党建工作新活力?潜山市委社 会工作部发挥考核的指挥棒作用,“三点发力”推动党建工作部…</view>
  131. <view class="stabox flexc">
  132. <view class="time flex1">2024-11-18 08:16:54</view>
  133. <view class="btns">
  134. <!-- <image :src="star" class="imga"></image>42 -->
  135. <image :src="stara" class="imga"></image>42
  136. </view>
  137. <view class="btns">
  138. <image :src="eye" class="imgb"></image>1361
  139. </view>
  140. </view>
  141. </view>
  142. <!-- checkPermi(['system:menuFood:remove'])&& -->
  143. </block>
  144. <!-- 社区资讯 -->
  145. <block v-if="type=='newssq'">
  146. <view class="walists" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail">
  147. <view class="watop watopcom">
  148. <view class="watit">
  149. <view class="tit">物业服务费缴费公告<text class="cir"></text></view>
  150. </view>
  151. <view class="watopcoma overtwo">尊敬的各位业主:为更好地提供优质小区环境,保障小区 公共区域设施设备正常的运行,现收取2024年度物业…</view>
  152. <view class="watopcomb">2024-11-18 08:16:54</view>
  153. </view>
  154. <view class="wabtn">
  155. <view>查看详情</view>
  156. <image :src="rimg"></image>
  157. </view>
  158. </view>
  159. </block>
  160. <!-- 员工图文 -->
  161. <block v-if="type=='ystv'">
  162. <view class="walists" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail">
  163. <view class="watop watopcom" style="padding-bottom: 22rpx !important;">
  164. <view class="watit">
  165. <view class="tit">1.3 业务流程与工作规范</view>
  166. </view>
  167. <view class="watopcoma overtwo">业主入住与退房流程、维修报修流程、安全防范措施与应
  168. 急处理、公共区域维护与清洁、物业费收缴与开支管理…</view>
  169. <view class="flexcj">
  170. <view class="watopcomb">2024-11-18 08:16:54</view>
  171. <!-- 管理员 -->
  172. <view class="f12 cofe fw5" @click="getReadlist">已读名单</view>
  173. <!-- 员工 -->
  174. <view class="f12 co27 fw5" >进度:100%</view>
  175. </view>
  176. </view>
  177. </view>
  178. </block>
  179. <!-- 员工视频 -->
  180. <block v-if="type=='ygsp'">
  181. <view class="videolists flex" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail">
  182. <view class="flex0 mr12">
  183. <video class="videos" id="myVideo" src="https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/2minute-demo.mp4"
  184. @error="videoErrorCallback" :danmu-list="danmuList" enable-danmu danmu-btn controls></video>
  185. </view>
  186. <view class="flex1 over titbox">
  187. <view class="tit over">1.3 业务流程与工作规范</view>
  188. <view class="flexcj">
  189. <view class="num">03:41</view>
  190. <!-- 管理员 -->
  191. <view class="f12 cofe fw5" @click="getReadlist">已读名单</view>
  192. <!-- 员工 -->
  193. <view class="f12 co27 fw5" >进度:100%</view>
  194. </view>
  195. <view class="time">2024-11-18 08:16:54</view>
  196. </view>
  197. </view>
  198. </block>
  199. <!-- 阅读名单 -->
  200. <block v-if="type=='readlist'" >
  201. <view class="readlist" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail">
  202. <image class="head" :src="man" v-if="ite.sex==1"></image>
  203. <image class="head" :src="woman" v-else></image>
  204. <view class="flex1">
  205. <view class="tit">袁玥</view>
  206. <view class="time"><text>阅读时间 |</text> 2024-12-01 18:37:56</view>
  207. </view>
  208. </view>
  209. </block>
  210. <block v-if="type=='readcount'" >
  211. <view class="readlist" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail">
  212. <image class="head" :src="man" v-if="ite.sex==1"></image>
  213. <image class="head" :src="woman" v-else></image>
  214. <view class="flex1">
  215. <view class="tit">袁玥</view>
  216. <view class="time"><text>阅读总时长 |</text> 8小时54分31秒</view>
  217. </view>
  218. </view>
  219. </block>
  220. <view class="shax">{{wtdt}}</view>
  221. </block>
  222. <!-- 无数据 -->
  223. <view class="nodata" v-else>
  224. <image :src="noiconpimg"></image>
  225. <view>
  226. 暂无数据
  227. </view>
  228. </view>
  229. </view>
  230. </template>
  231. <script>
  232. import {selectDictValue} from "@/utils/common.js"
  233. import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
  234. import config from '@/config'
  235. export default{
  236. props:{
  237. datainfo: {
  238. type: Array,
  239. default () {
  240. return []
  241. }
  242. },
  243. wtdt:{
  244. type:String,
  245. default () {
  246. return ''
  247. }
  248. },
  249. type:{
  250. type:String,
  251. default () {
  252. return 0
  253. }
  254. },
  255. clcxList:{
  256. type:Array,
  257. default () {
  258. return []
  259. }
  260. }
  261. },
  262. data(){
  263. return{
  264. noiconpimg:require("@/static/nodata.png"),
  265. car:require("@/car/static/car/car.png"),
  266. cara:require("@/car/static/car/carba.png"),
  267. carb:require("@/car/static/car/carbb.png"),
  268. hicoa:require("@/people/static/people/hicoa.png"),
  269. hicob:require("@/people/static/people/hicob.png"),
  270. man:require("@/people/static/people/man.png"),
  271. woman:require("@/people/static/people/woman.png"),
  272. rimg:require("@/people/static/people/rimg.png"),
  273. pdel:require("@/people/static/people/pdel.png"),
  274. gzlx:require("@/people/static/people/gzlx.png"),
  275. mphone:require("@/people/static/people/mphone.png"),
  276. time:require("@/work/static/manage/time.png"),
  277. house:require("@/work/static/manage/house.png"),
  278. housea:require("@/work/static/manage/housea.png"),
  279. houseb:require("@/work/static/manage/houseb.png"),
  280. housec:require("@/work/static/manage/housec.png"),
  281. home:require("@/service/static/service/home.png"),
  282. upimg:require("@/static/images/home/up.png"),
  283. star:require('@/manage/static/community/star.png'),
  284. stara:require('@/manage/static/community/stara.png'),
  285. eye:require('@/manage/static/community/eye.png'),
  286. baseUrl:config.baseUrl,
  287. delBtnWidth:66,//左滑默认宽度
  288. }
  289. },
  290. mounted() {
  291. },
  292. methods:{
  293. checkPermi, checkRole,
  294. kaType(data, list) {
  295. return selectDictValue(list, data);
  296. },
  297. getDetail(e){
  298. this.$emit('getDetail',e)
  299. },
  300. getPut(e){
  301. this.$emit('getPut',e)
  302. },
  303. getJuzhu(e){
  304. this.$emit('getJuzhu',e)
  305. },
  306. getCar(e){
  307. this.$emit('getCar',e)
  308. },
  309. getAddFn(e){
  310. this.$emit('getAddFn',e)
  311. },
  312. getReadlist(e){
  313. this.$emit('getReadlist',e)
  314. },
  315. getZhan(idx){
  316. // var obj=JSON.parse(JSON.stringify(this.datainfo))[idx]
  317. // obj.zhanflag=!obj.zhanflag;
  318. // this.datainfo.splice(idx,1,obj);
  319. this.datainfo[idx].zhanflag=!this.datainfo[idx].zhanflag
  320. },
  321. getDelFn(id){
  322. var that=this;
  323. uni.showModal({
  324. title: '确认删除',
  325. content: "是否确认删除",
  326. cancelText: '取消',
  327. confirmText: '确认',
  328. success: function(res) {
  329. if (res.confirm) {
  330. that.$emit('getDelFn',id)
  331. } else if (res.cancel) {
  332. }
  333. }
  334. });
  335. },
  336. getPreview(idx,arr) {
  337. var newArr=[];
  338. arr.forEach(ite=>{
  339. var ds=this.baseUrl+ite
  340. newArr.push(ds)
  341. })
  342. uni.previewImage({
  343. urls: newArr,
  344. current:idx,
  345. success: function(data) {},
  346. fail: function(err) {}
  347. });
  348. },
  349. //开始触摸滑动
  350. drawStart(e) {
  351. // console.log("开始触发");
  352. var touch = e.touches[0];
  353. this.startX = touch.clientX;
  354. },
  355. //触摸滑动
  356. drawMove(e) {
  357. // console.log("滑动");
  358. for (var index in this.datainfo) {
  359. // this.csListArrl[index].right=0
  360. this.$set(this.datainfo[index],'right',0);
  361. }
  362. var idx=e.currentTarget.dataset.idx
  363. var touch = e.touches[0];
  364. var item = this.datainfo[idx];
  365. var disX = this.startX - touch.clientX;
  366. if (disX >= 20) {
  367. if (disX > this.delBtnWidth) {
  368. disX = this.delBtnWidth;
  369. }
  370. // this.csListArrl[idx].right=disX
  371. this.$set(this.datainfo[idx],'right',disX);
  372. } else {
  373. // this.csListArrl[idx].right=0
  374. this.$set(this.datainfo[idx],'right',0);
  375. }
  376. },
  377. //触摸滑动结束
  378. drawEnd(e) {
  379. // console.log("滑动结束");
  380. var idx=e.currentTarget.dataset.idx
  381. var item = this.datainfo[idx];
  382. if (item.right >= this.delBtnWidth / 2) {
  383. // this.datainfo[idx].right=this.delBtnWidth
  384. this.$set(this.datainfo[idx],'right',this.delBtnWidth);
  385. } else {
  386. this.datainfo[idx].right=0
  387. }
  388. },
  389. }
  390. }
  391. </script>
  392. <style lang="scss" scoped>
  393. .flex{display: flex;}
  394. .flexc{display: flex;align-items: center;}
  395. .mb10{margin-bottom: 20rpx;}
  396. .carlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;
  397. .carltop{min-height: 154rpx;border-bottom: 2rpx solid #E5E5E5;
  398. .cir{width: 8rpx;height: 8rpx;border-radius: 50%;margin: 0 8rpx;display: inline-block;}
  399. .co16{
  400. .cir{background: #16BE7F;}
  401. }
  402. .co01{
  403. .cir{background: #0156FE;}
  404. }
  405. .tit{font-weight: bold;font-size: 32rpx;}
  406. .txt{font-weight: 500;font-size: 26rpx;color: #272727;}
  407. .txtbtn{min-width: 82rpx;
  408. height: 32rpx;font-weight: 500;font-size: 20rpx;color: #45CB99;
  409. border-radius: 16rpx;border: 1px solid #45CB99;margin-left: 12rpx;}
  410. .cara{flex: 0 0 auto;width: 232rpx;height: 74rpx;margin-right: 40rpx;}
  411. .carb{flex: 0 0 auto;width: 278rpx;height: 130rpx;}
  412. }
  413. .carlf{padding:26rpx 0 10rpx;
  414. .clflist{font-weight: 500;font-size: 26rpx;color: #666666;margin-bottom: 16rpx;}
  415. }
  416. .ctop{border-bottom: 2rpx solid #E5E5E5;padding:26rpx 24rpx;
  417. .imgs{width: 40rpx;height: 42rpx;margin-right: 30rpx;}
  418. .tit{font-size: 32rpx;color: #272727;font-weight: bold;margin-right: 14rpx;}
  419. .txt{font-weight: 500;font-size: 26rpx;
  420. &.ca{color: #3565ED;}
  421. &.cb{color: #FE5A0E;}
  422. &.cc{color: #28C529;}
  423. }
  424. .txta{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
  425. .num{font-size: 24rpx;color: #AAAAAA;}
  426. }
  427. .btn{height: 34rpx;border-radius: 18rpx;display: flex;align-items: center;justify-content: center;padding: 0 10rpx;font-size: 22rpx;margin-right: 24rpx;
  428. &.btna{border: 2rpx solid #06C770;color: #06C770;}
  429. &.btnb{border: 2rpx solid #3565ED;color: #3565ED;}
  430. &.btnc{border: 2rpx solid #FE5A0E;color: #FE5A0E;}
  431. &.btnbga{border: 1px solid #0156FE;color: #3565ED;background: #DFEAFF;height: 36rpx;}
  432. &.btnbgb{border: 1px solid #C1C1C1;color: #666666;background: #F1F1F1;height: 36rpx;}
  433. &.btnbgc{border: 1px solid #FE5A0E;color:#FE5A0E;background:#FFEEE6;height: 36rpx;}
  434. }
  435. .clists{padding: 24rpx 24rpx 8rpx;
  436. .clist{font-weight: 500;margin-bottom: 16rpx;
  437. font-size: 26rpx;color: #272727;display: flex;line-height: 34rpx;
  438. .tit{font-size: 26rpx;color: #AAAAAA;flex: 0 0 auto;margin-right: 16rpx;min-width: 108rpx;text-align-last: justify;}
  439. .imgas{display: flex;align-items: center;flex-wrap: wrap;
  440. image{width: 142rpx;height: 142rpx;margin-right: 30rpx;margin-top: 8rpx;}
  441. }
  442. }
  443. .w50{
  444. .clist{width: 50%;}
  445. }
  446. }
  447. }
  448. // 人员
  449. .peolist{
  450. .ctop{padding: 24rpx 24rpx 22rpx;}
  451. .imgs{margin-right: 16rpx !important;}
  452. .tit{font-size: 28rpx !important;}
  453. .plists{padding: 30rpx 24rpx 6rpx;
  454. .plist{background: linear-gradient(-90deg, #F2F5FF 0%, #FBFDFF 100%);border-radius: 20rpx;border: 2rpx solid #E6E6E6;margin-bottom: 24rpx;padding: 18rpx 26rpx 4rpx;
  455. .head{width: 96rpx;height: 98rpx;margin-right: 32rpx;flex: 0 0 auto;}
  456. .ptit{font-weight: bold;font-size: 30rpx;color: #272727;display: flex;align-items: center;margin-bottom: 14rpx;}
  457. .ptxt{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;margin-bottom: 14rpx;min-width: 176rpx;}
  458. }
  459. }
  460. .upimg{width: 26rpx;height: 22rpx;display: block;transform: rotate(180deg);transition: all 0.3s;margin: 0 auto 18rpx;
  461. &.act{transform: rotate(0deg);}
  462. }
  463. }
  464. // 物业费
  465. .mlistl{width: 40%;display: flex;flex-direction: column;align-items: center;flex: 0 0 auto;
  466. .mltit{font-weight: 500;font-size: 26rpx;color: #666666;margin-bottom: 18rpx;}
  467. .mltxt{font-weight: bold;font-size: 32rpx;color: #0156FE;}
  468. }
  469. .houselist{
  470. .clists{padding-bottom: 2rpx !important;}
  471. .clist{margin-bottom: 22rpx !important;}
  472. .btns{justify-content: flex-end;
  473. 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;
  474. &.bga{border: 2rpx solid #FE5A0E;background: #FFF8F5;color: #FE5A0E;}
  475. &.bgb{border: 2rpx solid #0256FD;background: #F1F5FC;color: #0256FD;}
  476. &.bgc{border: 2rpx solid #06C770;background: #EEF8F4;color: #06C770;}
  477. }
  478. }
  479. }
  480. // 巡更地点
  481. .patlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;padding: 0 24rpx 30rpx;
  482. .pattop{padding:22rpx 30rpx;margin-bottom: 2rpx;
  483. .imgs{width: 28rpx;height: 28rpx;margin-right: 12rpx;}
  484. .tit{font-size: 30rpx;color: #272727;font-weight: bold;margin-right: 14rpx;}
  485. .txt{font-weight: 500;font-size:24rpx;
  486. &.ca{color: #3565ED;}
  487. &.cb{color: #FE5A0E;}
  488. &.cc{color: #28C529;}
  489. &.cd{color: #FF6969;}
  490. }
  491. }
  492. .patlistr{background: #EFF4FF;border-radius: 20rpx;padding: 20rpx 32rpx;
  493. .clist{font-weight: 500;font-size: 26rpx;color: #272727;display: flex;line-height: 50rpx;
  494. .tit{font-size: 26rpx;flex: 0 0 auto;min-width: 108rpx;text-align-last: justify;font-weight: bold;}
  495. }
  496. }
  497. .patbtns{display: flex;justify-content: flex-end;align-items: center;flex-wrap: wrap;
  498. 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;
  499. &.btna{border: 2rpx solid #0256FD;color: #0256FD;}
  500. &.btnb{background: #0256FD;color: #ffffff;}
  501. }
  502. }
  503. }
  504. // 报修
  505. .walists{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx; position: relative;
  506. .watop{
  507. padding: 0 36rpx 8rpx 38rpx;
  508. .watit{padding: 24rpx 0;margin-bottom: 4rpx;display: flex;
  509. .tit{font-weight: bold;font-size: 28rpx;color: #272727;flex: 1;
  510. .cir{width: 14rpx;margin-left: 8rpx;margin-bottom: 10rpx;height: 14rpx;display: inline-block;background: #FF6969;border-radius: 8rpx;}
  511. }
  512. .txt{font-weight: bold;font-size: 26rpx;flex: 0 0 auto;
  513. }
  514. }
  515. }
  516. .walist{display: flex;font-weight: 500;font-size: 24rpx;color: #666666;margin-bottom: 16rpx;
  517. .tit{min-width: 100rpx;text-align-last: justify}
  518. }
  519. .wabtn{display: flex;align-items: center;justify-content: space-between;border-top: 2rpx solid #E5E5E5;height: 80rpx;padding: 0 38rpx;
  520. view{font-weight: 500;font-size: 24rpx;color: #666666;}
  521. image{width: 16rpx;height: 28rpx;}
  522. }
  523. }
  524. // 维修人员
  525. .stafflist{width: 344rpx;min-height: 256rpx;background: #FFFFFF;border-radius: 20rpx;margin:0 12rpx 24rpx 12rpx;padding-bottom: 20rpx;box-sizing: border-box;
  526. // &:nth-of-type(2n){margin-right: 0;}
  527. .statop{border-bottom: 2rpx solid #E5E5E5;display: flex;padding: 24rpx 24rpx 22rpx;
  528. .head{width: 80rpx;height: 82rpx;margin-right: 24rpx;flex: 0 0 auto;}
  529. .stadel{width: 30rpx;height: 30rpx;flex: 0 0 auto;margin-left: 12rpx;}
  530. .statit{font-weight: bold;font-size: 30rpx;color: #272727;margin-bottom: 4rpx;}
  531. .statxt{font-weight: 500;font-size: 26rpx;
  532. .cir{width: 10rpx;height: 10rpx;border-radius: 50%;margin-right: 14rpx;display: inline-block;
  533. &.bga{background: #06C770;}
  534. &.bgb{background: #FF6969;}
  535. }
  536. }
  537. }
  538. .stalist{font-weight: 500;font-size: 26rpx;color: #272727;display: flex;align-items: center;padding: 20rpx 24rpx 0;
  539. .imgs{width: 24rpx;height: 30rpx;margin-right: 22rpx;flex: 0 0 auto;display: flex;align-items: center;justify-content: center;
  540. .gzlximg{width: 24rpx;height: 28rpx;}
  541. .mphone{width: 18rpx;height: 30rpx;}
  542. }
  543. }
  544. }
  545. .watopcom{background-color: #ffffff;border-radius: 20rpx;position: relative;z-index: 1;padding-bottom: 30rpx !important;
  546. .watopcoma{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;margin-bottom: 24rpx;}
  547. .watopcomb{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
  548. }
  549. //资讯
  550. .newlists{
  551. background: #FFFFFF;padding: 22rpx 24rpx;margin-bottom: 24rpx;
  552. border-radius: 20rpx;
  553. .tit{font-size: 32rpx;font-weight: bold;color: #272727;line-height: 48rpx;margin-bottom:16rpx;}
  554. .txt{font-size: 24rpx;color: #666666;line-height: 36rpx;margin-bottom: 32rpx;}
  555. .stabox{
  556. .time{font-weight: 500;font-size: 24rpx;color: #AAAAAA;line-height: 36rpx;}
  557. .btns{font-weight: 500;font-size: 22rpx;color: #666666;line-height: 36rpx;min-width: 100rpx;box-sizing: border-box;margin-left: 20rpx;
  558. .imga{width: 24rpx;height: 22rpx;margin-right: 8rpx;}
  559. .imgb{width: 24rpx;height: 18rpx;margin-right: 10rpx;}
  560. }
  561. }
  562. }
  563. // 视频
  564. .videolists{
  565. background: #FFFFFF;margin-bottom: 24rpx;border-radius: 20rpx;
  566. .titbox{padding-top: 16rpx;padding-right: 38rpx;}
  567. .videos{width: 260rpx;height: 180rpx;}
  568. .tit{font-weight: bold;font-size: 14px;color: #272727;text-align: left;margin-bottom: 10rpx;}
  569. .num{font-weight: 500;font-size: 20rpx;color: #666666;min-width: 68rpx;padding: 0 8rpx;box-sizing: border-box;
  570. height: 28rpx;background: #E6E6E6;border-radius: 14rpx;line-height: 28rpx;text-align: center;}
  571. .time{font-weight: 500;font-size: 24rpx;color: #AAAAAA;margin-top: 44rpx;}
  572. }
  573. // 名单
  574. .readlist{background: #FFFFFF;border-radius: 20rpx;border: 2rpx solid #E6E6E6;margin-bottom: 24rpx;padding: 24rpx;display: flex;align-items: center;box-sizing: border-box;
  575. .head{width: 96rpx;height: 96rpx;margin-right: 28rpx;flex: 0 0 auto;}
  576. .tit{font-weight: bold;font-size: 30rpx;color: #272727;margin-bottom: 12rpx;}
  577. .time{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;
  578. text{margin-right: 12rpx;display: inline-block;}
  579. }
  580. }
  581. .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;}
  582. // 无数据
  583. .nodata{display: flex;flex-direction: column;align-items: center;
  584. image{width: 440rpx;height: 440rpx;}
  585. view{font-size: 30rpx;color: #666666;font-weight: bold;}
  586. }
  587. </style>