list.vue 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053
  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)" :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. <view class="num">{{ite.duration}}</view>
  415. <!-- 管理员 -->
  416. <view class="f12 cofe fw5" v-if="checkPermi(['wuYe:manual:getRead'])" @click.stop="getReadlist(ite.manualId)">已读名单</view>
  417. <!-- 员工 -->
  418. <view class="f12 co27 fw5" v-else>进度:{{ite.progress||0}}%</view>
  419. </view>
  420. <view class="time">{{ite.publishTime}}</view>
  421. </view>
  422. </view>
  423. <view class="spdel" v-if="ite.right>0&&checkPermi(['wuYe:manual:remove'])" @click.stop="getDelFn(ite.manualId)">删除</view>
  424. </view>
  425. </block>
  426. <!-- 阅读名单 -->
  427. <block v-if="type=='readlist'" >
  428. <view class="readlist" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail">
  429. <image class="head" :src="man" v-if="ite.sex==1"></image>
  430. <image class="head" :src="woman" v-else></image>
  431. <view class="flex1">
  432. <view class="tit">{{ite.name}}</view>
  433. <view class="time"><text>阅读时间 |</text> {{ite.time}}</view>
  434. </view>
  435. </view>
  436. </block>
  437. <block v-if="type=='readcount'" >
  438. <view class="readlist" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail">
  439. <image class="head" :src="head" ></image>
  440. <!-- <image class="head" :src="man" v-if="ite.sex==1"></image>
  441. <image class="head" :src="woman" v-else></image> -->
  442. <view class="flex1">
  443. <view class="tit">{{ite.staffName}}</view>
  444. <view class="time"><text>阅读总时长 |</text> {{kaTime(ite.staffTime)}}</view>
  445. </view>
  446. </view>
  447. </block>
  448. <view class="shax">{{wtdt}}</view>
  449. </block>
  450. <!-- 无数据 -->
  451. <view class="nodata" v-else>
  452. <image :src="noiconpimg"></image>
  453. <view>
  454. 暂无数据
  455. </view>
  456. </view>
  457. </view>
  458. </template>
  459. <script>
  460. import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
  461. import config from '@/config'
  462. export default{
  463. props:{
  464. datainfo: {
  465. type: Array,
  466. default () {
  467. return []
  468. }
  469. },
  470. wtdt:{
  471. type:String,
  472. default () {
  473. return ''
  474. }
  475. },
  476. type:{
  477. type:String,
  478. default () {
  479. return 0
  480. }
  481. },
  482. topval:{
  483. type:String,
  484. default () {
  485. return ''
  486. }
  487. }
  488. },
  489. data(){
  490. return{
  491. noiconpimg:require("@/static/nodata.png"),
  492. car:require("@/car/static/car/car.png"),
  493. cara:require("@/car/static/car/cara.png"),
  494. carb:require("@/car/static/car/carb.png"),
  495. hicoa:require("@/people/static/people/hicoa.png"),
  496. hicob:require("@/people/static/people/hicob.png"),
  497. man:require("@/people/static/people/man.png"),
  498. woman:require("@/people/static/people/woman.png"),
  499. rimg:require("@/people/static/people/rimg.png"),
  500. pdel:require("@/people/static/people/pdel.png"),
  501. gzlx:require("@/people/static/people/gzlx.png"),
  502. mphone:require("@/people/static/people/mphone.png"),
  503. time:require("@/work/static/manage/time.png"),
  504. house:require("@/work/static/manage/house.png"),
  505. housea:require("@/work/static/manage/housea.png"),
  506. home:require("@/service/static/service/home.png"),
  507. upimg:require("@/static/images/home/up.png"),
  508. star:require('@/manage/static/news/starb.png'),
  509. stara:require('@/manage/static/news/stara.png'),
  510. eye:require('@/manage/static/community/eye.png'),
  511. nicona:require('@/manage/static/news/nicona.png'),
  512. niconb:require('@/manage/static/news/niconb.png'),
  513. niconc:require('@/manage/static/news/niconc.png'),
  514. nicond:require('@/manage/static/news/nicond.png'),
  515. nicone:require('@/manage/static/news/nicone.png'),
  516. head:require('@/manage/static/news/head.png'),
  517. del:require('@/manage/static/news/delb.png'),
  518. baseUrl:config.baseUrl,
  519. delBtnWidth:66,//左滑默认宽度
  520. OwOlist: [
  521. //表情包和表情路径
  522. { title: "微笑", url: "weixiao.gif" },
  523. { title: "嘻嘻", url: "xixi.gif" },
  524. { title: "哈哈", url: "haha.gif" },
  525. { title: "可爱", url: "keai.gif" },
  526. { title: "可怜", url: "kelian.gif" },
  527. { title: "挖鼻", url: "wabi.gif" },
  528. { title: "吃惊", url: "chijing.gif" },
  529. { title: "害羞", url: "haixiu.gif" },
  530. { title: "挤眼", url: "jiyan.gif" },
  531. { title: "闭嘴", url: "bizui.gif" },
  532. { title: "鄙视", url: "bishi.gif" },
  533. { title: "爱你", url: "aini.gif" },
  534. { title: "泪", url: "lei.gif" },
  535. { title: "偷笑", url: "touxiao.gif" },
  536. { title: "亲亲", url: "qinqin.gif" },
  537. { title: "生病", url: "shengbing.gif" },
  538. { title: "太开心", url: "taikaixin.gif" },
  539. { title: "白眼", url: "baiyan.gif" },
  540. { title: "右哼哼", url: "youhengheng.gif" },
  541. { title: "左哼哼", url: "zuohengheng.gif" },
  542. { title: "嘘", url: "xu.gif" },
  543. { title: "衰", url: "shuai.gif" },
  544. { title: "吐", url: "tu.gif" },
  545. { title: "哈欠", url: "haqian.gif" },
  546. { title: "抱抱", url: "baobao.gif" },
  547. { title: "怒", url: "nu.gif" },
  548. { title: "疑问", url: "yiwen.gif" },
  549. { title: "馋嘴", url: "chanzui.gif" },
  550. { title: "拜拜", url: "baibai.gif" },
  551. { title: "思考", url: "sikao.gif" },
  552. { title: "汗", url: "han.gif" },
  553. { title: "困", url: "kun.gif" },
  554. { title: "睡", url: "shui.gif" },
  555. { title: "钱", url: "qian.gif" },
  556. { title: "失望", url: "shiwang.gif" },
  557. { title: "酷", url: "ku.gif" },
  558. { title: "色", url: "se.gif" },
  559. { title: "哼", url: "heng.gif" },
  560. { title: "鼓掌", url: "guzhang.gif" },
  561. { title: "晕", url: "yun.gif" },
  562. { title: "悲伤", url: "beishang.gif" },
  563. { title: "抓狂", url: "zhuakuang.gif" },
  564. { title: "黑线", url: "heixian.gif" },
  565. { title: "阴险", url: "yinxian.gif" },
  566. { title: "怒骂", url: "numa.gif" },
  567. { title: "互粉", url: "hufen.gif" },
  568. { title: "书呆子", url: "shudaizi.gif" },
  569. { title: "愤怒", url: "fennu.gif" },
  570. { title: "感冒", url: "ganmao.gif" },
  571. { title: "心", url: "xin.gif" },
  572. { title: "伤心", url: "shangxin.gif" },
  573. { title: "猪", url: "zhu.gif" },
  574. { title: "熊猫", url: "xiongmao.gif" },
  575. { title: "兔子", url: "tuzi.gif" },
  576. { title: "喔克", url: "ok.gif" },
  577. { title: "耶", url: "ye.gif" },
  578. { title: "棒棒", url: "good.gif" },
  579. { title: "不", url: "no.gif" },
  580. { title: "赞", url: "zan.gif" },
  581. { title: "来", url: "lai.gif" },
  582. { title: "弱", url: "ruo.gif" },
  583. { title: "草泥马", url: "caonima.gif" },
  584. { title: "神马", url: "shenma.gif" },
  585. { title: "囧", url: "jiong.gif" },
  586. { title: "浮云", url: "fuyun.gif" },
  587. { title: "给力", url: "geili.gif" },
  588. { title: "围观", url: "weiguan.gif" },
  589. { title: "威武", url: "weiwu.gif" },
  590. { title: "话筒", url: "huatong.gif" },
  591. { title: "蜡烛", url: "lazhu.gif" },
  592. { title: "蛋糕", url: "dangao.gif" },
  593. { title: "发红包", url: "fahongbao.gif" },
  594. ],
  595. }
  596. },
  597. mounted() {
  598. },
  599. methods:{
  600. checkPermi, checkRole,
  601. getDetail(e){
  602. this.$emit('getDetail',e)
  603. },
  604. // 格式时间
  605. formatTimeDiff(targetStr) {
  606. const targetDate = new Date(targetStr);
  607. const now = new Date();
  608. const diffInSeconds = Math.floor((now - targetDate) / 1000);
  609. if (diffInSeconds < 60) {
  610. return "刚刚";
  611. } else if (diffInSeconds < 3600) {
  612. const minutes = Math.floor(diffInSeconds / 60);
  613. return `${minutes}分钟前`;
  614. } else if (diffInSeconds < 86400) {
  615. const hours = Math.floor(diffInSeconds / 3600);
  616. return `${hours}小时前`;
  617. } else {
  618. return targetDate.toISOString().slice(0, 16).replace("T", " ");
  619. }
  620. },
  621. getPut(e){
  622. this.$emit('getPut',e)
  623. },
  624. getAddFn(e){
  625. this.$emit('getAddFn',e)
  626. },
  627. getReadlist(e){
  628. this.$emit('getReadlist',e)
  629. },
  630. getTime(idx){
  631. console.log(idx)
  632. },
  633. kaTime(minutes){
  634. // 分钟转换成小时
  635. const hours = Math.floor(minutes / 60);
  636. const mins = minutes % 60;
  637. const formattedMins = mins < 10 ? `0${mins}` : mins;
  638. return `${hours}小时${formattedMins}分钟`;
  639. // console.log(a)
  640. },
  641. getPause(e){
  642. var idx=e.currentTarget.dataset.idx;
  643. var id=e.currentTarget.dataset.id;
  644. var pro=e.currentTarget.dataset.progress||0;
  645. var putflag=e.currentTarget.dataset.putflag;
  646. var info=JSON.parse(JSON.stringify(this.datainfo[idx]))
  647. if(putflag){
  648. info.progress=pro;
  649. this.$emit('getPause',info)
  650. this.datainfo[idx].putflag=false;
  651. }
  652. },
  653. handlePlay(idx){
  654. var list=JSON.parse(JSON.stringify(this.datainfo))
  655. list.forEach((ref,index) => {
  656. if (idx != index) {
  657. this.$refs[`video${index}`][0].pause();
  658. }
  659. });
  660. },
  661. onTimeUpdate(e){
  662. var idx=e.currentTarget.dataset.idx;
  663. var pro=e.currentTarget.dataset.progress||0;
  664. var currentTime=e.detail.currentTime;//当前
  665. var duration=e.detail.duration;//总的
  666. var progress=((currentTime / duration) * 100).toFixed(2);
  667. if(Number(pro)<Number(progress)){
  668. this.datainfo[idx].progress=progress;
  669. this.datainfo[idx].putflag=true;
  670. }
  671. },
  672. onLoadedmetadata(e){
  673. var idx=e.currentTarget.dataset.idx;
  674. var val=e.detail.duration;
  675. var time=this.convertSecondsToHMS(e.detail.duration);
  676. var pro=e.currentTarget.dataset.progress||0;
  677. this.datainfo[idx].duration=this.convertSecondsToHMS(e.detail.duration);
  678. // this.datainfo[idx].initialtime=Math.floor((pro/100)*val);
  679. var s=Math.floor((pro/100)*val)
  680. this.$refs[`video${idx}`][0].seek(s);
  681. },
  682. convertSecondsToHMS(seconds) {
  683. const h = Math.floor(seconds / 3600);
  684. const min = Math.floor((seconds % 3600) / 60);
  685. const s = Math.floor(seconds % 60);
  686. var timeStr = (h < 10 ? ('0' + h) : h) + ':' + (min < 10 ? ('0' + min) : min) + ':' + (s < 10 ? (
  687. '0' + s) : s);
  688. // return `${hours}小时 ${minutes}分钟 ${remainingSeconds}秒`;
  689. return timeStr;
  690. },
  691. getZhan(idx){
  692. // var obj=JSON.parse(JSON.stringify(this.datainfo))[idx]
  693. // obj.zhanflag=!obj.zhanflag;
  694. // this.datainfo.splice(idx,1,obj);
  695. this.datainfo[idx].zhanflag=!this.datainfo[idx].zhanflag
  696. },
  697. analyzeEmoji(cont){
  698. //编译表情替换成图片展示出来
  699. var pattern1 = /\[[\u4e00-\u9fa5]+\]/g;
  700. var pattern2 = /\[[\u4e00-\u9fa5]+\]/;
  701. var content = cont.match(pattern1);
  702. var str = cont;
  703. if (content) {
  704. for (var i = 0; i < content.length; i++) {
  705. for (var j = 0; j < this.OwOlist.length; j++) {
  706. if ("[" + this.OwOlist[j].title + "]" == content[i]) {
  707. var src = this.OwOlist[j].url;
  708. break;
  709. }
  710. }
  711. var s = require("./img/face/" + src);
  712. var imoj = "<img src='" + s + "'/>";
  713. str = str.replace(pattern2, imoj);
  714. }
  715. }
  716. return str;
  717. },
  718. getZhanFn(ite,idx){
  719. var obj={
  720. ite:ite,
  721. idx:idx
  722. }
  723. this.$emit("getZhanFn",obj)
  724. },
  725. getDzFn(id,type,content,idx,aidx,atype){
  726. var obj={
  727. id:id,
  728. type:type,
  729. content:content,
  730. idx:idx,
  731. aidx:aidx,
  732. atype:atype
  733. }
  734. this.$emit("getDzFn",obj)
  735. },
  736. getScFn(ite,idx){
  737. var obj={
  738. ite:ite,
  739. idx:idx
  740. }
  741. this.$emit("getScFn",obj)
  742. },
  743. getHfFn(type,ite,id){
  744. var cuser=JSON.parse(JSON.stringify(ite.commentUser))
  745. var obj={
  746. parentId:id,
  747. toUserId:cuser.id,
  748. toNickName:cuser.nickName,
  749. toAvatar:cuser.avatar,
  750. type:type||""
  751. }
  752. this.$emit("getHfFn",obj)
  753. },
  754. getShouFn(idx){
  755. this.$emit("getShouFn",idx)
  756. },
  757. getPreview(idx,arr) {
  758. var newArr=[];
  759. arr.forEach(ite=>{
  760. var ds=this.baseUrl+ite
  761. newArr.push(ds)
  762. })
  763. uni.previewImage({
  764. urls: newArr,
  765. current:idx,
  766. success: function(data) {},
  767. fail: function(err) {}
  768. });
  769. },
  770. getDelFn(id){
  771. var that=this;
  772. uni.showModal({
  773. title: '确认删除',
  774. content: "是否确认删除",
  775. cancelText: '取消',
  776. confirmText: '确认',
  777. success: function(res) {
  778. if (res.confirm) {
  779. that.$emit('getDelFn',id)
  780. } else if (res.cancel) {
  781. }
  782. }
  783. });
  784. },
  785. //开始触摸滑动
  786. drawStart(e) {
  787. // console.log("开始触发");
  788. var touch = e.touches[0];
  789. this.startX = touch.clientX;
  790. },
  791. //触摸滑动
  792. drawMove(e) {
  793. // console.log("滑动");
  794. for (var index in this.datainfo) {
  795. // this.csListArrl[index].right=0
  796. this.$set(this.datainfo[index],'right',0);
  797. }
  798. var idx=e.currentTarget.dataset.idx
  799. var touch = e.touches[0];
  800. var item = this.datainfo[idx];
  801. var disX = this.startX - touch.clientX;
  802. if (disX >= 20) {
  803. if (disX > this.delBtnWidth) {
  804. disX = this.delBtnWidth;
  805. }
  806. // this.csListArrl[idx].right=disX
  807. this.$set(this.datainfo[idx],'right',disX);
  808. } else {
  809. // this.csListArrl[idx].right=0
  810. this.$set(this.datainfo[idx],'right',0);
  811. }
  812. },
  813. //触摸滑动结束
  814. drawEnd(e) {
  815. // console.log("滑动结束");
  816. var idx=e.currentTarget.dataset.idx
  817. var item = this.datainfo[idx];
  818. if (item.right >= this.delBtnWidth / 2) {
  819. // this.datainfo[idx].right=this.delBtnWidth
  820. this.$set(this.datainfo[idx],'right',this.delBtnWidth);
  821. } else {
  822. this.datainfo[idx].right=0
  823. }
  824. },
  825. }
  826. }
  827. </script>
  828. <style lang="scss" scoped>
  829. .flex{display: flex;}
  830. .flexc{display: flex;align-items: center;}
  831. .mb10{margin-bottom: 20rpx;}
  832. .carlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;
  833. .ctop{border-bottom: 2rpx solid #E5E5E5;padding:26rpx 24rpx;
  834. .imgs{width: 40rpx;height: 42rpx;margin-right: 30rpx;}
  835. .tit{font-size: 32rpx;color: #272727;font-weight: bold;margin-right: 14rpx;}
  836. .txt{font-weight: 500;font-size: 26rpx;
  837. &.ca{color: #3565ED;}
  838. &.cb{color: #FE5A0E;}
  839. &.cc{color: #28C529;}
  840. }
  841. .txta{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
  842. .num{font-size: 24rpx;color: #AAAAAA;}
  843. }
  844. .btn{height: 34rpx;border-radius: 18rpx;display: flex;align-items: center;justify-content: center;padding: 0 10rpx;font-size: 22rpx;margin-right: 24rpx;
  845. &.btna{border: 2rpx solid #06C770;color: #06C770;}
  846. &.btnb{border: 2rpx solid #3565ED;color: #3565ED;}
  847. &.btnc{border: 2rpx solid #FE5A0E;color: #FE5A0E;}
  848. &.btnbga{border: 1px solid #0156FE;color: #3565ED;background: #DFEAFF;height: 36rpx;}
  849. &.btnbgb{border: 1px solid #C1C1C1;color: #666666;background: #F1F1F1;height: 36rpx;}
  850. &.btnbgc{border: 1px solid #FE5A0E;color:#FE5A0E;background:#FFEEE6;height: 36rpx;}
  851. }
  852. .clists{padding: 24rpx 24rpx 8rpx;
  853. .clist{font-weight: 500;margin-bottom: 16rpx;
  854. font-size: 26rpx;color: #272727;display: flex;line-height: 34rpx;
  855. .tit{font-size: 26rpx;color: #AAAAAA;flex: 0 0 auto;margin-right: 16rpx;min-width: 108rpx;text-align-last: justify;}
  856. .imgas{display: flex;align-items: center;flex-wrap: wrap;
  857. image{width: 142rpx;height: 142rpx;margin-right: 30rpx;margin-top: 8rpx;}
  858. }
  859. }
  860. .w50{
  861. .clist{width: 50%;}
  862. }
  863. }
  864. }
  865. // 人员
  866. .peolist{
  867. .ctop{padding: 24rpx 24rpx 22rpx;}
  868. .imgs{margin-right: 16rpx !important;}
  869. .tit{font-size: 28rpx !important;}
  870. .plists{padding: 30rpx 24rpx 6rpx;
  871. .plist{background: linear-gradient(-90deg, #F2F5FF 0%, #FBFDFF 100%);border-radius: 20rpx;border: 2rpx solid #E6E6E6;margin-bottom: 24rpx;padding: 18rpx 26rpx 4rpx;
  872. .head{width: 96rpx;height: 98rpx;margin-right: 32rpx;flex: 0 0 auto;}
  873. .ptit{font-weight: bold;font-size: 30rpx;color: #272727;display: flex;align-items: center;margin-bottom: 14rpx;}
  874. .ptxt{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;margin-bottom: 14rpx;min-width: 176rpx;}
  875. }
  876. }
  877. .upimg{width: 26rpx;height: 22rpx;display: block;transform: rotate(180deg);transition: all 0.3s;margin: 0 auto 18rpx;
  878. &.act{transform: rotate(0deg);}
  879. }
  880. }
  881. // 物业费
  882. .mlistl{width: 40%;display: flex;flex-direction: column;align-items: center;flex: 0 0 auto;
  883. .mltit{font-weight: 500;font-size: 26rpx;color: #666666;margin-bottom: 18rpx;}
  884. .mltxt{font-weight: bold;font-size: 32rpx;color: #0156FE;}
  885. }
  886. .houselist{
  887. .clists{padding-bottom: 2rpx !important;}
  888. .clist{margin-bottom: 22rpx !important;}
  889. }
  890. // 巡更地点
  891. .patlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;padding: 0 24rpx 30rpx;
  892. .pattop{padding:22rpx 30rpx;margin-bottom: 2rpx;
  893. .imgs{width: 28rpx;height: 28rpx;margin-right: 12rpx;}
  894. .tit{font-size: 30rpx;color: #272727;font-weight: bold;margin-right: 14rpx;}
  895. .txt{font-weight: 500;font-size:24rpx;
  896. &.ca{color: #3565ED;}
  897. &.cb{color: #FE5A0E;}
  898. &.cc{color: #28C529;}
  899. &.cd{color: #FF6969;}
  900. }
  901. }
  902. .patlistr{background: #EFF4FF;border-radius: 20rpx;padding: 20rpx 32rpx;
  903. .clist{font-weight: 500;font-size: 26rpx;color: #272727;display: flex;line-height: 50rpx;
  904. .tit{font-size: 26rpx;flex: 0 0 auto;min-width: 108rpx;text-align-last: justify;font-weight: bold;}
  905. }
  906. }
  907. .patbtns{display: flex;justify-content: flex-end;align-items: center;flex-wrap: wrap;
  908. 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;
  909. &.btna{border: 2rpx solid #0256FD;color: #0256FD;}
  910. &.btnb{background: #0256FD;color: #ffffff;}
  911. }
  912. }
  913. }
  914. // 报修
  915. .walists{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx; position: relative;
  916. .watop{
  917. padding: 0 36rpx 8rpx 38rpx;
  918. .watit{padding: 24rpx 0;margin-bottom: 4rpx;display: flex;
  919. .tit{font-weight: bold;font-size: 28rpx;color: #272727;flex: 1;
  920. .cir{width: 14rpx;margin-left: 8rpx;margin-bottom: 10rpx;height: 14rpx;display: inline-block;background: #FF6969;border-radius: 8rpx;}
  921. }
  922. .txt{font-weight: bold;font-size: 26rpx;flex: 0 0 auto;
  923. }
  924. }
  925. }
  926. .walist{display: flex;font-weight: 500;font-size: 24rpx;color: #666666;margin-bottom: 16rpx;
  927. .tit{min-width: 100rpx;text-align-last: justify}
  928. }
  929. .wabtn{display: flex;align-items: center;justify-content: space-between;border-top: 2rpx solid #E5E5E5;height: 80rpx;padding: 0 38rpx;
  930. view{font-weight: 500;font-size: 24rpx;color: #666666;}
  931. image{width: 16rpx;height: 28rpx;}
  932. }
  933. }
  934. // 维修人员
  935. .stafflist{width: 344rpx;min-height: 256rpx;background: #FFFFFF;border-radius: 20rpx;margin:0 12rpx 24rpx 12rpx;padding-bottom: 20rpx;box-sizing: border-box;
  936. // &:nth-of-type(2n){margin-right: 0;}
  937. .statop{border-bottom: 2rpx solid #E5E5E5;display: flex;padding: 24rpx 24rpx 22rpx;
  938. .head{width: 80rpx;height: 82rpx;margin-right: 24rpx;flex: 0 0 auto;}
  939. .stadel{width: 30rpx;height: 30rpx;flex: 0 0 auto;margin-left: 12rpx;}
  940. .statit{font-weight: bold;font-size: 30rpx;color: #272727;margin-bottom: 4rpx;}
  941. .statxt{font-weight: 500;font-size: 26rpx;
  942. .cir{width: 10rpx;height: 10rpx;border-radius: 50%;margin-right: 14rpx;display: inline-block;
  943. &.bga{background: #06C770;}
  944. &.bgb{background: #FF6969;}
  945. }
  946. }
  947. }
  948. .stalist{font-weight: 500;font-size: 26rpx;color: #272727;display: flex;align-items: center;padding: 20rpx 24rpx 0;
  949. .imgs{width: 24rpx;height: 30rpx;margin-right: 22rpx;flex: 0 0 auto;display: flex;align-items: center;justify-content: center;
  950. .gzlximg{width: 24rpx;height: 28rpx;}
  951. .mphone{width: 18rpx;height: 30rpx;}
  952. }
  953. }
  954. }
  955. // padding-bottom: 30rpx !important;
  956. .watopcom{background-color: #ffffff;border-radius: 20rpx;position: relative;z-index: 1;
  957. .watopcoma{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;margin-bottom: 24rpx;}
  958. .watopcomb{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
  959. }
  960. //资讯
  961. .newlists{
  962. background: #FFFFFF;margin-bottom: 24rpx;
  963. border-radius: 20rpx;
  964. .watopcom{
  965. padding: 22rpx 24rpx;
  966. }
  967. .tit{font-size: 32rpx;font-weight: bold;color: #272727;line-height: 48rpx;margin-bottom:16rpx;}
  968. .txt{font-size: 24rpx;color: #666666;line-height: 36rpx;margin-bottom: 32rpx;}
  969. .stabox{
  970. .time{font-weight: 500;font-size: 24rpx;color: #AAAAAA;line-height: 36rpx;}
  971. .btns{font-weight: 500;font-size: 22rpx;color: #666666;line-height: 36rpx;min-width: 100rpx;box-sizing: border-box;margin-left: 20rpx;
  972. .imga{width: 24rpx;height: 22rpx;margin-right: 8rpx;}
  973. .imgb{width: 24rpx;height: 18rpx;margin-right: 10rpx;}
  974. }
  975. }
  976. }
  977. //评论
  978. .pllist{margin-bottom: 40rpx;
  979. &:last-child{margin-bottom: 0;}
  980. .head{width: 40rpx;height: 40rpx;margin-right: 18rpx;flex: 0 0 auto;border-radius: 50%;}
  981. .plname{font-size: 30rpx;color: #161616;font-weight: bold;
  982. }
  983. .plrbtn{margin-left: 36rpx;
  984. image{width: 26rpx;height: 24rpx;margin-right: 16rpx;
  985. &.imga{width: 26rpx;height: 26rpx;}
  986. &.imgb{width: 26rpx;height: 22rpx;}
  987. &.imgd{width: 26rpx;height: 24rpx;margin-right: 10rpx;}
  988. &.imge{width: 26rpx;height: 26rpx;transform: rotate(180deg);}
  989. }
  990. view{font-weight: bold;font-size: 24rpx;color: #314081;}
  991. }
  992. // margin-bottom: 30rpx;
  993. .infotxt{font-weight: 500;font-size: 26rpx;color: #161616;line-height: 40rpx;
  994. &:before {content: "";float: right;width: 0;height: calc(100% - 16px);background: red;}
  995. .inforeply{min-width: 86rpx;height: 42rpx;background: #F8F8F8;border-radius: 20rpx; margin-right: 22rpx;font-weight: 500;
  996. font-size: 24rpx;text-align: center;padding: 0 8rpx;box-sizing: border-box;line-height: 42rpx;display: inline-block;
  997. color: #161616;}
  998. .infotime{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
  999. // .infotime{font-weight: 500;font-size: 24rpx;color: #666666; float: right;clear: both;}
  1000. image{width: 44rpx;height: 44rpx;}
  1001. }
  1002. .pllista{background: #F8F8F8;padding:12rpx 24rpx;border-radius: 10rpx;margin-top: 40rpx;
  1003. .plnamea{font-size: 26rpx;color: #161616;line-height: 40rpx;
  1004. .namea{font-weight: bold;max-width: 160rpx;}
  1005. .plrep{color: #AAAAAA;margin: 0 10rpx;}
  1006. }
  1007. }
  1008. .zhanbox{font-weight: 500;font-size: 24rpx;color: #AAAAAA;padding-bottom: 16rpx;margin-top: 16rpx;
  1009. image{width: 20rpx;height: 12rpx;margin-left: 18rpx;transition: all 0.3s;
  1010. &.zhan{transform: rotate(-180deg);}
  1011. }
  1012. }
  1013. }
  1014. // 视频
  1015. .videolists{
  1016. background: #FFFFFF;margin-bottom: 24rpx;border-radius: 20rpx;
  1017. .titbox{padding-top: 16rpx;padding-right: 38rpx;}
  1018. .videos{width: 260rpx;height: 180rpx;}
  1019. .tit{font-weight: bold;font-size: 14px;color: #272727;text-align: left;margin-bottom: 10rpx;}
  1020. .num{font-weight: 500;font-size: 20rpx;color: #666666;min-width: 68rpx;padding: 0 8rpx;box-sizing: border-box;
  1021. height: 28rpx;background: #E6E6E6;border-radius: 14rpx;line-height: 28rpx;text-align: center;}
  1022. .time{font-weight: 500;font-size: 24rpx;color: #AAAAAA;margin-top: 44rpx;}
  1023. }
  1024. // 名单
  1025. .readlist{background: #FFFFFF;border-radius: 20rpx;border: 2rpx solid #E6E6E6;margin-bottom: 24rpx;padding: 24rpx;display: flex;align-items: center;box-sizing: border-box;
  1026. .head{width: 96rpx;height: 96rpx;margin-right: 28rpx;flex: 0 0 auto;}
  1027. .tit{font-weight: bold;font-size: 30rpx;color: #272727;margin-bottom: 12rpx;}
  1028. .time{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;
  1029. text{margin-right: 12rpx;display: inline-block;}
  1030. }
  1031. }
  1032. .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;}
  1033. // 无数据
  1034. .nodata{display: flex;flex-direction: column;align-items: center;
  1035. image{width: 440rpx;height: 440rpx;}
  1036. view{font-size: 30rpx;color: #666666;font-weight: bold;}
  1037. }
  1038. </style>