list.vue 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786
  1. <template>
  2. <view>
  3. <!-- 第一种样式 人员管理-->
  4. <block v-if="datainfo.length>0">
  5. <!-- 巡更地点patrol -->
  6. <block v-if="type=='patrollist'">
  7. <view class="patlist" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail(ite.checkPointManageId)">
  8. <view class="pattop flexc">
  9. <image :src="home" class="imgs"></image>
  10. <view class="tit">{{ite.checkAddress}}</view>
  11. <view class="flex1"></view>
  12. </view>
  13. <view class="patlistr">
  14. <view class="clist"><view class="tit">巡检类型</view>:{{kaType(ite.checkType,xglxlist)}}</view>
  15. <view class="clist"><view class="tit">巡检时间</view>:{{ite.checkTime}}</view>
  16. </view>
  17. <view class="patbtns">
  18. <view class="btna" v-if="checkPermi(['wuYe:checkPointManage:edit'])" @click.stop="getDetail(ite.checkPointManageId)">修改</view>
  19. <view class="btnc" v-if="checkPermi(['wuYe:checkPointManage:remove'])" @click.stop="getDelFn(ite.checkPointManageId)">删除</view>
  20. </view>
  21. </view>
  22. </block>
  23. <!-- 巡更记录patrol -->
  24. <block v-if="type=='patrol'">
  25. <view class="patlist" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail(ite.checkPointRecordId)">
  26. <view class="pattop flexc">
  27. <image :src="home" class="imgs"></image>
  28. <view class="tit">{{ite.checkAddress}}</view>
  29. <view class="flex1"></view>
  30. <view class="txt cc" v-if="ite.checkStatus==2">已巡更</view>
  31. <view class="txt cd" v-else>未巡更</view>
  32. </view>
  33. <view class="patlistr">
  34. <view class="clist"><view class="tit">巡检类型</view>:{{kaType(ite.checkType,xglxlist)}}</view>
  35. <view class="clist"><view class="tit">巡检时间</view>:{{ite.checkTime}}</view>
  36. <!-- <view class="clist"><view class="tit">巡检人</view>:刘兵琦</view> -->
  37. </view>
  38. <view class="patbtns">
  39. <!-- v-if="ite.checkStatus==2" -->
  40. <!-- v-else -->
  41. <block v-if="checkPermi(['wuYe:checkPointRecord:query'])">
  42. <view class="btna" @click.stop="getDetail(ite.checkPointRecordId)" v-if="ite.checkStatus==2">查看</view>
  43. <view class="btnb" @click.stop="getAddFn(ite.checkPointRecordId)" v-else>去巡更</view>
  44. </block>
  45. <view class="btnc" v-if="checkPermi(['wuYe:checkPointRecord:remove'])" @click.stop="getDelFn(ite.checkPointRecordId)">删除</view>
  46. </view>
  47. </view>
  48. </block>
  49. <!-- 报修管理 -->
  50. <block v-if="type=='warranty'">
  51. <view class="bxlists" v-for="(ite,idx) in datainfo" :key="ite.repairId" >
  52. <view class="bxtop">
  53. <swiper v-if="ite.repairImages" class="swiper" circular :indicator-color="incolorh" :indicator-active-color="activecolorh" :indicator-dots="indicatorDotsh" :autoplay="autoplay">
  54. <swiper-item v-for="(aite,aidx) in ite.repairImages" :key="aidx">
  55. <image :src="baseUrl+aite" @click="getPreviewImage(ite.repairImages,aidx)"></image>
  56. </swiper-item>
  57. </swiper>
  58. <view class="toptit mb10">{{ite.repairDetails}}</view>
  59. <view class="walist"><view class="tit">项目</view>:{{kaType(ite.maintenanceCategory,bxlbList)}}</view>
  60. <view class="walist"><view class="tit">报修门户</view>:{{ite.houseAddress}}</view>
  61. <view class="flexcw">
  62. <view class="walist"><view class="tit">报修时间</view>:{{ite.repairTime}}</view>
  63. <!-- <view class="walist" v-if="ite.type==3"><view class="tit" >完成时间</view>:{{ite.completionTime}}</view> -->
  64. <view class="btns">
  65. <view class="btn btna" v-if="checkPermi(['wuYe:repair:remove'])&&ite.repairStatus<2" @click.stop="getDelFn(ite.repairId)">删除</view>
  66. <view class="btn btnb" v-if="checkPermi(['wuYe:repair:assign'])&&ite.repairStatus==1" @click.stop="getAssignFn(ite)">指派</view>
  67. <block v-if="checkPermi(['wuYe:repair:edit'])">
  68. <view class="btn btnc" v-if="ite.repairStatus==2" @click.stop="getCheckFn(ite)">我已上门</view>
  69. <view class="btn btnc" v-if="ite.repairStatus==3" @click.stop="getCheckFn(ite)">我已完成</view>
  70. </block>
  71. </view>
  72. </view>
  73. </view>
  74. <view class="bxsteps">
  75. <uni-collapse ref="collapse" >
  76. <uni-collapse-item title-border="none">
  77. <template v-slot:title>
  78. <view class="chtop flexc" >
  79. <view class="line"></view>
  80. <view>流程记录</view>
  81. <view class="flex1"></view>
  82. <!-- <image :src="upimg" class="upimg"></image> -->
  83. </view>
  84. </template>
  85. <view class="hfstep">
  86. <view class="hfslist flex" v-if="ite.repairStatus>3">
  87. <view class="limg flexccc">
  88. <image :src="cira" class="imga"></image>
  89. </view>
  90. <view class="flex1">
  91. <view class="hfstit co01">已完成 <text>{{ite.completionTime}}</text></view>
  92. <view class="hfstxt"><text @click.stop="getPhoneFn(ite.staffPhone)">【{{ite.staffName}} {{ite.staffPhone}}】</text>已完成报修业务</view>
  93. <view class="hfimgs flexcw" v-if="ite.completionPhoto&&ite.completionPhoto.length">
  94. <image :src="baseUrl+aite" @click="getPreviewImage(ite.completionPhoto,aidx)" v-for="(aite,aidx) in ite.completionPhoto" :key="aidx"></image>
  95. </view>
  96. </view>
  97. </view>
  98. <view class="hfslist flex" v-if="ite.repairStatus>2">
  99. <view class="limg flexccc">
  100. <image :src="cira" class="imga" v-if="ite.repairStatus==3"></image>
  101. <image :src="cirb" class="imgb" v-else></image>
  102. </view>
  103. <view class="flex1">
  104. <view class="hfstit">处理中 <text>{{ite.visitTime}}</text></view>
  105. <view class="hfstxt"><text @click.stop="getPhoneFn(ite.staffPhone)">【{{ite.staffName}} {{ite.staffPhone}}】</text>已上门处理中</view>
  106. <view class="hfimgs flexcw" v-if="ite.visitPhoto&&ite.visitPhoto.length">
  107. <image :src="baseUrl+aite" @click="getPreviewImage(ite.visitPhoto,aidx)" v-for="(aite,aidx) in ite.visitPhoto" :key="aidx"></image>
  108. </view>
  109. </view>
  110. </view>
  111. <view class="hfslist flex" v-if="ite.repairStatus>1">
  112. <view class="limg flexccc">
  113. <image :src="cira" class="imga" v-if="ite.repairStatus==2"></image>
  114. <image :src="cirb" class="imgb" v-else></image>
  115. </view>
  116. <view class="flex1">
  117. <view class="hfstit">待上门 <text>{{ite.assignTime}}</text></view>
  118. <view class="hfstxt">您的报修申请已派于<text @click.stop="getPhoneFn(ite.staffPhone)">【{{ite.staffName}} {{ite.staffPhone}}】</text>处理</view>
  119. </view>
  120. </view>
  121. <view class="hfslist flex" >
  122. <view class="limg flexccc">
  123. <image :src="cira" class="imga" v-if="ite.repairStatus==1"></image>
  124. <image :src="cirb" class="imgb" v-else></image>
  125. </view>
  126. <view class="flex1">
  127. <view class="hfstit">待指派 <text>{{ite.repairTime}}</text></view>
  128. <view class="hfstxt">您的报修申请已提交,请耐心等待</view>
  129. </view>
  130. </view>
  131. </view>
  132. </uni-collapse-item>
  133. </uni-collapse>
  134. </view>
  135. </view>
  136. </block>
  137. <!-- 投诉建议 -->
  138. <block v-if="type=='complaint'">
  139. <view class="bxlists" v-for="(ite,idx) in datainfo" :key="ite.suggestionId">
  140. <view class="bxtop">
  141. <swiper v-if="ite.images" class="swiper" circular :indicator-color="incolorh" :indicator-active-color="activecolorh" :indicator-dots="indicatorDotsh" :autoplay="autoplay">
  142. <!-- datainfo.images -->
  143. <swiper-item v-for="(aite,aidx) in ite.images" :key="aidx">
  144. <image :src="baseUrl+aite" @click="getPreviewImage(ite.images,aidx)"></image>
  145. </swiper-item>
  146. </swiper>
  147. <view class="toptit mb10">{{ite.content}}</view>
  148. <view class="fleccw">
  149. <view class="walist flex0"><view class="tit">提交时间</view>:{{ite.pushTime}}</view>
  150. <view class="btns">
  151. <view class="btn btna" v-if="checkPermi(['wuYe:suggestion:remove'])" @click.stop="getDelFn(ite.suggestionId)">删除</view>
  152. <block v-if="checkPermi(['wuYe:suggestion:edit'])">
  153. <view class="btn btnd" v-if="ite.isPublic=='Y'" @click.stop="getCloseFn(ite.suggestionId,'N')">不予公开</view>
  154. <view class="btn btnc" v-else @click.stop="getCloseFn(ite.suggestionId,'Y')">公开</view>
  155. <view class="btn btnb" v-if="checkPermi(['wuYe:suggestion:edit'])&&ite.status==1" @click="getReplyFn(ite.suggestionId)">回复</view>
  156. </block>
  157. </view>
  158. </view>
  159. </view>
  160. <view class="bxsteps">
  161. <uni-collapse ref="collapse">
  162. <uni-collapse-item title-border="none">
  163. <template v-slot:title>
  164. <view class="chtop flexc" >
  165. <view class="line"></view>
  166. <view>交流记录</view>
  167. <view class="flex1"></view>
  168. </view>
  169. </template>
  170. <view class="hfstep">
  171. <view class="hfslist flex" v-if="ite.status==2">
  172. <view class="limg flexccc">
  173. <image :src="cira" class="imga"></image>
  174. </view>
  175. <view class="flex1">
  176. <view class="hfstit co01">已回复 <text>{{ite.replyTime}}</text></view>
  177. <view class="hfstxt">{{ite.replyContent}}</view>
  178. <!-- 附件 -->
  179. <block v-if="ite.suggestionFjList">
  180. <view class="fjlists" v-for="(fite,fidx) in ite.suggestionFjList" :key='fidx'>
  181. <view class="flext" @click="getDownloader(fite.url)">
  182. <view class="imgl"><image :src="filico" ></image></view>
  183. <view class="tit">{{fite.name}}</view>
  184. </view>
  185. </view>
  186. </block>
  187. <!-- <view class="hfimgs flexcw">
  188. <image :src="cira"></image>
  189. </view> -->
  190. </view>
  191. </view>
  192. <view class="hfslist flex" >
  193. <view class="limg flexccc">
  194. <image :src="cira" class="imga" v-if="ite.status==1"></image>
  195. <image :src="cirb" class="imgb" v-else></image>
  196. </view>
  197. <view class="flex1">
  198. <view class="hfstit">已提交 <text>{{ite.pushTime}}</text></view>
  199. <view class="hfstxt">您的投诉建议已提交,请耐心等待</view>
  200. </view>
  201. </view>
  202. </view>
  203. </uni-collapse-item>
  204. </uni-collapse>
  205. </view>
  206. </view>
  207. <!-- <view class="walists" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail(ite.suggestionId)"
  208. :data-idx="idx"
  209. @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+ite.right+'px'"
  210. >
  211. <view class="watop watopcom">
  212. <view class="watit">
  213. <view class="tit">{{ite.title}}</view>
  214. <view class="txt" :class="ite.status==1?'co01':'coa'">{{kaType(ite.status,tsjyList)}}</view>
  215. </view>
  216. <view class="watopcoma overtwo">{{ite.content}}</view>
  217. <view class="watopcomb">{{ite.createTime}}</view>
  218. </view>
  219. <view class="spdel" v-if="ite.right>0&&checkPermi(['wuYe:suggestion:remove'])" @click.stop="getDelFn(ite.suggestionId)">删除</view>
  220. </view> -->
  221. <!-- checkPermi(['system:menuFood:remove'])&& -->
  222. </block>
  223. <view class="shax">{{wtdt}}</view>
  224. </block>
  225. <!-- 无数据 -->
  226. <view class="nodata" v-else>
  227. <image :src="noiconpimg"></image>
  228. <view>
  229. 暂无数据
  230. </view>
  231. </view>
  232. </view>
  233. </template>
  234. <script>
  235. import {selectDictValue} from "@/utils/common.js"
  236. import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
  237. import config from '@/config'
  238. export default{
  239. props:{
  240. datainfo: {
  241. type: Array,
  242. default () {
  243. return []
  244. }
  245. },
  246. wtdt:{
  247. type:String,
  248. default () {
  249. return ''
  250. }
  251. },
  252. type:{
  253. type:String,
  254. default () {
  255. return 0
  256. }
  257. },
  258. xglxlist:{
  259. type:Array,
  260. default () {
  261. return []
  262. }
  263. },
  264. tsjyList:{
  265. type:Array,
  266. default () {
  267. return []
  268. }
  269. },
  270. bxztList:{
  271. type:Array,
  272. default () {
  273. return []
  274. }
  275. },
  276. bxlbList:{
  277. type:Array,
  278. default () {
  279. return []
  280. }
  281. }
  282. },
  283. data(){
  284. return{
  285. noiconpimg:require("@/static/nodata.png"),
  286. car:require("@/car/static/car/car.png"),
  287. cara:require("@/car/static/car/cara.png"),
  288. carb:require("@/car/static/car/carb.png"),
  289. hicoa:require("@/people/static/people/hicoa.png"),
  290. hicob:require("@/people/static/people/hicob.png"),
  291. man:require("@/people/static/people/man.png"),
  292. woman:require("@/people/static/people/woman.png"),
  293. rimg:require("@/people/static/people/rimg.png"),
  294. pdel:require("@/people/static/people/pdel.png"),
  295. gzlx:require("@/people/static/people/gzlx.png"),
  296. mphone:require("@/people/static/people/mphone.png"),
  297. sfz:require("@/people/static/people/sfz.png"),
  298. eye:require("@/people/static/people/eye.png"),
  299. neye:require("@/people/static/people/neye.png"),
  300. time:require("@/work/static/manage/time.png"),
  301. house:require("@/work/static/manage/house.png"),
  302. housea:require("@/work/static/manage/housea.png"),
  303. home:require("@/service/static/service/home.png"),
  304. upimg:require("@/static/images/home/up.png"),
  305. star:require('@/manage/static/community/star.png'),
  306. stara:require('@/manage/static/community/stara.png'),
  307. cira:require('@/service/static/service/cira.png'),
  308. cirb:require('@/service/static/service/cirb.png'),
  309. filico:require('@/work/static/filico.png'),
  310. autoplay:false,
  311. incolorh:'#C0C3C3',
  312. activecolorh:'#FFFFFF',
  313. indicatorDotsh: true,
  314. baseUrl:config.baseUrl,
  315. delBtnWidth:66,//左滑默认宽度
  316. }
  317. },
  318. mounted() {
  319. },
  320. methods:{
  321. checkPermi, checkRole,
  322. kaType(data, list) {
  323. return selectDictValue(list, data);
  324. },
  325. getDetail(e){
  326. this.$emit('getDetail',e)
  327. },
  328. getAddFn(e){
  329. this.$emit('getAddFn',e)
  330. },
  331. getReadlist(e){
  332. this.$emit('getReadlist',e)
  333. },
  334. getZhan(idx){
  335. // var obj=JSON.parse(JSON.stringify(this.datainfo))[idx]
  336. // obj.zhanflag=!obj.zhanflag;
  337. // this.datainfo.splice(idx,1,obj);
  338. this.datainfo[idx].zhanflag=!this.datainfo[idx].zhanflag
  339. },
  340. getHideFn(idx){
  341. this.datainfo[idx].hideflag=!this.datainfo[idx].hideflag
  342. },
  343. getPreview(idx,arr) {
  344. var newArr=[];
  345. arr.forEach(ite=>{
  346. var ds=this.baseUrl+ite
  347. newArr.push(ds)
  348. })
  349. uni.previewImage({
  350. urls: newArr,
  351. current:idx,
  352. success: function(data) {},
  353. fail: function(err) {}
  354. });
  355. },
  356. getDelFn(id){
  357. var that=this;
  358. uni.showModal({
  359. title: '确认删除',
  360. content: "是否确认删除",
  361. cancelText: '取消',
  362. confirmText: '确认',
  363. success: function(res) {
  364. if (res.confirm) {
  365. that.$emit('getDelFn',id)
  366. } else if (res.cancel) {
  367. }
  368. }
  369. });
  370. },
  371. getAssignFn(ite){
  372. this.$emit('getAssignFn',ite)
  373. },
  374. getCheckFn(ite){
  375. this.$emit('getCheckFn',ite)
  376. },
  377. getReplyFn(id){
  378. this.$emit('getReplyFn',id)
  379. },
  380. getPhoneFn(phone){
  381. uni.makePhoneCall({
  382. phoneNumber: phone //仅为示例
  383. });
  384. },
  385. getPreviewImage(arr,idx){
  386. var newArr=[];
  387. arr.forEach(ite=>{
  388. var ds=this.baseUrl+ite
  389. newArr.push(ds)
  390. })
  391. uni.previewImage({
  392. urls: newArr,
  393. current:idx,
  394. success: function(data) {
  395. },
  396. fail: function(err) {
  397. }
  398. });
  399. },
  400. getCloseFn(id,type){
  401. var that=this;
  402. var str="不予公开"
  403. if(type=='Y'){
  404. str='公开'
  405. }
  406. uni.showModal({
  407. title: str,
  408. content: "是否确认"+str,
  409. cancelText: '取消',
  410. confirmText: '确认',
  411. success: function(res) {
  412. if (res.confirm) {
  413. var param={}
  414. param.isPublic=type;
  415. param.suggestionId=id;
  416. that.$emit('getCloseFn',param)
  417. // suggestionlPut(param).then(res=>{
  418. // if(res.code==200){
  419. // uni.$emit("refSuggestion")
  420. // that.$toast(str+'成功')
  421. // setTimeout(function(){
  422. // that.getDetail()
  423. // },1200)
  424. // }
  425. // })
  426. } else if (res.cancel) {
  427. }
  428. }
  429. });
  430. },
  431. getDownloader(e){
  432. uni.showLoading({
  433. title: '加载中'
  434. });
  435. var url=this.baseUrl+e;
  436. let index1 = e.lastIndexOf("."); // 得到一个索引值
  437. let index2 = e.length;
  438. let type = e.substring(index1, index2);
  439. if ((type.indexOf('jpg') > -1 || type.indexOf('jpeg') > -1 || type.indexOf('png') > -1)) {
  440. uni.previewImage({
  441. current: 0,
  442. urls: [url],
  443. // background: '#ffffff'
  444. });
  445. uni.hideLoading();
  446. } else {
  447. uni.downloadFile({
  448. url: url,//文件的下载路径
  449. success(result) {
  450. uni.hideLoading()
  451. var filePath = result.tempFilePath;
  452. uni.openDocument({
  453. filePath: filePath,
  454. showMenu: true,
  455. success: function (res) {
  456. // console.log('打开文档成功');
  457. }
  458. });
  459. },
  460. fail(res) {uni.hideLoading()}
  461. })
  462. }
  463. },
  464. //开始触摸滑动
  465. drawStart(e) {
  466. // console.log("开始触发");
  467. var touch = e.touches[0];
  468. this.startX = touch.clientX;
  469. },
  470. //触摸滑动
  471. drawMove(e) {
  472. // console.log("滑动");
  473. for (var index in this.datainfo) {
  474. // this.csListArrl[index].right=0
  475. this.$set(this.datainfo[index],'right',0);
  476. }
  477. var idx=e.currentTarget.dataset.idx
  478. var touch = e.touches[0];
  479. var item = this.datainfo[idx];
  480. var disX = this.startX - touch.clientX;
  481. if (disX >= 20) {
  482. if (disX > this.delBtnWidth) {
  483. disX = this.delBtnWidth;
  484. }
  485. // this.csListArrl[idx].right=disX
  486. this.$set(this.datainfo[idx],'right',disX);
  487. } else {
  488. // this.csListArrl[idx].right=0
  489. this.$set(this.datainfo[idx],'right',0);
  490. }
  491. },
  492. //触摸滑动结束
  493. drawEnd(e) {
  494. // console.log("滑动结束");
  495. var idx=e.currentTarget.dataset.idx
  496. var item = this.datainfo[idx];
  497. if (item.right >= this.delBtnWidth / 2) {
  498. // this.datainfo[idx].right=this.delBtnWidth
  499. this.$set(this.datainfo[idx],'right',this.delBtnWidth);
  500. } else {
  501. this.datainfo[idx].right=0
  502. }
  503. },
  504. }
  505. }
  506. </script>
  507. <style lang="scss" scoped>
  508. .flex{display: flex;}
  509. .flexc{display: flex;align-items: center;}
  510. .mb10{margin-bottom: 20rpx;}
  511. .carlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;
  512. .ctop{border-bottom: 2rpx solid #E5E5E5;padding:26rpx 24rpx;
  513. .imgs{width: 40rpx;height: 42rpx;margin-right: 30rpx;}
  514. .tit{font-size: 32rpx;color: #272727;font-weight: bold;margin-right: 14rpx;}
  515. .txt{font-weight: 500;font-size: 26rpx;
  516. &.ca{color: #3565ED;}
  517. &.cb{color: #FE5A0E;}
  518. &.cc{color: #28C529;}
  519. }
  520. .txta{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
  521. .num{font-size: 24rpx;color: #AAAAAA;}
  522. }
  523. .btn{height: 34rpx;border-radius: 18rpx;display: flex;align-items: center;justify-content: center;padding: 0 10rpx;font-size: 22rpx;margin-right: 24rpx;
  524. &.btna{border: 2rpx solid #06C770;color: #06C770;}
  525. &.btnb{border: 2rpx solid #3565ED;color: #3565ED;}
  526. &.btnc{border: 2rpx solid #FE5A0E;color: #FE5A0E;}
  527. &.btnbga{border: 1px solid #0156FE;color: #3565ED;background: #DFEAFF;height: 36rpx;}
  528. &.btnbgb{border: 1px solid #C1C1C1;color: #666666;background: #F1F1F1;height: 36rpx;}
  529. &.btnbgc{border: 1px solid #FE5A0E;color:#FE5A0E;background:#FFEEE6;height: 36rpx;}
  530. }
  531. .clists{padding: 24rpx 24rpx 8rpx;
  532. .clist{font-weight: 500;margin-bottom: 16rpx;
  533. font-size: 26rpx;color: #272727;display: flex;line-height: 34rpx;
  534. .tit{font-size: 26rpx;color: #AAAAAA;flex: 0 0 auto;margin-right: 16rpx;min-width: 108rpx;text-align-last: justify;}
  535. .imgas{display: flex;align-items: center;flex-wrap: wrap;
  536. image{width: 142rpx;height: 142rpx;margin-right: 30rpx;margin-top: 8rpx;}
  537. }
  538. }
  539. .w50{
  540. .clist{width: 50%;}
  541. }
  542. }
  543. }
  544. // 人员
  545. .peolist{
  546. .ctop{padding: 24rpx 24rpx 22rpx;}
  547. .imgs{margin-right: 16rpx !important;}
  548. .tit{font-size: 28rpx !important;}
  549. .plists{padding: 30rpx 24rpx 6rpx;
  550. .plist{background: linear-gradient(-90deg, #F2F5FF 0%, #FBFDFF 100%);border-radius: 20rpx;border: 2rpx solid #E6E6E6;margin-bottom: 24rpx;padding: 18rpx 26rpx 4rpx;
  551. .head{width: 96rpx;height: 98rpx;margin-right: 32rpx;flex: 0 0 auto;}
  552. .ptit{font-weight: bold;font-size: 30rpx;color: #272727;display: flex;align-items: center;margin-bottom: 14rpx;}
  553. .ptxt{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;margin-bottom: 14rpx;min-width: 176rpx;}
  554. }
  555. }
  556. .upimg{width: 26rpx;height: 22rpx;display: block;transform: rotate(180deg);transition: all 0.3s;margin: 0 auto 18rpx;
  557. &.act{transform: rotate(0deg);}
  558. }
  559. }
  560. // 物业费
  561. .mlistl{width: 40%;display: flex;flex-direction: column;align-items: center;flex: 0 0 auto;
  562. .mltit{font-weight: 500;font-size: 26rpx;color: #666666;margin-bottom: 18rpx;}
  563. .mltxt{font-weight: bold;font-size: 32rpx;color: #0156FE;}
  564. }
  565. .houselist{
  566. .clists{padding-bottom: 2rpx !important;}
  567. .clist{margin-bottom: 22rpx !important;}
  568. }
  569. // 巡更地点
  570. .patlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;padding: 0 24rpx 30rpx;
  571. .pattop{padding:22rpx 30rpx;margin-bottom: 2rpx;
  572. .imgs{width: 28rpx;height: 28rpx;margin-right: 12rpx;flex: 0 0 auto;}
  573. .tit{font-size: 30rpx;color: #272727;font-weight: bold;margin-right: 14rpx;}
  574. .txt{font-weight: 500;font-size:24rpx;
  575. &.ca{color: #3565ED;}
  576. &.cb{color: #FE5A0E;}
  577. &.cc{color: #28C529;}
  578. &.cd{color: #FF6969;}
  579. }
  580. }
  581. .patlistr{background: #EFF4FF;border-radius: 20rpx;padding: 20rpx 32rpx;
  582. .clist{font-weight: 500;font-size: 26rpx;color: #272727;display: flex;line-height: 50rpx;
  583. .tit{font-size: 26rpx;flex: 0 0 auto;min-width: 108rpx;text-align-last: justify;font-weight: bold;}
  584. }
  585. }
  586. .patbtns{display: flex;justify-content: flex-end;align-items: center;flex-wrap: wrap;
  587. 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;
  588. &.btna{border: 2rpx solid #0256FD;color: #0256FD;}
  589. &.btnb{background: #0256FD;color: #ffffff;}
  590. &.btnc{border: 2rpx solid #FE5A0E;color: #FE5A0E;}
  591. }
  592. }
  593. }
  594. // 报修
  595. .bxlists{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;position: relative;
  596. .bxtop{padding: 30rpx 24rpx;position: relative;
  597. .swiper{width: 100%;height: 280rpx;border-radius: 20rpx;box-sizing: border-box;margin-bottom: 28rpx;overflow: hidden;
  598. image{width: 100%;height: 100%;}
  599. }
  600. .toptit{font-weight: bold;font-size: 28rpx;color: #161616;}
  601. .walist{display: flex;font-weight: 500;font-size: 26rpx;color: #666666;margin-bottom: 16rpx;
  602. .tit{min-width: 100rpx;text-align-last: justify}
  603. }
  604. .btns{display: flex;flex-wrap: wrap;justify-content: flex-end;flex: 1 0 auto;}
  605. .btn{min-width: 120rpx;height: 54rpx;border-radius: 26rpx;font-weight: 500;font-size: 26rpx;text-align: center;line-height: 54rpx;padding: 0 10rpx;box-sizing: border-box; margin-bottom: 14rpx;margin-left: 12rpx;
  606. &.btna{border: 2rpx solid #FF6969;background: #FFF8F8;color: #FF6969;}
  607. &.btnb{background: #0256FD;color: #FFFFFF;}
  608. }
  609. }
  610. .bxsteps{border-top: 2rpx solid #E6E6E6;padding: 30rpx 0;
  611. .chtop{padding-right: 48rpx;
  612. .line{width: 14rpx;height: 48rpx;background: #0256FD;border-radius:0 12rpx 12rpx 0;margin-right: 18rpx;}
  613. view{font-weight: bold;font-size: 28rpx;color: #272727;}
  614. .upimg{width: 22rpx;height: 14rpx;flex: 0 0 auto;margin-left: 12rpx;transform: rotate(180deg);transition: all 0.3s;}
  615. }
  616. .fjlists {display: flex;align-items: flex-start;justify-content: space-between;margin-bottom: 20rpx;
  617. &:last-child{margin-bottom: 0;}
  618. .imgl{width: 40rpx;height: 40rpx;display: flex;align-items: center;flex: 0 0 auto;
  619. image{width: 26rpx;height: 24rpx;}
  620. }
  621. .tit{font-size: 26rpx;color: #222327;font-weight: 500;margin-top: 4rpx;word-break: break-all;}
  622. }
  623. .hfstep{padding: 0 32rpx 30rpx 36rpx;margin-top: 24rpx;
  624. .hfslist{padding-bottom: 20rpx;position: relative;
  625. &:first-child{
  626. .hfstit{color: #0156FE;}
  627. }
  628. &::before{content: '';position: absolute;left: 14rpx;top:14rpx;height: 100%;width: 2rpx;background: #E6E6E6;}
  629. .limg{width: 30rpx;height: 30rpx;margin-right: 22rpx;flex: 0 0 auto;margin-top:3rpx;
  630. .imga{width: 30rpx;height: 30rpx;}
  631. .imgb{width: 18rpx;height: 18rpx;}
  632. }
  633. .hfstit{font-weight: bold;font-size: 30rpx;color: #666666;line-height: 36rpx;margin-bottom: 20rpx;
  634. text{font-size: 26rpx;margin-left: 12rpx;}
  635. }
  636. .hfstxt{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;margin-bottom: 20rpx;}
  637. .hfimgs{padding-top: 2rpx;
  638. image{width: 84rpx;height: 84rpx;border-radius: 20rpx;margin-right: 40rpx;margin-bottom: 10rpx;}
  639. }
  640. }
  641. }
  642. }
  643. }
  644. .bxlists /deep/ .uni-swiper-dots-horizontal{left: 26rpx;transform: translate(0);}
  645. .bxlists /deep/ .uni-swiper-dot{width: 10rpx;height: 10rpx;}
  646. .bxlists /deep/ .uni-swiper-dot-active{width: 24rpx;height: 10rpx;}
  647. // 维修人员
  648. .stafflist{width: 344rpx;min-height: 256rpx;background: #FFFFFF;border-radius: 20rpx;margin:0 12rpx 24rpx 12rpx;padding-bottom: 20rpx;box-sizing: border-box;
  649. // &:nth-of-type(2n){margin-right: 0;}
  650. .statop{border-bottom: 2rpx solid #E5E5E5;display: flex;padding: 24rpx 24rpx 22rpx;
  651. .head{width: 80rpx;height: 82rpx;margin-right: 24rpx;flex: 0 0 auto;}
  652. .stadel{width: 30rpx;height: 30rpx;flex: 0 0 auto;margin-left: 12rpx;}
  653. .statit{font-weight: bold;font-size: 30rpx;color: #272727;margin-bottom: 4rpx;}
  654. .statxt{font-weight: 500;font-size: 26rpx;
  655. .cir{width: 10rpx;height: 10rpx;border-radius: 50%;margin-right: 14rpx;display: inline-block;
  656. &.bga{background: #06C770;}
  657. &.bgb{background: #FF6969;}
  658. }
  659. }
  660. }
  661. .stalist{font-weight: 500;font-size: 26rpx;color: #272727;display: flex;align-items: center;padding: 20rpx 24rpx 0;
  662. .imgs{width: 24rpx;height: 30rpx;margin-right: 22rpx;flex: 0 0 auto;display: flex;align-items: center;justify-content: center;
  663. .gzlximg{width: 24rpx;height: 28rpx;}
  664. .mphone{width: 18rpx;height: 30rpx;}
  665. .sfz{width: 20rpx;height: 18rpx;}
  666. }
  667. .eyes{width: 34rpx;height: 34rpx;
  668. .eye{width: 22rpx;height: 15rpx;}
  669. .neye{width: 24rpx;height: 24rpx;}
  670. }
  671. }
  672. }
  673. .watopcom{background-color: #ffffff;border-radius: 20rpx;position: relative;z-index: 1;padding-bottom: 30rpx !important;
  674. .watopcoma{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;margin-bottom: 24rpx;}
  675. .watopcomb{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
  676. }
  677. //资讯
  678. .newlists{
  679. background: #FFFFFF;padding: 22rpx 24rpx;margin-bottom: 24rpx;
  680. border-radius: 20rpx;
  681. .tit{font-size: 32rpx;font-weight: bold;color: #272727;line-height: 48rpx;margin-bottom:16rpx;}
  682. .txt{font-size: 24rpx;color: #666666;line-height: 36rpx;margin-bottom: 32rpx;}
  683. .stabox{
  684. .time{font-weight: 500;font-size: 24rpx;color: #AAAAAA;line-height: 36rpx;}
  685. .btns{font-weight: 500;font-size: 22rpx;color: #666666;line-height: 36rpx;min-width: 100rpx;box-sizing: border-box;margin-left: 20rpx;
  686. .imga{width: 24rpx;height: 22rpx;margin-right: 8rpx;}
  687. .imgb{width: 24rpx;height: 18rpx;margin-right: 10rpx;}
  688. }
  689. }
  690. }
  691. // 视频
  692. .videolists{
  693. background: #FFFFFF;margin-bottom: 24rpx;border-radius: 20rpx;
  694. .titbox{padding-top: 16rpx;padding-right: 38rpx;}
  695. .videos{width: 260rpx;height: 180rpx;}
  696. .tit{font-weight: bold;font-size: 14px;color: #272727;text-align: left;margin-bottom: 10rpx;}
  697. .num{font-weight: 500;font-size: 20rpx;color: #666666;min-width: 68rpx;padding: 0 8rpx;box-sizing: border-box;
  698. height: 28rpx;background: #E6E6E6;border-radius: 14rpx;line-height: 28rpx;text-align: center;}
  699. .time{font-weight: 500;font-size: 24rpx;color: #AAAAAA;margin-top: 44rpx;}
  700. }
  701. // 名单
  702. .readlist{background: #FFFFFF;border-radius: 20rpx;border: 2rpx solid #E6E6E6;margin-bottom: 24rpx;padding: 24rpx;display: flex;align-items: center;box-sizing: border-box;
  703. .head{width: 96rpx;height: 96rpx;margin-right: 28rpx;flex: 0 0 auto;}
  704. .tit{font-weight: bold;font-size: 30rpx;color: #272727;margin-bottom: 12rpx;}
  705. .time{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;
  706. text{margin-right: 12rpx;display: inline-block;}
  707. }
  708. }
  709. .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;}
  710. //投诉建议
  711. .bxlists{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;position: relative;
  712. .bxtop{padding: 30rpx 24rpx;position: relative;
  713. .swiper{width: 100%;height: 280rpx;border-radius: 20rpx;box-sizing: border-box;margin-bottom: 28rpx;overflow: hidden;
  714. image{width: 100%;height: 100%;}
  715. }
  716. .toptit{font-weight: bold;font-size: 28rpx;color: #161616;}
  717. .walist{display: flex;font-weight: 500;font-size: 26rpx;color: #666666;margin-bottom: 16rpx;
  718. .tit{min-width: 100rpx;text-align-last: justify}
  719. }
  720. .btns{display: flex;flex-wrap: wrap;justify-content: flex-end;flex: 1 0 auto;}
  721. .btn{min-width: 120rpx;height: 54rpx;border-radius: 26rpx;font-weight: 500;font-size: 26rpx;text-align: center;line-height: 54rpx;padding: 0 10rpx;box-sizing: border-box; margin-bottom: 14rpx;margin-left: 12rpx;
  722. &.btna{border: 2rpx solid #FF6969;background: #FFF8F8;color: #FF6969;}
  723. &.btnb{background: #0256FD;color: #FFFFFF;}
  724. &.btnc{border: 2rpx solid #0156FE;background: #DFEAFF;color: #0156FE;}
  725. &.btnd{border: 2rpx solid #C1C1C1;background: #F1F1F1;color: #C1C1C1;}
  726. }
  727. }
  728. .bxsteps{border-top: 2rpx solid #E6E6E6;padding: 30rpx 0;
  729. .chtop{padding-right: 48rpx;
  730. .line{width: 14rpx;height: 48rpx;background: #0256FD;border-radius:0 12rpx 12rpx 0;margin-right: 18rpx;}
  731. view{font-weight: bold;font-size: 28rpx;color: #272727;}
  732. .upimg{width: 22rpx;height: 14rpx;flex: 0 0 auto;margin-left: 12rpx;transform: rotate(180deg);transition: all 0.3s;}
  733. }
  734. .fjlists {display: flex;align-items: flex-start;justify-content: space-between;margin-bottom: 20rpx;
  735. &:last-child{margin-bottom: 0;}
  736. .imgl{width: 40rpx;height: 40rpx;display: flex;align-items: center;flex: 0 0 auto;
  737. image{width: 26rpx;height: 24rpx;}
  738. }
  739. .tit{font-size: 26rpx;color: #222327;font-weight: 500;margin-top: 4rpx;word-break: break-all;}
  740. }
  741. .hfstep{padding: 0 32rpx 30rpx 36rpx;margin-top: 24rpx;
  742. .hfslist{padding-bottom: 20rpx;position: relative;
  743. &:first-child{
  744. .hfstit{color: #0156FE;}
  745. }
  746. &::before{content: '';position: absolute;left: 14rpx;top:14rpx;height: 100%;width: 2rpx;background: #E6E6E6;}
  747. .limg{width: 30rpx;height: 30rpx;margin-right: 22rpx;flex: 0 0 auto;margin-top:3rpx;
  748. .imga{width: 30rpx;height: 30rpx;}
  749. .imgb{width: 18rpx;height: 18rpx;}
  750. }
  751. .hfstit{font-weight: bold;font-size: 30rpx;color: #666666;line-height: 36rpx;margin-bottom: 20rpx;
  752. text{font-size: 26rpx;margin-left: 12rpx;}
  753. }
  754. .hfstxt{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;margin-bottom: 20rpx;}
  755. .hfimgs{padding-top: 2rpx;
  756. image{width: 84rpx;height: 84rpx;border-radius: 20rpx;margin-right: 40rpx;margin-bottom: 10rpx;}
  757. }
  758. }
  759. }
  760. }
  761. }
  762. .bxlists /deep/ .uni-swiper-dots-horizontal{left: 26rpx;transform: translate(0);}
  763. .bxlists /deep/ .uni-swiper-dot{width: 10rpx;height: 10rpx;}
  764. .bxlists /deep/ .uni-swiper-dot-active{width: 24rpx;height: 10rpx;}
  765. // 无数据
  766. .nodata{display: flex;flex-direction: column;align-items: center;
  767. image{width: 440rpx;height: 440rpx;}
  768. view{font-size: 30rpx;color: #666666;font-weight: bold;}
  769. }
  770. </style>