list.vue 23 KB

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