list.vue 41 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043
  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="flecw">
  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?baseUrl+ite.commentUser.avatar:head" class="head"></image>
  319. <view class="flex1 overh">
  320. <view class="flexat mb14 ">
  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>
  325. <view>点赞</view>
  326. </view>
  327. <view class="plrbtn flexc flex0" @touchend.prevent="getHfFn('yjhf',ite,ite.id)">
  328. <image :src="nicone" class="imgb"></image>
  329. <view>回复</view>
  330. </view>
  331. <view class="plrbtn flexc flex0" @click="getDelFn(ite.id)" v-if="checkPermi(['wuYe:commentIndex:remove'])&&ite.isMyself=='Y'">
  332. <image :src="del" class="imgc"></image>
  333. <view class="cof4">删除</view>
  334. </view>
  335. </view>
  336. <view class="infotxt">
  337. <rich-text v-if="ite.content" :nodes="analyzeEmoji(ite.content)"></rich-text>
  338. <view class="infotime">{{ite.createDate}}</view></view>
  339. <!-- 二级回复 -->
  340. <view class="pllist flex" v-for="(aite,aidx) in ite.childrenList" :key="`ej${aidx}`">
  341. <image :src="aite.commentUser.avatar?baseUrl+aite.commentUser.avatar:head" class="head"></image>
  342. <view class="flex1 overh">
  343. <view class="flexat mb14 ">
  344. <view class="plname flex1 over flexc">
  345. <view class="over">{{aite.commentUser.nickName}}</view>
  346. <block v-if="aite.toRoot=='Y'">
  347. <image :src="rimg" class="rimg"></image>
  348. <view class="over">{{aite.targetUser.nickName}}</view>
  349. </block>
  350. <!-- 判断是不是二级回复的回复 加字段-->
  351. <!-- <block v-if="ite."></block> -->
  352. </view>
  353. <view class="plrbtn flexc flex0" @click="getDzFn(aite.id,'2',aite.content,idx,aidx,'ejdz')">
  354. <image :src="nicond" v-if="aite.isLike=='Y'"></image>
  355. <image :src="niconb" class="imga" v-else></image>
  356. <view>点赞</view>
  357. </view>
  358. <view class="plrbtn flexc flex0" @touchend.prevent="getHfFn('ejhf',aite,ite.id)">
  359. <image :src="nicone" class="imgb"></image>
  360. <view>回复</view>
  361. </view>
  362. <view class="plrbtn flexc flex0" @click="getDelFn(aite.id)" v-if="checkPermi(['wuYe:commentIndex:remove'])&&aite.isMyself=='Y'">
  363. <image :src="del" class="imgc"></image>
  364. <view class="cof4">删除</view>
  365. </view>
  366. </view>
  367. <view class="infotxt">
  368. <rich-text v-if="aite.content" :nodes="analyzeEmoji(aite.content)"></rich-text>
  369. <view class="infotime">{{aite.createDate}}</view></view>
  370. </view>
  371. </view>
  372. <view class="flexc" v-if="ite.childrenListCount>0">
  373. <view class="zhanbox flexc" v-if="ite.reachflag" @click="getZhanFn(ite,idx)">
  374. <block v-if="ite.childrenList&&ite.childrenList.length">展开更多</block>
  375. <block v-else>展开{{ite.childrenListCount}}条回复</block>
  376. <image :src="upimg" class="zhan"></image>
  377. </view>
  378. <view v-if="ite.childrenList&&ite.childrenList.length" class="zhanbox flexc ml10" @click="getShouFn(idx)">收起<image :src="upimg"></view>
  379. </view>
  380. <!-- <view style="height: 16rpx;" v-else></view> -->
  381. </view>
  382. </view>
  383. </block>
  384. <!-- 员工图文 -->
  385. <block v-if="type=='ystv'">
  386. <view class="walists" v-for="(ite,idx) in datainfo" :key="idx" @click="getPut(ite.manualId)"
  387. :data-idx="idx"
  388. @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+ite.right+'px'"
  389. >
  390. <view class="watopcom">
  391. <view class="watop " style="padding-bottom: 22rpx !important;">
  392. <view class="watit">
  393. <view class="tit">{{ite.manualTitle}}</view>
  394. </view>
  395. <view class="watopcoma overtwo">
  396. <rich-text :nodes="ite.manualContent"></rich-text>
  397. </view>
  398. <view class="flexcj">
  399. <view class="watopcomb">{{ite.publishTime}}</view>
  400. <!-- 管理员 -->
  401. <view class="f12 cofe fw5" @click.stop="getReadlist(ite.manualId)" v-if="checkPermi(['wuYe:manual:getRead'])">已读名单</view>
  402. <!-- 员工 -->
  403. <view class="f12 co27 fw5" v-else>进度:{{ite.progress||0}}%</view>
  404. </view>
  405. </view>
  406. <view class="wabtn" @click.stop="getDetail(ite.manualId)">
  407. <view>查看详情</view>
  408. <image :src="rimg"></image>
  409. </view>
  410. </view>
  411. <view class="spdel" v-if="ite.right>0&&checkPermi(['wuYe:news:remove'])" @click.stop="getDelFn(ite.manualId)">删除</view>
  412. </view>
  413. </block>
  414. <!-- 员工视频 -->
  415. <block v-if="type=='ygsp'">
  416. <view class="videolists flex pr" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail(ite.manualId)"
  417. :data-idx="idx"
  418. @touchstart="drawStart" @touchmove="drawMove" @touchend="drawEnd" :style="'right:'+ite.right+'px'"
  419. >
  420. <view class="watopcom flex flex1">
  421. <view class="flex0 mr12" @click.stop="getTime(idx)">
  422. <video class="videos" :ref="`video${idx}`" :src="baseUrl+ite.videoUrl" @pause="getPause" @timeupdate='onTimeUpdate' @loadedmetadata="onLoadedmetadata" @play="handlePlay(idx)" :data-id="ite.manualId"
  423. :data-idx="idx" :data-progress="ite.progress" :data-putflag="ite.putflag" :data-time="ite.initialtime"
  424. @error="videoErrorCallback" controls></video>
  425. </view>
  426. <view class="flex1 over titbox">
  427. <view class="tit over">{{ite.manualTitle}}</view>
  428. <view class="flexcj">
  429. <view class="num">{{ite.duration}}</view>
  430. <!-- 管理员 -->
  431. <view class="f12 cofe fw5" v-if="checkPermi(['wuYe:manual:getRead'])" @click.stop="getReadlist(ite.manualId)">已读名单</view>
  432. <!-- 员工 -->
  433. <view class="f12 co27 fw5" v-else>进度:{{ite.progress||0}}%</view>
  434. </view>
  435. <view class="time">{{ite.publishTime}}</view>
  436. </view>
  437. </view>
  438. <view class="spdel" v-if="ite.right>0&&checkPermi(['wuYe:manual:remove'])" @click.stop="getDelFn(ite.manualId)">删除</view>
  439. </view>
  440. </block>
  441. <!-- 阅读名单 -->
  442. <block v-if="type=='readlist'" >
  443. <view class="readlist" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail">
  444. <image class="head" :src="man" v-if="ite.sex==1"></image>
  445. <image class="head" :src="woman" v-else></image>
  446. <view class="flex1">
  447. <view class="tit">{{ite.name}}</view>
  448. <view class="time"><text>阅读时间 |</text> {{ite.time}}</view>
  449. </view>
  450. </view>
  451. </block>
  452. <block v-if="type=='readcount'" >
  453. <view class="readlist" v-for="(ite,idx) in datainfo" :key="idx" @click="getDetail">
  454. <image class="head" :src="head" ></image>
  455. <!-- <image class="head" :src="man" v-if="ite.sex==1"></image>
  456. <image class="head" :src="woman" v-else></image> -->
  457. <view class="flex1">
  458. <view class="tit">{{ite.staffName}}</view>
  459. <view class="time"><text>阅读总时长 |</text> {{kaTime(ite.staffTime)}}</view>
  460. </view>
  461. </view>
  462. </block>
  463. <view class="shax">{{wtdt}}</view>
  464. </block>
  465. <!-- 无数据 -->
  466. <view class="nodata" v-else>
  467. <image :src="noiconpimg"></image>
  468. <view>
  469. 暂无数据
  470. </view>
  471. </view>
  472. </view>
  473. </template>
  474. <script>
  475. import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
  476. import config from '@/config'
  477. export default{
  478. props:{
  479. datainfo: {
  480. type: Array,
  481. default () {
  482. return []
  483. }
  484. },
  485. wtdt:{
  486. type:String,
  487. default () {
  488. return ''
  489. }
  490. },
  491. type:{
  492. type:String,
  493. default () {
  494. return 0
  495. }
  496. },
  497. topval:{
  498. type:String,
  499. default () {
  500. return ''
  501. }
  502. }
  503. },
  504. data(){
  505. return{
  506. noiconpimg:require("@/static/nodata.png"),
  507. car:require("@/car/static/car/car.png"),
  508. cara:require("@/car/static/car/cara.png"),
  509. carb:require("@/car/static/car/carb.png"),
  510. hicoa:require("@/people/static/people/hicoa.png"),
  511. hicob:require("@/people/static/people/hicob.png"),
  512. man:require("@/people/static/people/man.png"),
  513. woman:require("@/people/static/people/woman.png"),
  514. rimg:require("@/people/static/people/rimg.png"),
  515. pdel:require("@/people/static/people/pdel.png"),
  516. gzlx:require("@/people/static/people/gzlx.png"),
  517. mphone:require("@/people/static/people/mphone.png"),
  518. time:require("@/work/static/manage/time.png"),
  519. house:require("@/work/static/manage/house.png"),
  520. housea:require("@/work/static/manage/housea.png"),
  521. home:require("@/service/static/service/home.png"),
  522. upimg:require("@/static/images/home/up.png"),
  523. star:require('@/manage/static/news/starb.png'),
  524. stara:require('@/manage/static/news/stara.png'),
  525. eye:require('@/manage/static/community/eye.png'),
  526. nicona:require('@/manage/static/news/nicona.png'),
  527. niconb:require('@/manage/static/news/niconb.png'),
  528. niconc:require('@/manage/static/news/niconc.png'),
  529. nicond:require('@/manage/static/news/nicond.png'),
  530. nicone:require('@/manage/static/news/nicone.png'),
  531. head:require('@/manage/static/news/head.png'),
  532. del:require('@/manage/static/news/delb.png'),
  533. baseUrl:config.baseUrl,
  534. delBtnWidth:66,//左滑默认宽度
  535. OwOlist: [
  536. //表情包和表情路径
  537. { title: "微笑", url: "weixiao.gif" },
  538. { title: "嘻嘻", url: "xixi.gif" },
  539. { title: "哈哈", url: "haha.gif" },
  540. { title: "可爱", url: "keai.gif" },
  541. { title: "可怜", url: "kelian.gif" },
  542. { title: "挖鼻", url: "wabi.gif" },
  543. { title: "吃惊", url: "chijing.gif" },
  544. { title: "害羞", url: "haixiu.gif" },
  545. { title: "挤眼", url: "jiyan.gif" },
  546. { title: "闭嘴", url: "bizui.gif" },
  547. { title: "鄙视", url: "bishi.gif" },
  548. { title: "爱你", url: "aini.gif" },
  549. { title: "泪", url: "lei.gif" },
  550. { title: "偷笑", url: "touxiao.gif" },
  551. { title: "亲亲", url: "qinqin.gif" },
  552. { title: "生病", url: "shengbing.gif" },
  553. { title: "太开心", url: "taikaixin.gif" },
  554. { title: "白眼", url: "baiyan.gif" },
  555. { title: "右哼哼", url: "youhengheng.gif" },
  556. { title: "左哼哼", url: "zuohengheng.gif" },
  557. { title: "嘘", url: "xu.gif" },
  558. { title: "衰", url: "shuai.gif" },
  559. { title: "吐", url: "tu.gif" },
  560. { title: "哈欠", url: "haqian.gif" },
  561. { title: "抱抱", url: "baobao.gif" },
  562. { title: "怒", url: "nu.gif" },
  563. { title: "疑问", url: "yiwen.gif" },
  564. { title: "馋嘴", url: "chanzui.gif" },
  565. { title: "拜拜", url: "baibai.gif" },
  566. { title: "思考", url: "sikao.gif" },
  567. { title: "汗", url: "han.gif" },
  568. { title: "困", url: "kun.gif" },
  569. { title: "睡", url: "shui.gif" },
  570. { title: "钱", url: "qian.gif" },
  571. { title: "失望", url: "shiwang.gif" },
  572. { title: "酷", url: "ku.gif" },
  573. { title: "色", url: "se.gif" },
  574. { title: "哼", url: "heng.gif" },
  575. { title: "鼓掌", url: "guzhang.gif" },
  576. { title: "晕", url: "yun.gif" },
  577. { title: "悲伤", url: "beishang.gif" },
  578. { title: "抓狂", url: "zhuakuang.gif" },
  579. { title: "黑线", url: "heixian.gif" },
  580. { title: "阴险", url: "yinxian.gif" },
  581. { title: "怒骂", url: "numa.gif" },
  582. { title: "互粉", url: "hufen.gif" },
  583. { title: "书呆子", url: "shudaizi.gif" },
  584. { title: "愤怒", url: "fennu.gif" },
  585. { title: "感冒", url: "ganmao.gif" },
  586. { title: "心", url: "xin.gif" },
  587. { title: "伤心", url: "shangxin.gif" },
  588. { title: "猪", url: "zhu.gif" },
  589. { title: "熊猫", url: "xiongmao.gif" },
  590. { title: "兔子", url: "tuzi.gif" },
  591. { title: "喔克", url: "ok.gif" },
  592. { title: "耶", url: "ye.gif" },
  593. { title: "棒棒", url: "good.gif" },
  594. { title: "不", url: "no.gif" },
  595. { title: "赞", url: "zan.gif" },
  596. { title: "来", url: "lai.gif" },
  597. { title: "弱", url: "ruo.gif" },
  598. { title: "草泥马", url: "caonima.gif" },
  599. { title: "神马", url: "shenma.gif" },
  600. { title: "囧", url: "jiong.gif" },
  601. { title: "浮云", url: "fuyun.gif" },
  602. { title: "给力", url: "geili.gif" },
  603. { title: "围观", url: "weiguan.gif" },
  604. { title: "威武", url: "weiwu.gif" },
  605. { title: "话筒", url: "huatong.gif" },
  606. { title: "蜡烛", url: "lazhu.gif" },
  607. { title: "蛋糕", url: "dangao.gif" },
  608. { title: "发红包", url: "fahongbao.gif" },
  609. ],
  610. }
  611. },
  612. mounted() {
  613. },
  614. methods:{
  615. checkPermi, checkRole,
  616. getDetail(e){
  617. this.$emit('getDetail',e)
  618. },
  619. getPut(e){
  620. this.$emit('getPut',e)
  621. },
  622. getAddFn(e){
  623. this.$emit('getAddFn',e)
  624. },
  625. getReadlist(e){
  626. this.$emit('getReadlist',e)
  627. },
  628. getTime(idx){
  629. console.log(idx)
  630. },
  631. kaTime(minutes){
  632. // 分钟转换成小时
  633. const hours = Math.floor(minutes / 60);
  634. const mins = minutes % 60;
  635. const formattedMins = mins < 10 ? `0${mins}` : mins;
  636. return `${hours}小时${formattedMins}分钟`;
  637. // console.log(a)
  638. },
  639. getPause(e){
  640. var idx=e.currentTarget.dataset.idx;
  641. var id=e.currentTarget.dataset.id;
  642. var pro=e.currentTarget.dataset.progress||0;
  643. var putflag=e.currentTarget.dataset.putflag;
  644. if(putflag){
  645. var obj={
  646. id:id,
  647. progress:pro
  648. }
  649. this.$emit('getPause',obj)
  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{padding-top: 20rpx;margin-bottom: 16rpx;border-bottom: 2rpx solid #DADADA;
  979. .head{width: 40rpx;height: 40rpx;margin-right: 18rpx;flex: 0 0 auto;border-radius: 50%;}
  980. .plname{font-weight: bold;font-size: 30rpx;color: #161616;
  981. view{max-width: 50%;}
  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. }
  988. view{font-weight: bold;font-size: 24rpx;color: #314081;}
  989. }
  990. .infotxt{font-weight: 500;font-size: 26rpx;color: #161616;line-height: 40rpx;margin-bottom: 30rpx;
  991. &:before {content: "";float: right;width: 0;height: calc(100% - 16px);background: red;}
  992. .infotime{font-weight: 500;font-size: 24rpx;color: #666666; float: right;clear: both;}
  993. image{width: 44rpx;height: 44rpx;}
  994. }
  995. .pllist{
  996. padding-top: 0;border-bottom: none;margin-bottom: 0;
  997. }
  998. .zhanbox{font-weight: 500;font-size: 24rpx;color: #AAAAAA;padding: 16rpx 0;
  999. image{width: 20rpx;height: 12rpx;margin-left: 18rpx;transition: all 0.3s;
  1000. &.zhan{transform: rotate(-180deg);}
  1001. }
  1002. }
  1003. }
  1004. // 视频
  1005. .videolists{
  1006. background: #FFFFFF;margin-bottom: 24rpx;border-radius: 20rpx;
  1007. .titbox{padding-top: 16rpx;padding-right: 38rpx;}
  1008. .videos{width: 260rpx;height: 180rpx;}
  1009. .tit{font-weight: bold;font-size: 14px;color: #272727;text-align: left;margin-bottom: 10rpx;}
  1010. .num{font-weight: 500;font-size: 20rpx;color: #666666;min-width: 68rpx;padding: 0 8rpx;box-sizing: border-box;
  1011. height: 28rpx;background: #E6E6E6;border-radius: 14rpx;line-height: 28rpx;text-align: center;}
  1012. .time{font-weight: 500;font-size: 24rpx;color: #AAAAAA;margin-top: 44rpx;}
  1013. }
  1014. // 名单
  1015. .readlist{background: #FFFFFF;border-radius: 20rpx;border: 2rpx solid #E6E6E6;margin-bottom: 24rpx;padding: 24rpx;display: flex;align-items: center;box-sizing: border-box;
  1016. .head{width: 96rpx;height: 96rpx;margin-right: 28rpx;flex: 0 0 auto;}
  1017. .tit{font-weight: bold;font-size: 30rpx;color: #272727;margin-bottom: 12rpx;}
  1018. .time{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;
  1019. text{margin-right: 12rpx;display: inline-block;}
  1020. }
  1021. }
  1022. .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;}
  1023. // 无数据
  1024. .nodata{display: flex;flex-direction: column;align-items: center;
  1025. image{width: 440rpx;height: 440rpx;}
  1026. view{font-size: 30rpx;color: #666666;font-weight: bold;}
  1027. }
  1028. </style>