list.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563
  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=='blackhmd'">
  81. <view class="carlist pr" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail(ite.blackManageId)"
  82. :data-idx="idx"
  83. @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+ite.right+'px'"
  84. >
  85. <view class="delleft" style="padding: 0 24rpx;">
  86. <view class="ctop flexc" style="padding: 24rpx 0;">
  87. <view class="tit">{{kaType(ite.blackType,hmdlxList)}}</view>
  88. </view>
  89. <view class="carlf">
  90. <!-- <view class="clflist">类型 :{{kaType(ite.blackType,hmdlxList)}}</view> -->
  91. <view class="clflist">说明:{{ite.blackTitle}}</view>
  92. <view class="clflist">阈值:{{ite.blackNum}}</view>
  93. <view class="clflist">启用:{{ite.isDel=='Y'?'启用':'禁用'}}</view>
  94. </view>
  95. </view>
  96. <view class="spdel" v-if="ite.right>0&&checkPermi(['wuYe:illegalParking:remove'])" @click.stop="getDelFn(ite.blackManageId)">删除</view>
  97. </view>
  98. </block>
  99. <!-- 物业费管理 -->
  100. <block v-if="type=='money'">
  101. <view class="carlist peolist" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail(ite.propertyId)">
  102. <view class="ctop flexc" style="padding: 26rpx 24rpx 24rpx;">
  103. <image :src="hicoa" class="imgs"></image>
  104. <view class="tit">{{ite.detailedAddress}}</view>
  105. <view class="flex1"></view>
  106. <view class="txta">{{ite.year}}/01 -{{ite.year}}/12</view>
  107. </view>
  108. <view class="clists flexc">
  109. <view class="mlistl">
  110. <view class="mltit">应缴总额 /元</view>
  111. <view class="mltxt">{{ite.totalExpense}}</view>
  112. </view>
  113. <view class="mlistr">
  114. <view class="clist"><view class="tit">物业费用:</view>{{ite.tenementExpense}}元</view>
  115. <view class="clist"><view class="tit">车位费用:</view>{{ite.parkingExpense}}元</view>
  116. <view class="clist"><view class="tit">能耗费用:</view>{{ite.energyExpense}}元</view>
  117. </view>
  118. </view>
  119. </view>
  120. </block>
  121. <!-- 历史账单 -->
  122. <block v-if="type=='moneybill'">
  123. <view class="carlist peolist" v-for="(ite,idx) in datainfo" :key="idx">
  124. <view class="ctop flexc" style="padding: 26rpx 24rpx 24rpx;">
  125. <image :src="time" class="imgs"></image>
  126. <view class="tit">{{ite.year}}/01 {{ite.year}}/12</view>
  127. <view class="btn btnbgb" v-if="ite.isExpense=='Y'">已缴费</view>
  128. <view class="btn btnbgc" v-else>未缴费</view>
  129. <view class="flex1"></view>
  130. <view class="txta">{{ite.detailedAddress}}</view>
  131. </view>
  132. <view class="clists flexc">
  133. <view class="mlistl">
  134. <view class="mltit">应缴总额 /元</view>
  135. <view class="mltxt">{{ite.totalExpense}}</view>
  136. </view>
  137. <view class="mlistr">
  138. <view class="clist"><view class="tit">物业费用:</view>{{ite.tenementExpense}}元</view>
  139. <view class="clist"><view class="tit">车位费用:</view>{{ite.parkingExpense}}元</view>
  140. <view class="clist"><view class="tit">能耗费用:</view>{{ite.energyExpense}}元</view>
  141. </view>
  142. </view>
  143. </view>
  144. </block>
  145. <!-- 物业费设置 -->
  146. <block v-if="type=='feeset'">
  147. <view class="carlist peolist pr" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail(ite.settingsId)"
  148. :data-idx="idx"
  149. @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+ite.right+'px'"
  150. >
  151. <view class="delleft">
  152. <view class="ctop flexc" style="padding: 26rpx 24rpx 24rpx;">
  153. <image :src="time" class="imgs"></image>
  154. <view class="tit">{{ite.year}}/01 {{ite.year}}/12</view>
  155. <!-- <view class="btn btnbgb" v-if="ite.isExpense=='Y'">已缴费</view>
  156. <view class="btn btnbgc" v-else>未缴费</view> -->
  157. <view class="flex1"></view>
  158. <!-- <view class="txta">{{ite.detailedAddress}}</view> -->
  159. </view>
  160. <view class="clists flexc">
  161. <view class="mlistl">
  162. <view class="mltit">应缴总额 /元</view>
  163. <view class="mltxt">{{ite.totalExpense}}</view>
  164. </view>
  165. <view class="mlistr">
  166. <view class="clist"><view class="tit">物业费用:</view>{{ite.tenementExpense}}元</view>
  167. <view class="clist"><view class="tit">车位费用:</view>{{ite.parkingExpense}}元</view>
  168. <view class="clist"><view class="tit">能耗费用:</view>{{ite.energyExpense}}元</view>
  169. </view>
  170. </view>
  171. </view>
  172. <view class="spdel" v-if="ite.right>0&&checkPermi(['wuYe:car:remove'])" @click.stop="getDelFn(ite.settingsId)">删除</view>
  173. </view>
  174. </block>
  175. <view class="shax">{{wtdt}}</view>
  176. </block>
  177. <!-- 无数据 -->
  178. <view class="nodata" v-else>
  179. <image :src="noiconpimg"></image>
  180. <view>
  181. 暂无数据
  182. </view>
  183. </view>
  184. </view>
  185. </template>
  186. <script>
  187. import {selectDictValue} from "@/utils/common.js"
  188. import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
  189. import config from '@/config'
  190. export default{
  191. props:{
  192. datainfo: {
  193. type: Array,
  194. default () {
  195. return []
  196. }
  197. },
  198. wtdt:{
  199. type:String,
  200. default () {
  201. return ''
  202. }
  203. },
  204. type:{
  205. type:String,
  206. default () {
  207. return 0
  208. }
  209. },
  210. clcxList:{
  211. type:Array,
  212. default () {
  213. return []
  214. }
  215. },
  216. hmdlxList:{
  217. type:Array,
  218. default () {
  219. return []
  220. }
  221. }
  222. },
  223. data(){
  224. return{
  225. noiconpimg:require("@/static/nodata.png"),
  226. car:require("@/car/static/car/car.png"),
  227. cara:require("@/car/static/car/carba.png"),
  228. carb:require("@/car/static/car/carbb.png"),
  229. hicoa:require("@/people/static/people/hicoa.png"),
  230. hicob:require("@/people/static/people/hicob.png"),
  231. man:require("@/people/static/people/man.png"),
  232. woman:require("@/people/static/people/woman.png"),
  233. rimg:require("@/people/static/people/rimg.png"),
  234. pdel:require("@/people/static/people/pdel.png"),
  235. gzlx:require("@/people/static/people/gzlx.png"),
  236. mphone:require("@/people/static/people/mphone.png"),
  237. time:require("@/work/static/manage/time.png"),
  238. house:require("@/work/static/manage/house.png"),
  239. housea:require("@/work/static/manage/housea.png"),
  240. houseb:require("@/work/static/manage/houseb.png"),
  241. housec:require("@/work/static/manage/housec.png"),
  242. home:require("@/service/static/service/home.png"),
  243. upimg:require("@/static/images/home/up.png"),
  244. star:require('@/manage/static/community/star.png'),
  245. stara:require('@/manage/static/community/stara.png'),
  246. eye:require('@/manage/static/community/eye.png'),
  247. baseUrl:config.baseUrl,
  248. delBtnWidth:66,//左滑默认宽度
  249. }
  250. },
  251. mounted() {
  252. },
  253. methods:{
  254. checkPermi, checkRole,
  255. kaType(data, list) {
  256. return selectDictValue(list, data);
  257. },
  258. getDetail(e){
  259. this.$emit('getDetail',e)
  260. },
  261. getPut(e){
  262. this.$emit('getPut',e)
  263. },
  264. getJuzhu(e){
  265. this.$emit('getJuzhu',e)
  266. },
  267. getCar(e){
  268. this.$emit('getCar',e)
  269. },
  270. getAddFn(e){
  271. this.$emit('getAddFn',e)
  272. },
  273. getReadlist(e){
  274. this.$emit('getReadlist',e)
  275. },
  276. getZhan(idx){
  277. // var obj=JSON.parse(JSON.stringify(this.datainfo))[idx]
  278. // obj.zhanflag=!obj.zhanflag;
  279. // this.datainfo.splice(idx,1,obj);
  280. this.datainfo[idx].zhanflag=!this.datainfo[idx].zhanflag
  281. },
  282. getDelFn(id){
  283. var that=this;
  284. uni.showModal({
  285. title: '确认删除',
  286. content: "是否确认删除",
  287. cancelText: '取消',
  288. confirmText: '确认',
  289. success: function(res) {
  290. if (res.confirm) {
  291. that.$emit('getDelFn',id)
  292. } else if (res.cancel) {
  293. }
  294. }
  295. });
  296. },
  297. getPreview(idx,arr) {
  298. var newArr=[];
  299. arr.forEach(ite=>{
  300. var ds=this.baseUrl+ite
  301. newArr.push(ds)
  302. })
  303. uni.previewImage({
  304. urls: newArr,
  305. current:idx,
  306. success: function(data) {},
  307. fail: function(err) {}
  308. });
  309. },
  310. //开始触摸滑动
  311. drawStart(e) {
  312. // console.log("开始触发");
  313. var touch = e.touches[0];
  314. this.startX = touch.clientX;
  315. },
  316. //触摸滑动
  317. drawMove(e) {
  318. // console.log("滑动");
  319. for (var index in this.datainfo) {
  320. // this.csListArrl[index].right=0
  321. this.$set(this.datainfo[index],'right',0);
  322. }
  323. var idx=e.currentTarget.dataset.idx
  324. var touch = e.touches[0];
  325. var item = this.datainfo[idx];
  326. var disX = this.startX - touch.clientX;
  327. if (disX >= 20) {
  328. if (disX > this.delBtnWidth) {
  329. disX = this.delBtnWidth;
  330. }
  331. // this.csListArrl[idx].right=disX
  332. this.$set(this.datainfo[idx],'right',disX);
  333. } else {
  334. // this.csListArrl[idx].right=0
  335. this.$set(this.datainfo[idx],'right',0);
  336. }
  337. },
  338. //触摸滑动结束
  339. drawEnd(e) {
  340. // console.log("滑动结束");
  341. var idx=e.currentTarget.dataset.idx
  342. var item = this.datainfo[idx];
  343. if (item.right >= this.delBtnWidth / 2) {
  344. // this.datainfo[idx].right=this.delBtnWidth
  345. this.$set(this.datainfo[idx],'right',this.delBtnWidth);
  346. } else {
  347. this.datainfo[idx].right=0
  348. }
  349. },
  350. }
  351. }
  352. </script>
  353. <style lang="scss" scoped>
  354. .flex{display: flex;}
  355. .flexc{display: flex;align-items: center;}
  356. .mb10{margin-bottom: 20rpx;}
  357. .carlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;
  358. .carltop{min-height: 154rpx;border-bottom: 2rpx solid #E5E5E5;
  359. .cir{width: 8rpx;height: 8rpx;border-radius: 50%;margin: 0 8rpx;display: inline-block;}
  360. .co16{
  361. .cir{background: #16BE7F;}
  362. }
  363. .co01{
  364. .cir{background: #0156FE;}
  365. }
  366. .tit{font-weight: bold;font-size: 32rpx;}
  367. .txt{font-weight: 500;font-size: 26rpx;color: #272727;}
  368. .txtbtn{min-width: 82rpx;
  369. height: 32rpx;font-weight: 500;font-size: 20rpx;color: #45CB99;
  370. border-radius: 16rpx;border: 1px solid #45CB99;margin-left: 12rpx;}
  371. .cara{flex: 0 0 auto;width: 232rpx;height: 74rpx;margin-right: 40rpx;}
  372. .carb{flex: 0 0 auto;width: 278rpx;height: 130rpx;}
  373. }
  374. .carlf{padding:26rpx 0 10rpx;
  375. .clflist{font-weight: 500;font-size: 26rpx;color: #666666;margin-bottom: 16rpx;}
  376. }
  377. .ctop{border-bottom: 2rpx solid #E5E5E5;padding:26rpx 24rpx;
  378. .imgs{width: 40rpx;height: 42rpx;margin-right: 30rpx;}
  379. .tit{font-size: 32rpx;color: #272727;font-weight: bold;margin-right: 14rpx;}
  380. .txt{font-weight: 500;font-size: 26rpx;
  381. &.ca{color: #3565ED;}
  382. &.cb{color: #FE5A0E;}
  383. &.cc{color: #28C529;}
  384. }
  385. .txta{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
  386. .num{font-size: 24rpx;color: #AAAAAA;}
  387. }
  388. .btn{height: 34rpx;border-radius: 18rpx;display: flex;align-items: center;justify-content: center;padding: 0 10rpx;font-size: 22rpx;margin-right: 24rpx;
  389. &.btna{border: 2rpx solid #06C770;color: #06C770;}
  390. &.btnb{border: 2rpx solid #3565ED;color: #3565ED;}
  391. &.btnc{border: 2rpx solid #FE5A0E;color: #FE5A0E;}
  392. &.btnbga{border: 1px solid #0156FE;color: #3565ED;background: #DFEAFF;height: 36rpx;}
  393. &.btnbgb{border: 1px solid #C1C1C1;color: #666666;background: #F1F1F1;height: 36rpx;}
  394. &.btnbgc{border: 1px solid #FE5A0E;color:#FE5A0E;background:#FFEEE6;height: 36rpx;}
  395. }
  396. .clists{padding: 24rpx 24rpx 8rpx;
  397. .clist{font-weight: 500;margin-bottom: 16rpx;
  398. font-size: 26rpx;color: #272727;display: flex;line-height: 34rpx;
  399. .tit{font-size: 26rpx;color: #AAAAAA;flex: 0 0 auto;margin-right: 16rpx;min-width: 108rpx;text-align-last: justify;}
  400. .imgas{display: flex;align-items: center;flex-wrap: wrap;
  401. image{width: 142rpx;height: 142rpx;margin-right: 30rpx;margin-top: 8rpx;}
  402. }
  403. }
  404. .w50{
  405. .clist{width: 50%;}
  406. }
  407. }
  408. }
  409. // 人员
  410. .peolist{
  411. .ctop{padding: 24rpx 24rpx 22rpx;}
  412. .imgs{margin-right: 16rpx !important;}
  413. .tit{font-size: 28rpx !important;}
  414. .plists{padding: 30rpx 24rpx 6rpx;
  415. .plist{background: linear-gradient(-90deg, #F2F5FF 0%, #FBFDFF 100%);border-radius: 20rpx;border: 2rpx solid #E6E6E6;margin-bottom: 24rpx;padding: 18rpx 26rpx 4rpx;
  416. .head{width: 96rpx;height: 98rpx;margin-right: 32rpx;flex: 0 0 auto;}
  417. .ptit{font-weight: bold;font-size: 30rpx;color: #272727;display: flex;align-items: center;margin-bottom: 14rpx;}
  418. .ptxt{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;margin-bottom: 14rpx;min-width: 176rpx;}
  419. }
  420. }
  421. .upimg{width: 26rpx;height: 22rpx;display: block;transform: rotate(180deg);transition: all 0.3s;margin: 0 auto 18rpx;
  422. &.act{transform: rotate(0deg);}
  423. }
  424. }
  425. // 物业费
  426. .mlistl{width: 40%;display: flex;flex-direction: column;align-items: center;flex: 0 0 auto;
  427. .mltit{font-weight: 500;font-size: 26rpx;color: #666666;margin-bottom: 18rpx;}
  428. .mltxt{font-weight: bold;font-size: 32rpx;color: #0156FE;}
  429. }
  430. .houselist{
  431. .clists{padding-bottom: 2rpx !important;}
  432. .clist{margin-bottom: 22rpx !important;}
  433. .btns{justify-content: flex-end;
  434. 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;
  435. &.bga{border: 2rpx solid #FE5A0E;background: #FFF8F5;color: #FE5A0E;}
  436. &.bgb{border: 2rpx solid #0256FD;background: #F1F5FC;color: #0256FD;}
  437. &.bgc{border: 2rpx solid #06C770;background: #EEF8F4;color: #06C770;}
  438. }
  439. }
  440. }
  441. // 巡更地点
  442. .patlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;padding: 0 24rpx 30rpx;
  443. .pattop{padding:22rpx 30rpx;margin-bottom: 2rpx;
  444. .imgs{width: 28rpx;height: 28rpx;margin-right: 12rpx;}
  445. .tit{font-size: 30rpx;color: #272727;font-weight: bold;margin-right: 14rpx;}
  446. .txt{font-weight: 500;font-size:24rpx;
  447. &.ca{color: #3565ED;}
  448. &.cb{color: #FE5A0E;}
  449. &.cc{color: #28C529;}
  450. &.cd{color: #FF6969;}
  451. }
  452. }
  453. .patlistr{background: #EFF4FF;border-radius: 20rpx;padding: 20rpx 32rpx;
  454. .clist{font-weight: 500;font-size: 26rpx;color: #272727;display: flex;line-height: 50rpx;
  455. .tit{font-size: 26rpx;flex: 0 0 auto;min-width: 108rpx;text-align-last: justify;font-weight: bold;}
  456. }
  457. }
  458. .patbtns{display: flex;justify-content: flex-end;align-items: center;flex-wrap: wrap;
  459. 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;
  460. &.btna{border: 2rpx solid #0256FD;color: #0256FD;}
  461. &.btnb{background: #0256FD;color: #ffffff;}
  462. }
  463. }
  464. }
  465. // 报修
  466. .walists{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx; position: relative;
  467. .watop{
  468. padding: 0 36rpx 8rpx 38rpx;
  469. .watit{padding: 24rpx 0;margin-bottom: 4rpx;display: flex;
  470. .tit{font-weight: bold;font-size: 28rpx;color: #272727;flex: 1;
  471. .cir{width: 14rpx;margin-left: 8rpx;margin-bottom: 10rpx;height: 14rpx;display: inline-block;background: #FF6969;border-radius: 8rpx;}
  472. }
  473. .txt{font-weight: bold;font-size: 26rpx;flex: 0 0 auto;
  474. }
  475. }
  476. }
  477. .walist{display: flex;font-weight: 500;font-size: 24rpx;color: #666666;margin-bottom: 16rpx;
  478. .tit{min-width: 100rpx;text-align-last: justify}
  479. }
  480. .wabtn{display: flex;align-items: center;justify-content: space-between;border-top: 2rpx solid #E5E5E5;height: 80rpx;padding: 0 38rpx;
  481. view{font-weight: 500;font-size: 24rpx;color: #666666;}
  482. image{width: 16rpx;height: 28rpx;}
  483. }
  484. }
  485. // 维修人员
  486. .stafflist{width: 344rpx;min-height: 256rpx;background: #FFFFFF;border-radius: 20rpx;margin:0 12rpx 24rpx 12rpx;padding-bottom: 20rpx;box-sizing: border-box;
  487. // &:nth-of-type(2n){margin-right: 0;}
  488. .statop{border-bottom: 2rpx solid #E5E5E5;display: flex;padding: 24rpx 24rpx 22rpx;
  489. .head{width: 80rpx;height: 82rpx;margin-right: 24rpx;flex: 0 0 auto;}
  490. .stadel{width: 30rpx;height: 30rpx;flex: 0 0 auto;margin-left: 12rpx;}
  491. .statit{font-weight: bold;font-size: 30rpx;color: #272727;margin-bottom: 4rpx;}
  492. .statxt{font-weight: 500;font-size: 26rpx;
  493. .cir{width: 10rpx;height: 10rpx;border-radius: 50%;margin-right: 14rpx;display: inline-block;
  494. &.bga{background: #06C770;}
  495. &.bgb{background: #FF6969;}
  496. }
  497. }
  498. }
  499. .stalist{font-weight: 500;font-size: 26rpx;color: #272727;display: flex;align-items: center;padding: 20rpx 24rpx 0;
  500. .imgs{width: 24rpx;height: 30rpx;margin-right: 22rpx;flex: 0 0 auto;display: flex;align-items: center;justify-content: center;
  501. .gzlximg{width: 24rpx;height: 28rpx;}
  502. .mphone{width: 18rpx;height: 30rpx;}
  503. }
  504. }
  505. }
  506. .watopcom{background-color: #ffffff;border-radius: 20rpx;position: relative;z-index: 1;padding-bottom: 30rpx !important;
  507. .watopcoma{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;margin-bottom: 24rpx;}
  508. .watopcomb{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
  509. }
  510. //资讯
  511. .newlists{
  512. background: #FFFFFF;padding: 22rpx 24rpx;margin-bottom: 24rpx;
  513. border-radius: 20rpx;
  514. .tit{font-size: 32rpx;font-weight: bold;color: #272727;line-height: 48rpx;margin-bottom:16rpx;}
  515. .txt{font-size: 24rpx;color: #666666;line-height: 36rpx;margin-bottom: 32rpx;}
  516. .stabox{
  517. .time{font-weight: 500;font-size: 24rpx;color: #AAAAAA;line-height: 36rpx;}
  518. .btns{font-weight: 500;font-size: 22rpx;color: #666666;line-height: 36rpx;min-width: 100rpx;box-sizing: border-box;margin-left: 20rpx;
  519. .imga{width: 24rpx;height: 22rpx;margin-right: 8rpx;}
  520. .imgb{width: 24rpx;height: 18rpx;margin-right: 10rpx;}
  521. }
  522. }
  523. }
  524. // 视频
  525. .videolists{
  526. background: #FFFFFF;margin-bottom: 24rpx;border-radius: 20rpx;
  527. .titbox{padding-top: 16rpx;padding-right: 38rpx;}
  528. .videos{width: 260rpx;height: 180rpx;}
  529. .tit{font-weight: bold;font-size: 14px;color: #272727;text-align: left;margin-bottom: 10rpx;}
  530. .num{font-weight: 500;font-size: 20rpx;color: #666666;min-width: 68rpx;padding: 0 8rpx;box-sizing: border-box;
  531. height: 28rpx;background: #E6E6E6;border-radius: 14rpx;line-height: 28rpx;text-align: center;}
  532. .time{font-weight: 500;font-size: 24rpx;color: #AAAAAA;margin-top: 44rpx;}
  533. }
  534. // 名单
  535. .readlist{background: #FFFFFF;border-radius: 20rpx;border: 2rpx solid #E6E6E6;margin-bottom: 24rpx;padding: 24rpx;display: flex;align-items: center;box-sizing: border-box;
  536. .head{width: 96rpx;height: 96rpx;margin-right: 28rpx;flex: 0 0 auto;}
  537. .tit{font-weight: bold;font-size: 30rpx;color: #272727;margin-bottom: 12rpx;}
  538. .time{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;
  539. text{margin-right: 12rpx;display: inline-block;}
  540. }
  541. }
  542. .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;}
  543. // 无数据
  544. .nodata{display: flex;flex-direction: column;align-items: center;
  545. image{width: 440rpx;height: 440rpx;}
  546. view{font-size: 30rpx;color: #666666;font-weight: bold;}
  547. }
  548. </style>