list.vue 42 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066
  1. <template>
  2. <view>
  3. <!-- 第一种样式 人员管理-->
  4. <block v-if="datainfo.length>0">
  5. <!-- 车辆管控 -->
  6. <block v-if="type=='car'">
  7. <view class="carlist" v-for="(ite,idx) in datainfo" :key="idx">
  8. <view class="ctop flexc">
  9. <image :src="cara" class="imgs" v-if="ite.type==1"></image>
  10. <image :src="carb" class="imgs" v-if="ite.type==2"></image>
  11. <view class="tit">皖A IC520</view>
  12. <view class="btn btna">新能源</view>
  13. <view class="btn btnb">小型车</view>
  14. <view class="flex1"></view>
  15. <view class="txt ca" v-if="ite.type==1">小区车辆</view>
  16. <view class="txt cb" v-if="ite.type==2">外来车辆</view>
  17. </view>
  18. <view class="clists">
  19. <view class="clist"><view class="tit">车库名称</view>地下停车场</view>
  20. <view class="clist"><view class="tit">进入时间</view>2024-11-27 16:27:48</view>
  21. <block v-if="topval=='sl'">
  22. <view class="clist"><view class="tit">驶离时间</view>2024-11-27 16:27:48</view>
  23. <view class="clist"><view class="tit">停车时长</view>3小时19分钟</view>
  24. </block>
  25. <view class="clist"><view class="tit">{{ite.type==1?'门户号 ':'来访门户'}}</view>8#303</view>
  26. <view class="clist"><view class="tit">手机号码</view>13656788668</view>
  27. </view>
  28. </view>
  29. </block>
  30. <!-- 车辆违规 -->
  31. <block v-if="type=='carpark'">
  32. <view class="carlist" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail">
  33. <view class="ctop flexc">
  34. <image :src="cara" class="imgs" v-if="ite.type==1"></image>
  35. <image :src="carb" class="imgs" v-if="ite.type==2"></image>
  36. <view class="tit">皖A IC520</view>
  37. <view class="num" :class="ite.heiflag?'coff':''">(本年度2次)</view>
  38. <view class="flex1"></view>
  39. <view class="txt ca" v-if="ite.type==1">小区车辆</view>
  40. <view class="txt cb" v-if="ite.type==2">外来车辆</view>
  41. </view>
  42. <view class="clists">
  43. <view class="clist"><view class="tit">关联房号</view>12#1403</view>
  44. <view class="clist"><view class="tit">手机号码</view>13656788668</view>
  45. <view class="clist"><view class="tit">登记时间</view>2024-11-27 17:30:55</view>
  46. <view class="clist"><view class="tit">违停拍照</view>
  47. <view class="imgas">
  48. <image :src="cara" @click="getPreview(idx,cara)"></image>
  49. <image :src="cara"></image>
  50. <image :src="cara"></image>
  51. <image :src="cara"></image>
  52. </view>
  53. </view>
  54. </view>
  55. </view>
  56. </block>
  57. <!-- 人员管理 -->
  58. <block v-if="type=='people'">
  59. <view class="carlist peolist" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail">
  60. <view class="ctop flexc">
  61. <image :src="hicoa" class="imgs" v-if="ite.type==1"></image>
  62. <image :src="hicob" class="imgs" v-if="ite.type==2"></image>
  63. <view class="tit">一号楼3单元1101</view>
  64. <view class="flex1"></view>
  65. <view class="txt ca" v-if="ite.type==1">业主</view>
  66. <view class="txt cb" v-if="ite.type==2">租户</view>
  67. </view>
  68. <view class="plists">
  69. <view class="plist flexc">
  70. <image :src="man" class="head" v-if="ite.sex==1"></image>
  71. <image :src="woman" class="head" v-else></image>
  72. <view class="flex1">
  73. <view class="ptit">张伟<view class="btn btnc ml10" v-if="ite.hzflag">户主</view></view>
  74. <view class="ptxt">身份证号 | 41072719880603022X</view>
  75. <view class="flexc">
  76. <view class="ptxt">性别 | {{ite.sex==1?'男':'女'}}</view>
  77. <view class="ptxt">年龄 | 36岁</view>
  78. </view>
  79. </view>
  80. </view>
  81. <view class="plist flexc" v-if="ite.zhanflag">
  82. <image :src="man" class="head" v-if="ite.sex==1"></image>
  83. <image :src="woman" class="head" v-else></image>
  84. <view class="flex1">
  85. <view class="ptit">张伟<view class="btn btnc ml10" v-if="ite.hzflag">户主</view></view>
  86. <view class="ptxt">身份证号 | 41072719880603022X</view>
  87. <view class="flexc">
  88. <view class="ptxt">性别 | {{ite.sex==1?'男':'女'}}</view>
  89. <view class="ptxt">年龄 | 36岁</view>
  90. </view>
  91. </view>
  92. </view>
  93. <image :src="upimg" :class="ite.zhanflag?'act':''" class="upimg" @click="getZhan(idx)"></image>
  94. </view>
  95. </view>
  96. </block>
  97. <!-- 维修人员管理 -->
  98. <view v-if="type=='staff'" class="flexcw">
  99. <view class="stafflist" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail">
  100. <view class="statop">
  101. <image class="head" :src="man" v-if="ite.sex==1"></image>
  102. <image class="head" :src="woman" v-else></image>
  103. <view class="flex1">
  104. <view class="statit">张伟</view>
  105. <view class="statxt flexc co06" v-if="ite.hzflag"><text class="cir bga"></text>空闲中</view>
  106. <view class="statxt flexc cof6" v-else><text class="cir bgb"></text>指派中</view>
  107. </view>
  108. <image :src="pdel" class="stadel"></image>
  109. </view>
  110. <view class="stalist">
  111. <view class="imgs"><image :src="gzlx" class="gzlximg"></image></view>电梯维修
  112. </view>
  113. <view class="stalist">
  114. <view class="imgs"><image :src="mphone" class="mphone"></image></view>158****0088
  115. </view>
  116. </view>
  117. </view>
  118. <!-- 来访管理 -->
  119. <block v-if="type=='comepeo'">
  120. <view class="carlist peolist" v-for="(ite,idx) in datainfo" :key="idx">
  121. <view class="ctop flexc">
  122. <image :src="hicoa" class="imgs"></image>
  123. <!-- <image :src="hicob" class="imgs" v-if="ite.type==2"></image> -->
  124. <view class="tit">幸福小区12#301</view>
  125. <view class="btn btnbga">预约</view>
  126. <view class="btn btnbgb">已来访</view>
  127. <view class="btn btnbgc">待来访</view>
  128. <view class="flex1"></view>
  129. <view class="txt cc" v-if="ite.type==1">驾车</view>
  130. </view>
  131. <view class="clists">
  132. <view class="clist"><view class="tit">预约时间</view>2024-11-25 10:00:00</view>
  133. <view class="clist"><view class="tit">来访时间</view>2024-11-27 16:27:48</view>
  134. <view class="w50 flexc">
  135. <view class="clist"><view class="tit">访客姓名</view>刘女士</view>
  136. <view class="clist"><view class="tit">来访人数</view>1人</view>
  137. </view>
  138. <view class="w50 flexc">
  139. <view class="clist"><view class="tit">来访事由</view>亲友</view>
  140. <view class="clist"><view class="tit">车牌号码</view>皖A 86KY2</view>
  141. </view>
  142. <view class="clist"><view class="tit">手机号码</view>13656788668</view>
  143. </view>
  144. </view>
  145. </block>
  146. <!-- 房屋管理 -->
  147. <block v-if="type=='comehouse'">
  148. <view class="carlist houselist" v-for="(ite,idx) in datainfo" :key="idx">
  149. <view class="ctop flexc">
  150. <image :src="house" class="imgs" v-if="ite.type==1"></image>
  151. <image :src="housea" class="imgs" v-if="ite.type==2"></image>
  152. <view class="tit">幸福小区12#1101室</view>
  153. <!-- view class="btn btnbga">预约</view>
  154. <view class="btn btnbgb">已来访</view>
  155. <view class="btn btnbgc">待来访</view> -->
  156. <view class="flex1"></view>
  157. <view class="txt ca" v-if="ite.type==1">业主</view>
  158. <view class="txt cb" v-if="ite.type==2">租户</view>
  159. </view>
  160. <view class="clists">
  161. <view class="w50 flexc">
  162. <view class="clist"><view class="tit">房屋所属</view>袁玥</view>
  163. <view class="clist"><view class="tit">建筑面积</view>121.3m²</view>
  164. </view>
  165. <view class="w50 flexc">
  166. <view class="clist"><view class="tit">房型</view>3室1厅</view>
  167. <view class="clist"><view class="tit">居住人口</view>3口人</view>
  168. </view>
  169. <view class="w50 flexc">
  170. <view class="clist"><view class="tit">有无车位 </view>有</view>
  171. </view>
  172. <!-- <view class="clist"><view class="tit">手机号码</view>13656788668</view> -->
  173. </view>
  174. </view>
  175. </block>
  176. <!-- 物业费管理 -->
  177. <block v-if="type=='money'">
  178. <view class="carlist peolist" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail">
  179. <view class="ctop flexc" style="padding: 26rpx 24rpx 24rpx;">
  180. <image :src="hicoa" class="imgs"></image>
  181. <view class="tit">幸福小区12#301</view>
  182. <view class="flex1"></view>
  183. <view class="txta">2024/01 -2024/12</view>
  184. </view>
  185. <view class="clists flexc">
  186. <view class="mlistl">
  187. <view class="mltit">应缴总额 /元</view>
  188. <view class="mltxt">4307.20</view>
  189. </view>
  190. <view class="mlistr">
  191. <view class="clist"><view class="tit">物业费用:</view>3247.20元</view>
  192. <view class="clist"><view class="tit">车位费用:</view>960.00元</view>
  193. <view class="clist"><view class="tit">能耗费用:</view>100.00元</view>
  194. </view>
  195. </view>
  196. </view>
  197. </block>
  198. <!-- 历史账单 -->
  199. <block v-if="type=='moneybill'">
  200. <view class="carlist peolist" v-for="(ite,idx) in datainfo" :key="idx">
  201. <view class="ctop flexc" style="padding: 26rpx 24rpx 24rpx;">
  202. <image :src="time" class="imgs"></image>
  203. <view class="tit">2024/01 -2024/12</view>
  204. <view class="btn btnbgb" v-if="ite.type==1">已缴费</view>
  205. <view class="btn btnbgc" v-else>未缴费</view>
  206. <view class="flex1"></view>
  207. <view class="txta">1号楼3单元1102</view>
  208. </view>
  209. <view class="clists flexc">
  210. <view class="mlistl">
  211. <view class="mltit">应缴总额 /元</view>
  212. <view class="mltxt">4307.20</view>
  213. </view>
  214. <view class="mlistr">
  215. <view class="clist"><view class="tit">物业费用:</view>3247.20元</view>
  216. <view class="clist"><view class="tit">车位费用:</view>960.00元</view>
  217. <view class="clist"><view class="tit">能耗费用:</view>100.00元</view>
  218. </view>
  219. </view>
  220. </view>
  221. </block>
  222. <!-- 巡更地点patrol -->
  223. <block v-if="type=='patrol'">
  224. <view class="patlist" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail">
  225. <view class="pattop flexc">
  226. <image :src="home" class="imgs"></image>
  227. <view class="tit">幸福小区1栋2单元电梯间</view>
  228. <view class="flex1"></view>
  229. <view class="txt cd" v-if="ite.type==1">未巡更</view>
  230. <view class="txt cc" v-if="ite.type==2">已巡更</view>
  231. </view>
  232. <view class="patlistr">
  233. <view class="clist"><view class="tit">巡检类型</view>:设备维修</view>
  234. <view class="clist"><view class="tit">巡检时间</view>:2024-11-27 10:00</view>
  235. <view class="clist"><view class="tit">巡检人</view>:刘兵琦</view>
  236. </view>
  237. <view class="patbtns">
  238. <view class="btna" @click.stop="getDetail">查看</view>
  239. <view class="btnb" @click.stop="getAddFn">去巡更</view>
  240. </view>
  241. </view>
  242. </block>
  243. <!-- 报修管理 -->
  244. <block v-if="type=='warranty'">
  245. <view class="walists" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail">
  246. <view class="watop ">
  247. <view class="watit">
  248. <view class="tit">一号楼3单元12楼楼梯间灯不亮</view>
  249. <view class="txt co01" v-if="ite.type==1">待分派</view>
  250. <view class="txt coa" v-if="ite.type==3">已完成</view>
  251. <view class="txt co28" v-if="ite.type==2">处理中</view>
  252. </view>
  253. <view class="walist"><view class="tit">小区名称</view>:幸福小区</view>
  254. <view class="walist"><view class="tit">报修门户</view>:3号楼1单元406</view>
  255. <view class="walist"><view class="tit">报修时间</view>:2024-11-14 17:16:31</view>
  256. <view class="walist" v-if="ite.type==3"><view class="tit" >完成时间</view>:2024-11-14 18:16:31</view>
  257. </view>
  258. <view class="wabtn">
  259. <view>查看详情</view>
  260. <image :src="rimg"></image>
  261. </view>
  262. </view>
  263. </block>
  264. <!-- 党建资讯 -->
  265. <block v-if="type=='newsdj'">
  266. <view class="newlists pr" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail(ite.partyId)"
  267. :data-idx="idx"
  268. @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+ite.right+'px'"
  269. >
  270. <view class="watopcom">
  271. <view class="tit">{{ite.partyTitle}}</view>
  272. <view class="txt overtwo">
  273. <rich-text :nodes="ite.partyContent"></rich-text>
  274. <!-- {{ite.partyContent}} -->
  275. </view>
  276. <view class="stabox flexc">
  277. <view class="time flex1">{{ite.publishTime}}</view>
  278. <view class="btns flexc" @click.stop="getScFn(ite,idx)">
  279. <image :src="star" class="imga" v-if="ite.isStars=='Y'"></image>
  280. <image :src="stara" class="imga" v-else></image>{{ite.starsCount||0}}
  281. </view>
  282. <view class="btns flexc">
  283. <image :src="eye" class="imgb"></image>{{ite.viewCount}}
  284. </view>
  285. </view>
  286. </view>
  287. <view class="spdel" v-if="ite.right>0&&checkPermi(['wuYe:partyNews:remove'])" @click.stop="getDelFn(ite.partyId)">删除</view>
  288. </view>
  289. <!-- checkPermi(['system:menuFood:remove'])&& -->
  290. </block>
  291. <!-- 社区资讯 -->
  292. <block v-if="type=='newssq'">
  293. <view class="walists" v-for="(ite,idx) in datainfo" :key="idx" @click="getPut(ite.communityId)"
  294. :data-idx="idx"
  295. @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+ite.right+'px'"
  296. >
  297. <view class="watopcom">
  298. <view class="watop ">
  299. <view class="watit">
  300. <view class="tit">{{ite.communityTitle}}<text class="cir" v-if="ite.isInteraction=='Y'"></text></view>
  301. </view>
  302. <view class="watopcoma overtwo">
  303. <rich-text :nodes="ite.communityContent"></rich-text>
  304. </view>
  305. <view class="watopcomb">{{ite.publishTime}}</view>
  306. </view>
  307. <view class="wabtn" @click.stop="getDetail(ite.communityId)">
  308. <view>查看详情</view>
  309. <image :src="rimg"></image>
  310. </view>
  311. </view>
  312. <view class="spdel" v-if="ite.right>0&&checkPermi(['wuYe:news:remove'])" @click.stop="getDelFn(ite.communityId)">删除</view>
  313. </view>
  314. </block>
  315. <!-- 评论信息 -->
  316. <block v-if="type=='comment'">
  317. <view class="pllist flex" v-for="(ite,idx) in datainfo" :key="`yj${idx}`">
  318. <image :src="ite.commentUser.avatar&&ite.commentUser.avatar.indexOf('/static/img/profile')==-1?baseUrl+ite.commentUser.avatar:head" class="head"></image>
  319. <view class="flex1 overh">
  320. <view class="flexat mb9 ">
  321. <view class="plname flex1 over">{{ite.commentUser.nickName}}</view>
  322. <view class="plrbtn flexc flex0" @click="getDzFn(ite.id,'2',ite.content,idx)">
  323. <image :src="nicond" v-if="ite.isLike=='Y'"></image>
  324. <image :src="niconb" class="imga" v-else></image>{{ite.likeCount}}
  325. </view>
  326. <!-- <view class="plrbtn flexc flex0" @touchend.prevent="getHfFn('yjhf',ite,ite.id)">
  327. <image :src="niconf" class="imgd"></image>
  328. <image :src="niconb" class="imge"></image>2
  329. </view> -->
  330. <view class="plrbtn flexc flex0" @click="getDelFn(ite.id)" v-if="checkPermi(['wuYe:commentIndex:remove'])&&ite.isMyself=='Y'">
  331. <image :src="del" class="imgc"></image>
  332. <view class="cof4">删除</view>
  333. </view>
  334. </view>
  335. <view class="infotxt">
  336. <rich-text v-if="ite.content" :nodes="analyzeEmoji(ite.content)"></rich-text>
  337. <view class="flexc mt10">
  338. <view class="inforeply" @touchend.prevent="getHfFn('yjhf',ite,ite.id)">回复</view>
  339. <view class="infotime">{{formatTimeDiff(ite.createTime)}}</view></view>
  340. </view>
  341. <!-- 新二级回复 -->
  342. <view class="pllista" v-if="ite.childrenList&&ite.childrenList.length">
  343. <view class="flexat ptb3" v-for="(aite,aidx) in ite.childrenList" :key="`ej${aidx}`">
  344. <view class="plnamea flexcw flex1" @touchend.prevent="getHfFn('ejhf',aite,ite.id)">
  345. <view class="over namea">{{aite.commentUser.nickName}}</view>
  346. <block v-if="aite.toRoot=='Y'">
  347. <view class="plrep">回复</view>
  348. <view class="over namea">{{aite.targetUser.nickName}}</view>
  349. </block>:
  350. <rich-text v-if="aite.content" :nodes="analyzeEmoji(aite.content)"></rich-text>
  351. </view>
  352. <view class="plrbtn flexc flex0" @click="getDelFn(aite.id)" v-if="checkPermi(['wuYe:commentIndex:remove'])&&aite.isMyself=='Y'">
  353. <image :src="del" class="imgc"></image>
  354. <view class="cof4">删除</view>
  355. </view>
  356. </view>
  357. </view>
  358. <view class="flexc" v-if="ite.childrenListCount>0">
  359. <view class="zhanbox flexc" v-if="ite.reachflag" @click.stop="getZhanFn(ite,idx)">
  360. <block v-if="ite.childrenList&&ite.childrenList.length">展开更多</block>
  361. <block v-else>展开{{ite.childrenListCount}}条回复</block>
  362. <image :src="upimg" class="zhan"></image>
  363. </view>
  364. <view v-if="ite.childrenList&&ite.childrenList.length" class="zhanbox flexc ml10" @click.stop="getShouFn(idx)">收起<image :src="upimg"></view>
  365. </view>
  366. </view>
  367. </view>
  368. </block>
  369. <!-- 员工图文 -->
  370. <block v-if="type=='ystv'">
  371. <view class="walists" v-for="(ite,idx) in datainfo" :key="idx" @click="getPut(ite.manualId)"
  372. :data-idx="idx"
  373. @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+ite.right+'px'"
  374. >
  375. <view class="watopcom">
  376. <view class="watop " style="padding-bottom: 22rpx !important;">
  377. <view class="watit">
  378. <view class="tit">{{ite.manualTitle}}</view>
  379. </view>
  380. <view class="watopcoma overtwo">
  381. <rich-text :nodes="ite.manualContent"></rich-text>
  382. </view>
  383. <view class="flexcj">
  384. <view class="watopcomb">{{ite.publishTime}}</view>
  385. <!-- 管理员 -->
  386. <view class="f12 cofe fw5" @click.stop="getReadlist(ite.manualId)" v-if="checkPermi(['wuYe:manual:getRead'])">已读名单</view>
  387. <!-- 员工 -->
  388. <view class="f12 co27 fw5" v-else>进度:{{ite.progress||0}}%</view>
  389. </view>
  390. </view>
  391. <view class="wabtn" @click.stop="getDetail(ite.manualId)">
  392. <view>查看详情</view>
  393. <image :src="rimg"></image>
  394. </view>
  395. </view>
  396. <view class="spdel" v-if="ite.right>0&&checkPermi(['wuYe:news:remove'])" @click.stop="getDelFn(ite.manualId)">删除</view>
  397. </view>
  398. </block>
  399. <!-- 员工视频 -->
  400. <block v-if="type=='ygsp'">
  401. <view class="videolists flex pr" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail(ite.manualId)"
  402. :data-idx="idx"
  403. @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+ite.right+'px'"
  404. >
  405. <view class="watopcom flex flex1">
  406. <view class="flex0 mr12" @click.stop="getTime(idx)">
  407. <video class="videos" :ref="`video${idx}`" :src="baseUrl+ite.videoUrl" @pause="getPause" @timeupdate='onTimeUpdate' @loadedmetadata="onLoadedmetadata" @play="handlePlay(idx)" @ended="getended" :data-id="ite.manualId"
  408. :data-idx="idx" :data-progress="ite.progress" :data-putflag="ite.putflag" :data-time="ite.initialtime"
  409. @error="videoErrorCallback" controls></video>
  410. </view>
  411. <view class="flex1 over titbox">
  412. <view class="tit over">{{ite.manualTitle}}</view>
  413. <view class="flexcj">
  414. <!-- #ifndef APP-PLUS -->
  415. <view class="num">{{ite.duration}}</view>
  416. <!-- #endif -->
  417. <!-- 管理员 -->
  418. <view class="f12 cofe fw5" v-if="checkPermi(['wuYe:manual:getRead'])" @click.stop="getReadlist(ite.manualId)">已读名单</view>
  419. <!-- 员工 -->
  420. <view class="f12 co27 fw5" v-else>进度:{{ite.progress||0}}%</view>
  421. </view>
  422. <view class="time">{{ite.publishTime}}</view>
  423. </view>
  424. </view>
  425. <view class="spdel" v-if="ite.right>0&&checkPermi(['wuYe:manual:remove'])" @click.stop="getDelFn(ite.manualId)">删除</view>
  426. </view>
  427. </block>
  428. <!-- 阅读名单 -->
  429. <block v-if="type=='readlist'" >
  430. <view class="readlist" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail">
  431. <image class="head" :src="man" v-if="ite.sex==1"></image>
  432. <image class="head" :src="woman" v-else></image>
  433. <view class="flex1">
  434. <view class="tit">{{ite.name}}</view>
  435. <view class="time"><text>阅读时间 |</text> {{ite.time}}</view>
  436. </view>
  437. </view>
  438. </block>
  439. <block v-if="type=='readcount'" >
  440. <view class="readlist" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail">
  441. <image class="head" :src="head" ></image>
  442. <!-- <image class="head" :src="man" v-if="ite.sex==1"></image>
  443. <image class="head" :src="woman" v-else></image> -->
  444. <view class="flex1">
  445. <view class="tit">{{ite.staffName}}</view>
  446. <view class="time"><text>阅读总时长 |</text> {{kaTime(ite.staffTime)}}</view>
  447. </view>
  448. </view>
  449. </block>
  450. <view class="shax">{{wtdt}}</view>
  451. </block>
  452. <!-- 无数据 -->
  453. <view class="nodata" v-else>
  454. <image :src="noiconpimg"></image>
  455. <view>
  456. 暂无数据
  457. </view>
  458. </view>
  459. </view>
  460. </template>
  461. <script>
  462. import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
  463. import config from '@/config'
  464. export default{
  465. props:{
  466. datainfo: {
  467. type: Array,
  468. default () {
  469. return []
  470. }
  471. },
  472. wtdt:{
  473. type:String,
  474. default () {
  475. return ''
  476. }
  477. },
  478. type:{
  479. type:String,
  480. default () {
  481. return 0
  482. }
  483. },
  484. topval:{
  485. type:String,
  486. default () {
  487. return ''
  488. }
  489. }
  490. },
  491. data(){
  492. return{
  493. noiconpimg:require("@/static/nodata.png"),
  494. car:require("@/car/static/car/car.png"),
  495. cara:require("@/car/static/car/cara.png"),
  496. carb:require("@/car/static/car/carb.png"),
  497. hicoa:require("@/people/static/people/hicoa.png"),
  498. hicob:require("@/people/static/people/hicob.png"),
  499. man:require("@/people/static/people/man.png"),
  500. woman:require("@/people/static/people/woman.png"),
  501. rimg:require("@/people/static/people/rimg.png"),
  502. pdel:require("@/people/static/people/pdel.png"),
  503. gzlx:require("@/people/static/people/gzlx.png"),
  504. mphone:require("@/people/static/people/mphone.png"),
  505. time:require("@/work/static/manage/time.png"),
  506. house:require("@/work/static/manage/house.png"),
  507. housea:require("@/work/static/manage/housea.png"),
  508. home:require("@/service/static/service/home.png"),
  509. upimg:require("@/static/images/home/up.png"),
  510. star:require('@/manage/static/news/starb.png'),
  511. stara:require('@/manage/static/news/stara.png'),
  512. eye:require('@/manage/static/community/eye.png'),
  513. nicona:require('@/manage/static/news/nicona.png'),
  514. niconb:require('@/manage/static/news/niconb.png'),
  515. niconc:require('@/manage/static/news/niconc.png'),
  516. nicond:require('@/manage/static/news/nicond.png'),
  517. nicone:require('@/manage/static/news/nicone.png'),
  518. head:require('@/manage/static/news/head.png'),
  519. del:require('@/manage/static/news/delb.png'),
  520. baseUrl:config.baseUrl,
  521. delBtnWidth:66,//左滑默认宽度
  522. OwOlist: [
  523. //表情包和表情路径
  524. { title: "微笑", url: "weixiao.gif" },
  525. { title: "嘻嘻", url: "xixi.gif" },
  526. { title: "哈哈", url: "haha.gif" },
  527. { title: "可爱", url: "keai.gif" },
  528. { title: "可怜", url: "kelian.gif" },
  529. { title: "挖鼻", url: "wabi.gif" },
  530. { title: "吃惊", url: "chijing.gif" },
  531. { title: "害羞", url: "haixiu.gif" },
  532. { title: "挤眼", url: "jiyan.gif" },
  533. { title: "闭嘴", url: "bizui.gif" },
  534. { title: "鄙视", url: "bishi.gif" },
  535. { title: "爱你", url: "aini.gif" },
  536. { title: "泪", url: "lei.gif" },
  537. { title: "偷笑", url: "touxiao.gif" },
  538. { title: "亲亲", url: "qinqin.gif" },
  539. { title: "生病", url: "shengbing.gif" },
  540. { title: "太开心", url: "taikaixin.gif" },
  541. { title: "白眼", url: "baiyan.gif" },
  542. { title: "右哼哼", url: "youhengheng.gif" },
  543. { title: "左哼哼", url: "zuohengheng.gif" },
  544. { title: "嘘", url: "xu.gif" },
  545. { title: "衰", url: "shuai.gif" },
  546. { title: "吐", url: "tu.gif" },
  547. { title: "哈欠", url: "haqian.gif" },
  548. { title: "抱抱", url: "baobao.gif" },
  549. { title: "怒", url: "nu.gif" },
  550. { title: "疑问", url: "yiwen.gif" },
  551. { title: "馋嘴", url: "chanzui.gif" },
  552. { title: "拜拜", url: "baibai.gif" },
  553. { title: "思考", url: "sikao.gif" },
  554. { title: "汗", url: "han.gif" },
  555. { title: "困", url: "kun.gif" },
  556. { title: "睡", url: "shui.gif" },
  557. { title: "钱", url: "qian.gif" },
  558. { title: "失望", url: "shiwang.gif" },
  559. { title: "酷", url: "ku.gif" },
  560. { title: "色", url: "se.gif" },
  561. { title: "哼", url: "heng.gif" },
  562. { title: "鼓掌", url: "guzhang.gif" },
  563. { title: "晕", url: "yun.gif" },
  564. { title: "悲伤", url: "beishang.gif" },
  565. { title: "抓狂", url: "zhuakuang.gif" },
  566. { title: "黑线", url: "heixian.gif" },
  567. { title: "阴险", url: "yinxian.gif" },
  568. { title: "怒骂", url: "numa.gif" },
  569. { title: "互粉", url: "hufen.gif" },
  570. { title: "书呆子", url: "shudaizi.gif" },
  571. { title: "愤怒", url: "fennu.gif" },
  572. { title: "感冒", url: "ganmao.gif" },
  573. { title: "心", url: "xin.gif" },
  574. { title: "伤心", url: "shangxin.gif" },
  575. { title: "猪", url: "zhu.gif" },
  576. { title: "熊猫", url: "xiongmao.gif" },
  577. { title: "兔子", url: "tuzi.gif" },
  578. { title: "喔克", url: "ok.gif" },
  579. { title: "耶", url: "ye.gif" },
  580. { title: "棒棒", url: "good.gif" },
  581. { title: "不", url: "no.gif" },
  582. { title: "赞", url: "zan.gif" },
  583. { title: "来", url: "lai.gif" },
  584. { title: "弱", url: "ruo.gif" },
  585. { title: "草泥马", url: "caonima.gif" },
  586. { title: "神马", url: "shenma.gif" },
  587. { title: "囧", url: "jiong.gif" },
  588. { title: "浮云", url: "fuyun.gif" },
  589. { title: "给力", url: "geili.gif" },
  590. { title: "围观", url: "weiguan.gif" },
  591. { title: "威武", url: "weiwu.gif" },
  592. { title: "话筒", url: "huatong.gif" },
  593. { title: "蜡烛", url: "lazhu.gif" },
  594. { title: "蛋糕", url: "dangao.gif" },
  595. { title: "发红包", url: "fahongbao.gif" },
  596. ],
  597. }
  598. },
  599. mounted() {
  600. },
  601. methods:{
  602. checkPermi, checkRole,
  603. getDetail(e){
  604. this.$emit('getDetail',e)
  605. },
  606. // 格式时间
  607. formatTimeDiff(targetStr) {
  608. const targetDate = new Date(targetStr);
  609. const now = new Date();
  610. const diffInSeconds = Math.floor((now - targetDate) / 1000);
  611. if (diffInSeconds < 60) {
  612. return "刚刚";
  613. } else if (diffInSeconds < 3600) {
  614. const minutes = Math.floor(diffInSeconds / 60);
  615. return `${minutes}分钟前`;
  616. } else if (diffInSeconds < 86400) {
  617. const hours = Math.floor(diffInSeconds / 3600);
  618. return `${hours}小时前`;
  619. } else {
  620. return targetDate.toISOString().slice(0, 16).replace("T", " ");
  621. }
  622. },
  623. getPut(e){
  624. this.$emit('getPut',e)
  625. },
  626. getAddFn(e){
  627. this.$emit('getAddFn',e)
  628. },
  629. getReadlist(e){
  630. this.$emit('getReadlist',e)
  631. },
  632. getTime(idx){
  633. console.log(idx)
  634. },
  635. kaTime(minutes){
  636. // 分钟转换成小时
  637. const hours = Math.floor(minutes / 60);
  638. const mins = minutes % 60;
  639. const formattedMins = mins < 10 ? `0${mins}` : mins;
  640. return `${hours}小时${formattedMins}分钟`;
  641. // console.log(a)
  642. },
  643. getended(e){
  644. var idx=e.currentTarget.dataset.idx;
  645. var info=JSON.parse(JSON.stringify(this.datainfo[idx]))
  646. info.progress=100.00;
  647. this.datainfo[idx].progress=100.00;
  648. this.$emit('getPause',info)
  649. this.datainfo[idx].putflag=false;
  650. },
  651. getPause(e){
  652. var idx=e.currentTarget.dataset.idx;
  653. var id=e.currentTarget.dataset.id;
  654. var pro=e.currentTarget.dataset.progress||0;
  655. var putflag=e.currentTarget.dataset.putflag;
  656. var info=JSON.parse(JSON.stringify(this.datainfo[idx]))
  657. if(putflag){
  658. info.progress=pro;
  659. this.$emit('getPause',info)
  660. this.datainfo[idx].putflag=false;
  661. }
  662. },
  663. handlePlay(idx){
  664. var list=JSON.parse(JSON.stringify(this.datainfo))
  665. list.forEach((ref,index) => {
  666. if (idx != index) {
  667. this.$refs[`video${index}`][0].pause();
  668. }
  669. });
  670. },
  671. onTimeUpdate(e){
  672. var idx=e.currentTarget.dataset.idx;
  673. var pro=e.currentTarget.dataset.progress||0;
  674. var currentTime=e.detail.currentTime;//当前
  675. var duration=e.detail.duration;//总的
  676. var progress=((currentTime / duration) * 100).toFixed(2);
  677. if(Number(pro)<Number(progress)){
  678. this.datainfo[idx].progress=progress;
  679. this.datainfo[idx].putflag=true;
  680. }
  681. },
  682. videoErrorCallback(e){
  683. },
  684. onLoadedmetadata(e){
  685. var idx=e.currentTarget.dataset.idx;
  686. var val=e.detail.duration;
  687. var time=this.convertSecondsToHMS(e.detail.duration);
  688. var pro=e.currentTarget.dataset.progress||0;
  689. this.datainfo[idx].duration=this.convertSecondsToHMS(e.detail.duration);
  690. // this.datainfo[idx].initialtime=Math.floor((pro/100)*val);
  691. var s=Math.floor((pro/100)*val)
  692. this.$refs[`video${idx}`][0].seek(s);
  693. },
  694. convertSecondsToHMS(seconds) {
  695. const h = Math.floor(seconds / 3600);
  696. const min = Math.floor((seconds % 3600) / 60);
  697. const s = Math.floor(seconds % 60);
  698. var timeStr = (h < 10 ? ('0' + h) : h) + ':' + (min < 10 ? ('0' + min) : min) + ':' + (s < 10 ? (
  699. '0' + s) : s);
  700. // return `${hours}小时 ${minutes}分钟 ${remainingSeconds}秒`;
  701. return timeStr;
  702. },
  703. getZhan(idx){
  704. // var obj=JSON.parse(JSON.stringify(this.datainfo))[idx]
  705. // obj.zhanflag=!obj.zhanflag;
  706. // this.datainfo.splice(idx,1,obj);
  707. this.datainfo[idx].zhanflag=!this.datainfo[idx].zhanflag
  708. },
  709. analyzeEmoji(cont){
  710. //编译表情替换成图片展示出来
  711. var pattern1 = /\[[\u4e00-\u9fa5]+\]/g;
  712. var pattern2 = /\[[\u4e00-\u9fa5]+\]/;
  713. var content = cont.match(pattern1);
  714. var str = cont;
  715. if (content) {
  716. for (var i = 0; i < content.length; i++) {
  717. for (var j = 0; j < this.OwOlist.length; j++) {
  718. if ("[" + this.OwOlist[j].title + "]" == content[i]) {
  719. var src = this.OwOlist[j].url;
  720. break;
  721. }
  722. }
  723. var s = require("./img/face/" + src);
  724. var imoj = "<img src='" + s + "'/>";
  725. str = str.replace(pattern2, imoj);
  726. }
  727. }
  728. return str;
  729. },
  730. getZhanFn(ite,idx){
  731. var obj={
  732. ite:ite,
  733. idx:idx
  734. }
  735. this.$emit("getZhanFn",obj)
  736. },
  737. getDzFn(id,type,content,idx,aidx,atype){
  738. var obj={
  739. id:id,
  740. type:type,
  741. content:content,
  742. idx:idx,
  743. aidx:aidx,
  744. atype:atype
  745. }
  746. this.$emit("getDzFn",obj)
  747. },
  748. getScFn(ite,idx){
  749. var obj={
  750. ite:ite,
  751. idx:idx
  752. }
  753. this.$emit("getScFn",obj)
  754. },
  755. getHfFn(type,ite,id){
  756. var cuser=JSON.parse(JSON.stringify(ite.commentUser))
  757. var obj={
  758. parentId:id,
  759. toUserId:cuser.id,
  760. toNickName:cuser.nickName,
  761. toAvatar:cuser.avatar,
  762. type:type||""
  763. }
  764. this.$emit("getHfFn",obj)
  765. },
  766. getShouFn(idx){
  767. this.$emit("getShouFn",idx)
  768. },
  769. getPreview(idx,arr) {
  770. var newArr=[];
  771. arr.forEach(ite=>{
  772. var ds=this.baseUrl+ite
  773. newArr.push(ds)
  774. })
  775. uni.previewImage({
  776. urls: newArr,
  777. current:idx,
  778. success: function(data) {},
  779. fail: function(err) {}
  780. });
  781. },
  782. getDelFn(id){
  783. var that=this;
  784. uni.showModal({
  785. title: '确认删除',
  786. content: "是否确认删除",
  787. cancelText: '取消',
  788. confirmText: '确认',
  789. success: function(res) {
  790. if (res.confirm) {
  791. that.$emit('getDelFn',id)
  792. } else if (res.cancel) {
  793. }
  794. }
  795. });
  796. },
  797. //开始触摸滑动
  798. drawStart(e) {
  799. // console.log("开始触发");
  800. var touch = e.touches[0];
  801. this.startX = touch.clientX;
  802. },
  803. //触摸滑动
  804. drawMove(e) {
  805. // console.log("滑动");
  806. for (var index in this.datainfo) {
  807. // this.csListArrl[index].right=0
  808. this.$set(this.datainfo[index],'right',0);
  809. }
  810. var idx=e.currentTarget.dataset.idx
  811. var touch = e.touches[0];
  812. var item = this.datainfo[idx];
  813. var disX = this.startX - touch.clientX;
  814. if (disX >= 20) {
  815. if (disX > this.delBtnWidth) {
  816. disX = this.delBtnWidth;
  817. }
  818. // this.csListArrl[idx].right=disX
  819. this.$set(this.datainfo[idx],'right',disX);
  820. } else {
  821. // this.csListArrl[idx].right=0
  822. this.$set(this.datainfo[idx],'right',0);
  823. }
  824. },
  825. //触摸滑动结束
  826. drawEnd(e) {
  827. // console.log("滑动结束");
  828. var idx=e.currentTarget.dataset.idx
  829. var item = this.datainfo[idx];
  830. if (item.right >= this.delBtnWidth / 2) {
  831. // this.datainfo[idx].right=this.delBtnWidth
  832. this.$set(this.datainfo[idx],'right',this.delBtnWidth);
  833. } else {
  834. this.datainfo[idx].right=0
  835. }
  836. },
  837. }
  838. }
  839. </script>
  840. <style lang="scss" scoped>
  841. .flex{display: flex;}
  842. .flexc{display: flex;align-items: center;}
  843. .mb10{margin-bottom: 20rpx;}
  844. .carlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;
  845. .ctop{border-bottom: 2rpx solid #E5E5E5;padding:26rpx 24rpx;
  846. .imgs{width: 40rpx;height: 42rpx;margin-right: 30rpx;}
  847. .tit{font-size: 32rpx;color: #272727;font-weight: bold;margin-right: 14rpx;}
  848. .txt{font-weight: 500;font-size: 26rpx;
  849. &.ca{color: #3565ED;}
  850. &.cb{color: #FE5A0E;}
  851. &.cc{color: #28C529;}
  852. }
  853. .txta{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
  854. .num{font-size: 24rpx;color: #AAAAAA;}
  855. }
  856. .btn{height: 34rpx;border-radius: 18rpx;display: flex;align-items: center;justify-content: center;padding: 0 10rpx;font-size: 22rpx;margin-right: 24rpx;
  857. &.btna{border: 2rpx solid #06C770;color: #06C770;}
  858. &.btnb{border: 2rpx solid #3565ED;color: #3565ED;}
  859. &.btnc{border: 2rpx solid #FE5A0E;color: #FE5A0E;}
  860. &.btnbga{border: 1px solid #0156FE;color: #3565ED;background: #DFEAFF;height: 36rpx;}
  861. &.btnbgb{border: 1px solid #C1C1C1;color: #666666;background: #F1F1F1;height: 36rpx;}
  862. &.btnbgc{border: 1px solid #FE5A0E;color:#FE5A0E;background:#FFEEE6;height: 36rpx;}
  863. }
  864. .clists{padding: 24rpx 24rpx 8rpx;
  865. .clist{font-weight: 500;margin-bottom: 16rpx;
  866. font-size: 26rpx;color: #272727;display: flex;line-height: 34rpx;
  867. .tit{font-size: 26rpx;color: #AAAAAA;flex: 0 0 auto;margin-right: 16rpx;min-width: 108rpx;text-align-last: justify;}
  868. .imgas{display: flex;align-items: center;flex-wrap: wrap;
  869. image{width: 142rpx;height: 142rpx;margin-right: 30rpx;margin-top: 8rpx;}
  870. }
  871. }
  872. .w50{
  873. .clist{width: 50%;}
  874. }
  875. }
  876. }
  877. // 人员
  878. .peolist{
  879. .ctop{padding: 24rpx 24rpx 22rpx;}
  880. .imgs{margin-right: 16rpx !important;}
  881. .tit{font-size: 28rpx !important;}
  882. .plists{padding: 30rpx 24rpx 6rpx;
  883. .plist{background: linear-gradient(-90deg, #F2F5FF 0%, #FBFDFF 100%);border-radius: 20rpx;border: 2rpx solid #E6E6E6;margin-bottom: 24rpx;padding: 18rpx 26rpx 4rpx;
  884. .head{width: 96rpx;height: 98rpx;margin-right: 32rpx;flex: 0 0 auto;}
  885. .ptit{font-weight: bold;font-size: 30rpx;color: #272727;display: flex;align-items: center;margin-bottom: 14rpx;}
  886. .ptxt{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;margin-bottom: 14rpx;min-width: 176rpx;}
  887. }
  888. }
  889. .upimg{width: 26rpx;height: 22rpx;display: block;transform: rotate(180deg);transition: all 0.3s;margin: 0 auto 18rpx;
  890. &.act{transform: rotate(0deg);}
  891. }
  892. }
  893. // 物业费
  894. .mlistl{width: 40%;display: flex;flex-direction: column;align-items: center;flex: 0 0 auto;
  895. .mltit{font-weight: 500;font-size: 26rpx;color: #666666;margin-bottom: 18rpx;}
  896. .mltxt{font-weight: bold;font-size: 32rpx;color: #0156FE;}
  897. }
  898. .houselist{
  899. .clists{padding-bottom: 2rpx !important;}
  900. .clist{margin-bottom: 22rpx !important;}
  901. }
  902. // 巡更地点
  903. .patlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;padding: 0 24rpx 30rpx;
  904. .pattop{padding:22rpx 30rpx;margin-bottom: 2rpx;
  905. .imgs{width: 28rpx;height: 28rpx;margin-right: 12rpx;}
  906. .tit{font-size: 30rpx;color: #272727;font-weight: bold;margin-right: 14rpx;}
  907. .txt{font-weight: 500;font-size:24rpx;
  908. &.ca{color: #3565ED;}
  909. &.cb{color: #FE5A0E;}
  910. &.cc{color: #28C529;}
  911. &.cd{color: #FF6969;}
  912. }
  913. }
  914. .patlistr{background: #EFF4FF;border-radius: 20rpx;padding: 20rpx 32rpx;
  915. .clist{font-weight: 500;font-size: 26rpx;color: #272727;display: flex;line-height: 50rpx;
  916. .tit{font-size: 26rpx;flex: 0 0 auto;min-width: 108rpx;text-align-last: justify;font-weight: bold;}
  917. }
  918. }
  919. .patbtns{display: flex;justify-content: flex-end;align-items: center;flex-wrap: wrap;
  920. 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;
  921. &.btna{border: 2rpx solid #0256FD;color: #0256FD;}
  922. &.btnb{background: #0256FD;color: #ffffff;}
  923. }
  924. }
  925. }
  926. // 报修
  927. .walists{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx; position: relative;
  928. .watop{
  929. padding: 0 36rpx 8rpx 38rpx;
  930. .watit{padding: 24rpx 0;margin-bottom: 4rpx;display: flex;
  931. .tit{font-weight: bold;font-size: 28rpx;color: #272727;flex: 1;
  932. .cir{width: 14rpx;margin-left: 8rpx;margin-bottom: 10rpx;height: 14rpx;display: inline-block;background: #FF6969;border-radius: 8rpx;}
  933. }
  934. .txt{font-weight: bold;font-size: 26rpx;flex: 0 0 auto;
  935. }
  936. }
  937. }
  938. .walist{display: flex;font-weight: 500;font-size: 24rpx;color: #666666;margin-bottom: 16rpx;
  939. .tit{min-width: 100rpx;text-align-last: justify}
  940. }
  941. .wabtn{display: flex;align-items: center;justify-content: space-between;border-top: 2rpx solid #E5E5E5;height: 80rpx;padding: 0 38rpx;
  942. view{font-weight: 500;font-size: 24rpx;color: #666666;}
  943. image{width: 16rpx;height: 28rpx;}
  944. }
  945. }
  946. // 维修人员
  947. .stafflist{width: 344rpx;min-height: 256rpx;background: #FFFFFF;border-radius: 20rpx;margin:0 12rpx 24rpx 12rpx;padding-bottom: 20rpx;box-sizing: border-box;
  948. // &:nth-of-type(2n){margin-right: 0;}
  949. .statop{border-bottom: 2rpx solid #E5E5E5;display: flex;padding: 24rpx 24rpx 22rpx;
  950. .head{width: 80rpx;height: 82rpx;margin-right: 24rpx;flex: 0 0 auto;}
  951. .stadel{width: 30rpx;height: 30rpx;flex: 0 0 auto;margin-left: 12rpx;}
  952. .statit{font-weight: bold;font-size: 30rpx;color: #272727;margin-bottom: 4rpx;}
  953. .statxt{font-weight: 500;font-size: 26rpx;
  954. .cir{width: 10rpx;height: 10rpx;border-radius: 50%;margin-right: 14rpx;display: inline-block;
  955. &.bga{background: #06C770;}
  956. &.bgb{background: #FF6969;}
  957. }
  958. }
  959. }
  960. .stalist{font-weight: 500;font-size: 26rpx;color: #272727;display: flex;align-items: center;padding: 20rpx 24rpx 0;
  961. .imgs{width: 24rpx;height: 30rpx;margin-right: 22rpx;flex: 0 0 auto;display: flex;align-items: center;justify-content: center;
  962. .gzlximg{width: 24rpx;height: 28rpx;}
  963. .mphone{width: 18rpx;height: 30rpx;}
  964. }
  965. }
  966. }
  967. // padding-bottom: 30rpx !important;
  968. .watopcom{background-color: #ffffff;border-radius: 20rpx;position: relative;z-index: 1;
  969. .watopcoma{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;margin-bottom: 24rpx;}
  970. .watopcomb{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
  971. }
  972. //资讯
  973. .newlists{
  974. background: #FFFFFF;margin-bottom: 24rpx;
  975. border-radius: 20rpx;
  976. .watopcom{
  977. padding: 22rpx 24rpx;
  978. }
  979. .tit{font-size: 32rpx;font-weight: bold;color: #272727;line-height: 48rpx;margin-bottom:16rpx;}
  980. .txt{font-size: 24rpx;color: #666666;line-height: 36rpx;margin-bottom: 32rpx;}
  981. .stabox{
  982. .time{font-weight: 500;font-size: 24rpx;color: #AAAAAA;line-height: 36rpx;}
  983. .btns{font-weight: 500;font-size: 22rpx;color: #666666;line-height: 36rpx;min-width: 100rpx;box-sizing: border-box;margin-left: 20rpx;
  984. .imga{width: 24rpx;height: 22rpx;margin-right: 8rpx;}
  985. .imgb{width: 24rpx;height: 18rpx;margin-right: 10rpx;}
  986. }
  987. }
  988. }
  989. //评论
  990. .pllist{margin-bottom: 40rpx;
  991. &:last-child{margin-bottom: 0;}
  992. .head{width: 40rpx;height: 40rpx;margin-right: 18rpx;flex: 0 0 auto;border-radius: 50%;}
  993. .plname{font-size: 30rpx;color: #161616;font-weight: bold;
  994. }
  995. .plrbtn{margin-left: 36rpx;
  996. image{width: 26rpx;height: 24rpx;margin-right: 16rpx;
  997. &.imga{width: 26rpx;height: 26rpx;}
  998. &.imgb{width: 26rpx;height: 22rpx;}
  999. &.imgd{width: 26rpx;height: 24rpx;margin-right: 10rpx;}
  1000. &.imge{width: 26rpx;height: 26rpx;transform: rotate(180deg);}
  1001. }
  1002. view{font-weight: bold;font-size: 24rpx;color: #314081;}
  1003. }
  1004. // margin-bottom: 30rpx;
  1005. .infotxt{font-weight: 500;font-size: 26rpx;color: #161616;line-height: 40rpx;
  1006. &:before {content: "";float: right;width: 0;height: calc(100% - 16px);background: red;}
  1007. .inforeply{min-width: 86rpx;height: 42rpx;background: #F8F8F8;border-radius: 20rpx; margin-right: 22rpx;font-weight: 500;
  1008. font-size: 24rpx;text-align: center;padding: 0 8rpx;box-sizing: border-box;line-height: 42rpx;display: inline-block;
  1009. color: #161616;}
  1010. .infotime{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
  1011. // .infotime{font-weight: 500;font-size: 24rpx;color: #666666; float: right;clear: both;}
  1012. image{width: 44rpx;height: 44rpx;}
  1013. }
  1014. .pllista{background: #F8F8F8;padding:12rpx 24rpx;border-radius: 10rpx;margin-top: 40rpx;
  1015. .plnamea{font-size: 26rpx;color: #161616;line-height: 40rpx;
  1016. .namea{font-weight: bold;max-width: 160rpx;}
  1017. .plrep{color: #AAAAAA;margin: 0 10rpx;}
  1018. }
  1019. }
  1020. .zhanbox{font-weight: 500;font-size: 24rpx;color: #AAAAAA;padding-bottom: 16rpx;margin-top: 16rpx;
  1021. image{width: 20rpx;height: 12rpx;margin-left: 18rpx;transition: all 0.3s;
  1022. &.zhan{transform: rotate(-180deg);}
  1023. }
  1024. }
  1025. }
  1026. // 视频
  1027. .videolists{
  1028. background: #FFFFFF;margin-bottom: 24rpx;border-radius: 20rpx;
  1029. .titbox{padding-top: 16rpx;padding-right: 38rpx;}
  1030. .videos{width: 260rpx;height: 180rpx;}
  1031. .tit{font-weight: bold;font-size: 14px;color: #272727;text-align: left;margin-bottom: 10rpx;}
  1032. .num{font-weight: 500;font-size: 20rpx;color: #666666;min-width: 68rpx;padding: 0 8rpx;box-sizing: border-box;
  1033. height: 28rpx;background: #E6E6E6;border-radius: 14rpx;line-height: 28rpx;text-align: center;}
  1034. .time{font-weight: 500;font-size: 24rpx;color: #AAAAAA;margin-top: 44rpx;}
  1035. }
  1036. // 名单
  1037. .readlist{background: #FFFFFF;border-radius: 20rpx;border: 2rpx solid #E6E6E6;margin-bottom: 24rpx;padding: 24rpx;display: flex;align-items: center;box-sizing: border-box;
  1038. .head{width: 96rpx;height: 96rpx;margin-right: 28rpx;flex: 0 0 auto;}
  1039. .tit{font-weight: bold;font-size: 30rpx;color: #272727;margin-bottom: 12rpx;}
  1040. .time{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;
  1041. text{margin-right: 12rpx;display: inline-block;}
  1042. }
  1043. }
  1044. .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;}
  1045. // 无数据
  1046. .nodata{display: flex;flex-direction: column;align-items: center;
  1047. image{width: 440rpx;height: 440rpx;}
  1048. view{font-size: 30rpx;color: #666666;font-weight: bold;}
  1049. }
  1050. </style>