list.vue 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966
  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.stop="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" @click.stop="getHfFn('yjhf',ite,ite.id)">
  328. <image :src="nicone" class="imgb"></image>
  329. <view>回复</view>
  330. </view>
  331. <view class="plrbtn flexc flex0" @click.stop="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.stop="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" @click.stop="getHfFn('ejhf',aite,ite.id)">
  359. <image :src="nicone" class="imgb"></image>
  360. <view>回复</view>
  361. </view>
  362. <view class="plrbtn flexc flex0" @click.stop="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.stop="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.stop="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" @click.stop="getReadlist(ite.manualId)">已读名单</view>
  432. <!-- 员工 -->
  433. <view class="f12 co27 fw5">进度:{{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="man" v-if="ite.sex==1"></image>
  455. <image class="head" :src="woman" v-else></image>
  456. <view class="flex1">
  457. <view class="tit">{{ite.staffName}}</view>
  458. <view class="time"><text>阅读总时长 |</text> {{kaTime(ite.staffTime)}}</view>
  459. </view>
  460. </view>
  461. </block>
  462. <view class="shax">{{wtdt}}</view>
  463. </block>
  464. <!-- 无数据 -->
  465. <view class="nodata" v-else>
  466. <image :src="noiconpimg"></image>
  467. <view>
  468. 暂无数据
  469. </view>
  470. </view>
  471. </view>
  472. </template>
  473. <script>
  474. import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
  475. import config from '@/config'
  476. export default{
  477. props:{
  478. datainfo: {
  479. type: Array,
  480. default () {
  481. return []
  482. }
  483. },
  484. wtdt:{
  485. type:String,
  486. default () {
  487. return ''
  488. }
  489. },
  490. type:{
  491. type:String,
  492. default () {
  493. return 0
  494. }
  495. },
  496. topval:{
  497. type:String,
  498. default () {
  499. return ''
  500. }
  501. }
  502. },
  503. data(){
  504. return{
  505. noiconpimg:require("@/static/nodata.png"),
  506. car:require("@/car/static/car/car.png"),
  507. cara:require("@/car/static/car/cara.png"),
  508. carb:require("@/car/static/car/carb.png"),
  509. hicoa:require("@/people/static/people/hicoa.png"),
  510. hicob:require("@/people/static/people/hicob.png"),
  511. man:require("@/people/static/people/man.png"),
  512. woman:require("@/people/static/people/woman.png"),
  513. rimg:require("@/people/static/people/rimg.png"),
  514. pdel:require("@/people/static/people/pdel.png"),
  515. gzlx:require("@/people/static/people/gzlx.png"),
  516. mphone:require("@/people/static/people/mphone.png"),
  517. time:require("@/work/static/manage/time.png"),
  518. house:require("@/work/static/manage/house.png"),
  519. housea:require("@/work/static/manage/housea.png"),
  520. home:require("@/service/static/service/home.png"),
  521. upimg:require("@/static/images/home/up.png"),
  522. star:require('@/manage/static/news/starb.png'),
  523. stara:require('@/manage/static/news/stara.png'),
  524. eye:require('@/manage/static/community/eye.png'),
  525. nicona:require('@/manage/static/news/nicona.png'),
  526. niconb:require('@/manage/static/news/niconb.png'),
  527. niconc:require('@/manage/static/news/niconc.png'),
  528. nicond:require('@/manage/static/news/nicond.png'),
  529. nicone:require('@/manage/static/news/nicone.png'),
  530. del:require('@/manage/static/news/delb.png'),
  531. baseUrl:config.baseUrl,
  532. delBtnWidth:66,//左滑默认宽度
  533. }
  534. },
  535. mounted() {
  536. },
  537. methods:{
  538. checkPermi, checkRole,
  539. getDetail(e){
  540. this.$emit('getDetail',e)
  541. },
  542. getPut(e){
  543. this.$emit('getPut',e)
  544. },
  545. getAddFn(e){
  546. this.$emit('getAddFn',e)
  547. },
  548. getReadlist(e){
  549. this.$emit('getReadlist',e)
  550. },
  551. getTime(idx){
  552. console.log(idx)
  553. },
  554. kaTime(minutes){
  555. // 分钟转换成小时
  556. const hours = Math.floor(minutes / 60);
  557. const mins = minutes % 60;
  558. const formattedMins = mins < 10 ? `0${mins}` : mins;
  559. return `${hours}小时${formattedMins}分钟`;
  560. // console.log(a)
  561. },
  562. getPause(e){
  563. var idx=e.currentTarget.dataset.idx;
  564. var id=e.currentTarget.dataset.id;
  565. var pro=e.currentTarget.dataset.progress||0;
  566. var putflag=e.currentTarget.dataset.putflag;
  567. if(putflag){
  568. var obj={
  569. id:id,
  570. progress:pro
  571. }
  572. this.$emit('getPause',obj)
  573. this.datainfo[idx].putflag=false;
  574. }
  575. },
  576. handlePlay(idx){
  577. var list=JSON.parse(JSON.stringify(this.datainfo))
  578. list.forEach((ref,index) => {
  579. if (idx != index) {
  580. this.$refs[`video${index}`][0].pause();
  581. }
  582. });
  583. },
  584. onTimeUpdate(e){
  585. var idx=e.currentTarget.dataset.idx;
  586. var pro=e.currentTarget.dataset.progress||0;
  587. var currentTime=e.detail.currentTime;//当前
  588. var duration=e.detail.duration;//总的
  589. var progress=((currentTime / duration) * 100).toFixed(2);
  590. if(Number(pro)<Number(progress)){
  591. this.datainfo[idx].progress=progress;
  592. this.datainfo[idx].putflag=true;
  593. }
  594. },
  595. onLoadedmetadata(e){
  596. var idx=e.currentTarget.dataset.idx;
  597. var val=e.detail.duration;
  598. var time=this.convertSecondsToHMS(e.detail.duration);
  599. var pro=e.currentTarget.dataset.progress||0;
  600. this.datainfo[idx].duration=this.convertSecondsToHMS(e.detail.duration);
  601. // this.datainfo[idx].initialtime=Math.floor((pro/100)*val);
  602. var s=Math.floor((pro/100)*val)
  603. this.$refs[`video${idx}`][0].seek(s);
  604. },
  605. convertSecondsToHMS(seconds) {
  606. const h = Math.floor(seconds / 3600);
  607. const min = Math.floor((seconds % 3600) / 60);
  608. const s = Math.floor(seconds % 60);
  609. var timeStr = (h < 10 ? ('0' + h) : h) + ':' + (min < 10 ? ('0' + min) : min) + ':' + (s < 10 ? (
  610. '0' + s) : s);
  611. // return `${hours}小时 ${minutes}分钟 ${remainingSeconds}秒`;
  612. return timeStr;
  613. },
  614. getZhan(idx){
  615. // var obj=JSON.parse(JSON.stringify(this.datainfo))[idx]
  616. // obj.zhanflag=!obj.zhanflag;
  617. // this.datainfo.splice(idx,1,obj);
  618. this.datainfo[idx].zhanflag=!this.datainfo[idx].zhanflag
  619. },
  620. analyzeEmoji(cont){
  621. //编译表情替换成图片展示出来
  622. var pattern1 = /\[[\u4e00-\u9fa5]+\]/g;
  623. var pattern2 = /\[[\u4e00-\u9fa5]+\]/;
  624. var content = cont.match(pattern1);
  625. var str = cont;
  626. if (content) {
  627. for (var i = 0; i < content.length; i++) {
  628. for (var j = 0; j < this.OwOlist.length; j++) {
  629. if ("[" + this.OwOlist[j].title + "]" == content[i]) {
  630. var src = this.OwOlist[j].url;
  631. break;
  632. }
  633. }
  634. var s = require("./img/face/" + src);
  635. var imoj = "<img src='" + s + "'/>";
  636. str = str.replace(pattern2, imoj);
  637. }
  638. }
  639. return str;
  640. },
  641. getZhanFn(ite,idx){
  642. var obj={
  643. ite:ite,
  644. idx:idx
  645. }
  646. this.$emit("getZhanFn",obj)
  647. },
  648. getDzFn(id,type,content,idx,aidx,atype){
  649. var obj={
  650. id:id,
  651. type:type,
  652. content:content,
  653. idx:idx,
  654. aidx:aidx,
  655. atype:atype
  656. }
  657. this.$emit("getDzFn",obj)
  658. },
  659. getScFn(ite,idx){
  660. var obj={
  661. ite:ite,
  662. idx:idx
  663. }
  664. this.$emit("getScFn",obj)
  665. },
  666. getHfFn(type,ite,id){
  667. var cuser=JSON.parse(JSON.stringify(ite.commentUser))
  668. var obj={
  669. parentId:id,
  670. toUserId:cuser.id,
  671. toNickName:cuser.nickName,
  672. toAvatar:cuser.avatar,
  673. type:type||""
  674. }
  675. this.$emit("getHfFn",obj)
  676. },
  677. getShouFn(idx){
  678. this.$emit("getShouFn",idx)
  679. },
  680. getPreview(idx,arr) {
  681. var newArr=[];
  682. arr.forEach(ite=>{
  683. var ds=this.baseUrl+ite
  684. newArr.push(ds)
  685. })
  686. uni.previewImage({
  687. urls: newArr,
  688. current:idx,
  689. success: function(data) {},
  690. fail: function(err) {}
  691. });
  692. },
  693. getDelFn(id){
  694. var that=this;
  695. uni.showModal({
  696. title: '确认删除',
  697. content: "是否确认删除",
  698. cancelText: '取消',
  699. confirmText: '确认',
  700. success: function(res) {
  701. if (res.confirm) {
  702. that.$emit('getDelFn',id)
  703. } else if (res.cancel) {
  704. }
  705. }
  706. });
  707. },
  708. //开始触摸滑动
  709. drawStart(e) {
  710. // console.log("开始触发");
  711. var touch = e.touches[0];
  712. this.startX = touch.clientX;
  713. },
  714. //触摸滑动
  715. drawMove(e) {
  716. // console.log("滑动");
  717. for (var index in this.datainfo) {
  718. // this.csListArrl[index].right=0
  719. this.$set(this.datainfo[index],'right',0);
  720. }
  721. var idx=e.currentTarget.dataset.idx
  722. var touch = e.touches[0];
  723. var item = this.datainfo[idx];
  724. var disX = this.startX - touch.clientX;
  725. if (disX >= 20) {
  726. if (disX > this.delBtnWidth) {
  727. disX = this.delBtnWidth;
  728. }
  729. // this.csListArrl[idx].right=disX
  730. this.$set(this.datainfo[idx],'right',disX);
  731. } else {
  732. // this.csListArrl[idx].right=0
  733. this.$set(this.datainfo[idx],'right',0);
  734. }
  735. },
  736. //触摸滑动结束
  737. drawEnd(e) {
  738. // console.log("滑动结束");
  739. var idx=e.currentTarget.dataset.idx
  740. var item = this.datainfo[idx];
  741. if (item.right >= this.delBtnWidth / 2) {
  742. // this.datainfo[idx].right=this.delBtnWidth
  743. this.$set(this.datainfo[idx],'right',this.delBtnWidth);
  744. } else {
  745. this.datainfo[idx].right=0
  746. }
  747. },
  748. }
  749. }
  750. </script>
  751. <style lang="scss" scoped>
  752. .flex{display: flex;}
  753. .flexc{display: flex;align-items: center;}
  754. .mb10{margin-bottom: 20rpx;}
  755. .carlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;
  756. .ctop{border-bottom: 2rpx solid #E5E5E5;padding:26rpx 24rpx;
  757. .imgs{width: 40rpx;height: 42rpx;margin-right: 30rpx;}
  758. .tit{font-size: 32rpx;color: #272727;font-weight: bold;margin-right: 14rpx;}
  759. .txt{font-weight: 500;font-size: 26rpx;
  760. &.ca{color: #3565ED;}
  761. &.cb{color: #FE5A0E;}
  762. &.cc{color: #28C529;}
  763. }
  764. .txta{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
  765. .num{font-size: 24rpx;color: #AAAAAA;}
  766. }
  767. .btn{height: 34rpx;border-radius: 18rpx;display: flex;align-items: center;justify-content: center;padding: 0 10rpx;font-size: 22rpx;margin-right: 24rpx;
  768. &.btna{border: 2rpx solid #06C770;color: #06C770;}
  769. &.btnb{border: 2rpx solid #3565ED;color: #3565ED;}
  770. &.btnc{border: 2rpx solid #FE5A0E;color: #FE5A0E;}
  771. &.btnbga{border: 1px solid #0156FE;color: #3565ED;background: #DFEAFF;height: 36rpx;}
  772. &.btnbgb{border: 1px solid #C1C1C1;color: #666666;background: #F1F1F1;height: 36rpx;}
  773. &.btnbgc{border: 1px solid #FE5A0E;color:#FE5A0E;background:#FFEEE6;height: 36rpx;}
  774. }
  775. .clists{padding: 24rpx 24rpx 8rpx;
  776. .clist{font-weight: 500;margin-bottom: 16rpx;
  777. font-size: 26rpx;color: #272727;display: flex;line-height: 34rpx;
  778. .tit{font-size: 26rpx;color: #AAAAAA;flex: 0 0 auto;margin-right: 16rpx;min-width: 108rpx;text-align-last: justify;}
  779. .imgas{display: flex;align-items: center;flex-wrap: wrap;
  780. image{width: 142rpx;height: 142rpx;margin-right: 30rpx;margin-top: 8rpx;}
  781. }
  782. }
  783. .w50{
  784. .clist{width: 50%;}
  785. }
  786. }
  787. }
  788. // 人员
  789. .peolist{
  790. .ctop{padding: 24rpx 24rpx 22rpx;}
  791. .imgs{margin-right: 16rpx !important;}
  792. .tit{font-size: 28rpx !important;}
  793. .plists{padding: 30rpx 24rpx 6rpx;
  794. .plist{background: linear-gradient(-90deg, #F2F5FF 0%, #FBFDFF 100%);border-radius: 20rpx;border: 2rpx solid #E6E6E6;margin-bottom: 24rpx;padding: 18rpx 26rpx 4rpx;
  795. .head{width: 96rpx;height: 98rpx;margin-right: 32rpx;flex: 0 0 auto;}
  796. .ptit{font-weight: bold;font-size: 30rpx;color: #272727;display: flex;align-items: center;margin-bottom: 14rpx;}
  797. .ptxt{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;margin-bottom: 14rpx;min-width: 176rpx;}
  798. }
  799. }
  800. .upimg{width: 26rpx;height: 22rpx;display: block;transform: rotate(180deg);transition: all 0.3s;margin: 0 auto 18rpx;
  801. &.act{transform: rotate(0deg);}
  802. }
  803. }
  804. // 物业费
  805. .mlistl{width: 40%;display: flex;flex-direction: column;align-items: center;flex: 0 0 auto;
  806. .mltit{font-weight: 500;font-size: 26rpx;color: #666666;margin-bottom: 18rpx;}
  807. .mltxt{font-weight: bold;font-size: 32rpx;color: #0156FE;}
  808. }
  809. .houselist{
  810. .clists{padding-bottom: 2rpx !important;}
  811. .clist{margin-bottom: 22rpx !important;}
  812. }
  813. // 巡更地点
  814. .patlist{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx;padding: 0 24rpx 30rpx;
  815. .pattop{padding:22rpx 30rpx;margin-bottom: 2rpx;
  816. .imgs{width: 28rpx;height: 28rpx;margin-right: 12rpx;}
  817. .tit{font-size: 30rpx;color: #272727;font-weight: bold;margin-right: 14rpx;}
  818. .txt{font-weight: 500;font-size:24rpx;
  819. &.ca{color: #3565ED;}
  820. &.cb{color: #FE5A0E;}
  821. &.cc{color: #28C529;}
  822. &.cd{color: #FF6969;}
  823. }
  824. }
  825. .patlistr{background: #EFF4FF;border-radius: 20rpx;padding: 20rpx 32rpx;
  826. .clist{font-weight: 500;font-size: 26rpx;color: #272727;display: flex;line-height: 50rpx;
  827. .tit{font-size: 26rpx;flex: 0 0 auto;min-width: 108rpx;text-align-last: justify;font-weight: bold;}
  828. }
  829. }
  830. .patbtns{display: flex;justify-content: flex-end;align-items: center;flex-wrap: wrap;
  831. 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;
  832. &.btna{border: 2rpx solid #0256FD;color: #0256FD;}
  833. &.btnb{background: #0256FD;color: #ffffff;}
  834. }
  835. }
  836. }
  837. // 报修
  838. .walists{background: #FFFFFF;border-radius: 20rpx;margin-bottom: 24rpx; position: relative;
  839. .watop{
  840. padding: 0 36rpx 8rpx 38rpx;
  841. .watit{padding: 24rpx 0;margin-bottom: 4rpx;display: flex;
  842. .tit{font-weight: bold;font-size: 28rpx;color: #272727;flex: 1;
  843. .cir{width: 14rpx;margin-left: 8rpx;margin-bottom: 10rpx;height: 14rpx;display: inline-block;background: #FF6969;border-radius: 8rpx;}
  844. }
  845. .txt{font-weight: bold;font-size: 26rpx;flex: 0 0 auto;
  846. }
  847. }
  848. }
  849. .walist{display: flex;font-weight: 500;font-size: 24rpx;color: #666666;margin-bottom: 16rpx;
  850. .tit{min-width: 100rpx;text-align-last: justify}
  851. }
  852. .wabtn{display: flex;align-items: center;justify-content: space-between;border-top: 2rpx solid #E5E5E5;height: 80rpx;padding: 0 38rpx;
  853. view{font-weight: 500;font-size: 24rpx;color: #666666;}
  854. image{width: 16rpx;height: 28rpx;}
  855. }
  856. }
  857. // 维修人员
  858. .stafflist{width: 344rpx;min-height: 256rpx;background: #FFFFFF;border-radius: 20rpx;margin:0 12rpx 24rpx 12rpx;padding-bottom: 20rpx;box-sizing: border-box;
  859. // &:nth-of-type(2n){margin-right: 0;}
  860. .statop{border-bottom: 2rpx solid #E5E5E5;display: flex;padding: 24rpx 24rpx 22rpx;
  861. .head{width: 80rpx;height: 82rpx;margin-right: 24rpx;flex: 0 0 auto;}
  862. .stadel{width: 30rpx;height: 30rpx;flex: 0 0 auto;margin-left: 12rpx;}
  863. .statit{font-weight: bold;font-size: 30rpx;color: #272727;margin-bottom: 4rpx;}
  864. .statxt{font-weight: 500;font-size: 26rpx;
  865. .cir{width: 10rpx;height: 10rpx;border-radius: 50%;margin-right: 14rpx;display: inline-block;
  866. &.bga{background: #06C770;}
  867. &.bgb{background: #FF6969;}
  868. }
  869. }
  870. }
  871. .stalist{font-weight: 500;font-size: 26rpx;color: #272727;display: flex;align-items: center;padding: 20rpx 24rpx 0;
  872. .imgs{width: 24rpx;height: 30rpx;margin-right: 22rpx;flex: 0 0 auto;display: flex;align-items: center;justify-content: center;
  873. .gzlximg{width: 24rpx;height: 28rpx;}
  874. .mphone{width: 18rpx;height: 30rpx;}
  875. }
  876. }
  877. }
  878. // padding-bottom: 30rpx !important;
  879. .watopcom{background-color: #ffffff;border-radius: 20rpx;position: relative;z-index: 1;
  880. .watopcoma{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;margin-bottom: 24rpx;}
  881. .watopcomb{font-weight: 500;font-size: 24rpx;color: #AAAAAA;}
  882. }
  883. //资讯
  884. .newlists{
  885. background: #FFFFFF;margin-bottom: 24rpx;
  886. border-radius: 20rpx;
  887. .watopcom{
  888. padding: 22rpx 24rpx;
  889. }
  890. .tit{font-size: 32rpx;font-weight: bold;color: #272727;line-height: 48rpx;margin-bottom:16rpx;}
  891. .txt{font-size: 24rpx;color: #666666;line-height: 36rpx;margin-bottom: 32rpx;}
  892. .stabox{
  893. .time{font-weight: 500;font-size: 24rpx;color: #AAAAAA;line-height: 36rpx;}
  894. .btns{font-weight: 500;font-size: 22rpx;color: #666666;line-height: 36rpx;min-width: 100rpx;box-sizing: border-box;margin-left: 20rpx;
  895. .imga{width: 24rpx;height: 22rpx;margin-right: 8rpx;}
  896. .imgb{width: 24rpx;height: 18rpx;margin-right: 10rpx;}
  897. }
  898. }
  899. }
  900. //评论
  901. .pllist{padding-top: 20rpx;margin-bottom: 16rpx;border-bottom: 2rpx solid #DADADA;
  902. .head{width: 40rpx;height: 40rpx;margin-right: 18rpx;flex: 0 0 auto;border-radius: 50%;}
  903. .plname{font-weight: bold;font-size: 30rpx;color: #161616;
  904. view{max-width: 50%;}
  905. }
  906. .plrbtn{margin-left: 36rpx;
  907. image{width: 26rpx;height: 24rpx;margin-right: 16rpx;
  908. &.imga{width: 26rpx;height: 26rpx;}
  909. &.imgb{width: 26rpx;height: 22rpx;}
  910. }
  911. view{font-weight: bold;font-size: 24rpx;color: #314081;}
  912. }
  913. .infotxt{font-weight: 500;font-size: 26rpx;color: #161616;line-height: 40rpx;margin-bottom: 30rpx;
  914. &:before {content: "";float: right;width: 0;height: calc(100% - 16px);background: red;}
  915. .infotime{font-weight: 500;font-size: 24rpx;color: #666666; float: right;clear: both;}
  916. image{width: 44rpx;height: 44rpx;}
  917. }
  918. .pllist{
  919. padding-top: 0;border-bottom: none;margin-bottom: 0;
  920. }
  921. .zhanbox{font-weight: 500;font-size: 24rpx;color: #AAAAAA;padding: 16rpx 0;
  922. image{width: 20rpx;height: 12rpx;margin-left: 18rpx;transition: all 0.3s;
  923. &.zhan{transform: rotate(-180deg);}
  924. }
  925. }
  926. }
  927. // 视频
  928. .videolists{
  929. background: #FFFFFF;margin-bottom: 24rpx;border-radius: 20rpx;
  930. .titbox{padding-top: 16rpx;padding-right: 38rpx;}
  931. .videos{width: 260rpx;height: 180rpx;}
  932. .tit{font-weight: bold;font-size: 14px;color: #272727;text-align: left;margin-bottom: 10rpx;}
  933. .num{font-weight: 500;font-size: 20rpx;color: #666666;min-width: 68rpx;padding: 0 8rpx;box-sizing: border-box;
  934. height: 28rpx;background: #E6E6E6;border-radius: 14rpx;line-height: 28rpx;text-align: center;}
  935. .time{font-weight: 500;font-size: 24rpx;color: #AAAAAA;margin-top: 44rpx;}
  936. }
  937. // 名单
  938. .readlist{background: #FFFFFF;border-radius: 20rpx;border: 2rpx solid #E6E6E6;margin-bottom: 24rpx;padding: 24rpx;display: flex;align-items: center;box-sizing: border-box;
  939. .head{width: 96rpx;height: 96rpx;margin-right: 28rpx;flex: 0 0 auto;}
  940. .tit{font-weight: bold;font-size: 30rpx;color: #272727;margin-bottom: 12rpx;}
  941. .time{font-weight: 500;font-size: 26rpx;color: #666666;line-height: 36rpx;
  942. text{margin-right: 12rpx;display: inline-block;}
  943. }
  944. }
  945. .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;}
  946. // 无数据
  947. .nodata{display: flex;flex-direction: column;align-items: center;
  948. image{width: 440rpx;height: 440rpx;}
  949. view{font-size: 30rpx;color: #666666;font-weight: bold;}
  950. }
  951. </style>