list.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524
  1. <template>
  2. <view>
  3. <view v-if="datalist.length>0">
  4. <!-- 学生 -->
  5. <block v-if="datype==1">
  6. <view class="stlbox clearf">
  7. <view class="stlist" :class="[ite.sex==1?'bg1':'bg2',roles=='parents'?'sthlist':'']" @click="getDetail(ite.id)"
  8. v-for="(ite,idx) in datalist" :key="idx">
  9. <view class="flext listt">
  10. <image v-if="ite.identificationPhoto" :src="baseUrl+ite.identificationPhoto" class="headimg"
  11. :class="ite.sex==1?'btn1':'btn2'"></image>
  12. <image :src="head" :class="ite.sex==1?'btn1':'btn2'" class="headimg" v-else></image>
  13. <view class="flex1">
  14. <view class="flextj ">
  15. <view class="flex1 flext">
  16. <view class="tit">{{ite.name}}</view>
  17. <image :src="man" class="mximg" v-if="ite.sex==1"></image>
  18. <image :src="woman" class="wmimg" v-if="ite.sex==2"></image>
  19. <image :src="year" class="yeimg" v-if="ite.isNearsightedness&&ite.isNearsightedness==1"></image>
  20. <image :src="health" class="heimg" v-if="ite.health&&ite.health!=1"></image>
  21. </view>
  22. <view class="flex0 f13 coa" v-if="roles=='parents'">更新时间:{{ite.updateTime||ite.createTime}}</view>
  23. </view>
  24. <view class="txt" >
  25. <block v-if="ite.age">{{ite.age}}岁/</block>
  26. <block v-if="ite.height">{{ite.height}}cm/</block>
  27. <block v-if="ite.weight">{{ite.weight}}kg/</block>
  28. <block v-if="ite.isNearsightedness==1">{{ite.degreeMyopia}}</block>
  29. <block v-if="ite.isNearsightedness==2">无近视/远视</block>
  30. <view class="updimg" @click.stop="getHeightFn(ite,'height')">
  31. <image :src="daupdata"></image>
  32. </view>
  33. </view>
  34. </view>
  35. </view>
  36. <view class="listf">
  37. <view class="ltxt" v-if="roles=='parents'">政治面貌:{{ite.politicalStatus}}</view>
  38. <view class="ltxt">心理健康状态:{{ite.mind}}
  39. <view class="updimg" @click.stop="getHeightFn(ite,'mind')">
  40. <image :src="daupdata"></image>
  41. </view>
  42. </view>
  43. <view class="ltxt">家长描述:{{ite.psychologicalDescription}}</view>
  44. <!-- 请假 -->
  45. <!-- <view class="ltxtq">请假中,查看详情...</view> -->
  46. <!-- 家长 -->
  47. <block v-if="roles=='parents'">
  48. <image :src="mbg" class="mbg" v-if="ite.sex==1"></image>
  49. <image :src="wmbg" class="mbg" v-if="ite.sex==2"></image>
  50. </block>
  51. </view>
  52. </view>
  53. </view>
  54. </block>
  55. <!-- 教职工 -->
  56. <block v-if="datype==2">
  57. <view class="stlbox clearf">
  58. <view class="stlist " :class="ite.sex==1?'bg1':'bg2'" @click="getDetail(ite.id)"
  59. v-for="(ite,idx) in datalist" :key="idx">
  60. <view class="flext listt">
  61. <image v-if="ite.identificationPhoto" :src="baseUrl+ite.identificationPhoto" class="headimg"
  62. :class="ite.sex==1?'btn1':'btn2'"></image>
  63. <image :src="head" :class="ite.sex==1?'btn1':'btn2'" class="headimg" v-else></image>
  64. <view>
  65. <view class="flext">
  66. <view class="tit">{{ite.name}}</view>
  67. <image :src="man" class="mximg" v-if="ite.sex==1"></image>
  68. <image :src="woman" class="wmimg" v-if="ite.sex==2"></image>
  69. </view>
  70. <view class="txt">
  71. <block v-if="ite.age">{{ite.age}}岁/</block>
  72. <block v-if="ite.height">{{ite.height}}cm/</block>
  73. <block v-if="ite.weight">{{ite.weight}}kg</block>
  74. </view>
  75. </view>
  76. <!-- <image :src="year" class="yeimg"></image> -->
  77. </view>
  78. <view class="listf">
  79. <!-- <view class="ltxt">教龄:7年</view> -->
  80. <view class="ltxt">职称:{{ite.professional}}</view>
  81. <view class="ltxt">联系方式:{{ite.phone}}</view>
  82. <!-- <view class="ltxt">入职已经<text :class="ite.sex==1?'co47':'cfe'">2313</text>天啦</view> -->
  83. </view>
  84. </view>
  85. </view>
  86. </block>
  87. <!-- 班级成绩 -->
  88. <block v-if="datype==3">
  89. <view class="cjlist" @click="getDetail(ite.scoreId)" v-for="(ite,idx) in datalist" :key="idx">
  90. <!-- 老师 -->
  91. <view class="flext mb6">
  92. <view class="f16 c16 fw flex1">{{ite.scoreTitle}}</view>
  93. <image :src="cjmicong" class="moimg"></image>
  94. </view>
  95. <!-- 家长 -->
  96. <!-- <view class="flexc mb6">
  97. <view class="f16 c16 fw flex1">{{ite.scoreTitle}}</view>
  98. <view class="f14 fw5 flex0 ml10 co47">已查看</view>
  99. <view class="f14 fw5 flex0 ml10 c6">未查看</view>
  100. </view> -->
  101. <view class="flexc">
  102. <view class="f14 fw5 co6 flex1">考试班级:{{ite.scoreClassName}}</view>
  103. <view class="f14 fw5 coa flex0">{{ite.scoreTime}}</view>
  104. </view>
  105. <view class='cjlook flexc' v-if="roles!='parents'">
  106. <view>已查看:<text class="f15 co16">{{ite.chaKan}}</text><text class="co16">人</text></view>
  107. <view>未查看:<text class="f15 co16">{{ite.weiChaKan}}</text><text class="co16">人</text></view>
  108. <view>查看率:<text class="f15 co16">{{ite.percentage}}</text></view>
  109. </view>
  110. </view>
  111. </block>
  112. <!-- 心理健康 -->
  113. <block v-if="datype==5">
  114. <view class="time" v-for="(lite,lidx) in datalist" :key="lidx">
  115. <view class="time_t" @click="getLook(lidx)" :class="lite.check?'act':''">
  116. <view>{{lite.ayear}}年<text>{{lite.amonth}}月</text></view>
  117. <image :src="timeup" class="timeup"></image>
  118. </view>
  119. <view v-if="lite.check">
  120. <view class="timebox" v-for="(ite,idx) in lite.children" :key="idx">
  121. <view class="list">
  122. <image :src="timel" class="timel"></image>
  123. <view class="listr">
  124. <view class="listrt">
  125. {{ite.createTime}}<text v-if="ite.createType" class="type " :class="ite.createType==2?'bg2':'bg1'">
  126. {{ite.createType==2?'老师':'家长'}}
  127. </text>
  128. <view class="flex1"></view>
  129. <view class="delboxs" v-if="checkPermi(['live:old:remove'])" @click="getDel(ite.mindId)">删除</view>
  130. </view>
  131. <view class="listrx flext">
  132. <view class="ltit">状态:</view>
  133. <view class="ltxt">{{ite.mind}}</view>
  134. </view>
  135. <view class="listrx flext" v-if="ite.psychologicalDescription">
  136. <view class="ltit">描述:</view>
  137. <view class="ltxt">{{ite.psychologicalDescription}}</view>
  138. </view>
  139. </view>
  140. </view>
  141. </view>
  142. </view>
  143. </view>
  144. </block>
  145. <block v-if="datype==15">
  146. <view class="time" v-for="(ite,idx) in datalist" :key="idx">
  147. <!-- :class="actidx==1?'act':''" -->
  148. <!-- <view class="time_t" @click="getLook(1)">
  149. <view>2023年<text>7月</text></view>
  150. <image :src="timeup" class="timeup"></image>
  151. </view> -->
  152. <view class="timebox">
  153. <view class="list">
  154. <image :src="timel" class="timel"></image>
  155. <view class="listr">
  156. <view class="listrt">
  157. {{ite.createTime}}<text v-if="ite.createType" class="type " :class="ite.createType==2?'bg2':'bg1'">
  158. {{ite.createType==2?'老师':'家长'}}
  159. </text>
  160. <view class="flex1"></view>
  161. <view class="delboxs" v-if="checkPermi(['live:old:remove'])" @click="getDel(ite.mindId)">删除</view>
  162. </view>
  163. <view class="listrx flext">
  164. <view class="ltit">状态:</view>
  165. <view class="ltxt">{{ite.mind}}</view>
  166. </view>
  167. <view class="listrx flext" v-if="ite.psychologicalDescription">
  168. <view class="ltit">描述:</view>
  169. <view class="ltxt">{{ite.psychologicalDescription}}</view>
  170. </view>
  171. </view>
  172. </view>
  173. </view>
  174. </view>
  175. </block>
  176. <!-- 身高体重 -->
  177. <block v-if="datype==6">
  178. <view class="time" v-for="(lite,lidx) in datalist" :key="lidx">
  179. <view class="time_t" @click="getLook(lidx)" :class="lite.check?'act':''">
  180. <view>{{lite.ayear}}年<text>{{lite.amonth}}月</text></view>
  181. <image :src="timeup" class="timeup"></image>
  182. </view>
  183. <view v-if="lite.check">
  184. <view class="timebox" v-for="(ite,idx) in lite.children" :key="idx">
  185. <view class="list">
  186. <image :src="timel" class="timel"></image>
  187. <view class="listr">
  188. <view class="listrt">
  189. {{ite.createTime}}
  190. <text v-if="ite.createType" class="type " :class="ite.createType==2?'bg2':'bg1'">
  191. {{ite.createType==2?'老师':'家长'}}</text>
  192. <view class="flex1"></view>
  193. <view class="delboxs" v-if="checkPermi(['live:old:remove'])" @click="getDel(ite.liveId)">删除</view>
  194. </view>
  195. <view class="listrx flext" v-if="ite.height">
  196. <view class="ltit">身高:</view>
  197. <view class="ltxt">{{ite.height}}cm</view>
  198. </view>
  199. <view class="listrx flext" v-if="ite.weight">
  200. <view class="ltit">体重:</view>
  201. <view class="ltxt">{{ite.weight}}kg</view>
  202. </view>
  203. </view>
  204. </view>
  205. </view>
  206. </view>
  207. </view>
  208. </block>
  209. <!-- 请假 -->
  210. <block v-if="datype==7">
  211. <view class="time" v-for="(lite,lidx) in datalist" :key="lidx">
  212. <view class="time_t" @click="getLook(lidx)" :class="lite.check?'act':''">
  213. <view>{{lite.ayear}}年<text>{{lite.amonth}}月</text></view>
  214. <image :src="timeup" class="timeup"></image>
  215. </view>
  216. <view v-if="lite.check">
  217. <view class="timebox" v-for="(ite,idx) in lite.children" :key="idx">
  218. <view class="list">
  219. <image :src="timel" class="timel"></image>
  220. <view class="listr">
  221. <view class="listrt">
  222. {{ite.submitTime}}
  223. <!-- <text v-if="ite.createType" class="type " :class="ite.createType==2?'bg2':'bg1'">
  224. {{ite.createType==2?'老师':'家长'}}</text> -->
  225. <view class="flex1"></view>
  226. <!-- <view class="delboxs" v-if="checkPermi(['system:leave:remove'])" @click="getDel(ite.id)">删除</view> -->
  227. </view>
  228. <view class="listrx flext" v-if="roles!='parents'">
  229. <view class="ltit">姓名:</view>
  230. <view class="ltxt">{{ite.absenteeName}}</view>
  231. </view>
  232. <view class="listrx flext">
  233. <view class="ltit">时间:</view>
  234. <view class="ltxt">{{ite.startTime}} 至 {{ite.endTime}}</view>
  235. </view>
  236. <view class="listrx flext">
  237. <view class="ltit">类别:</view>
  238. <view class="ltxt">{{kaType(ite.category,qjlxrange)}}</view>
  239. </view>
  240. <view class="listrx flext">
  241. <view class="ltit">描述:</view>
  242. <view class="ltxt">{{ite.reason}}</view>
  243. </view>
  244. </view>
  245. </view>
  246. </view>
  247. </view>
  248. </view>
  249. </block>
  250. <!-- 预约 -->
  251. <block v-if="datype==8">
  252. <view class="shlist" v-for="(ite,idx) in datalist" :key="idx">
  253. <view class="tittop flexc mb8">
  254. <view class="f17 f5 co47 flex1">{{ite.subject}} </view>
  255. <!-- <span style="margin-left: 20rpx;">{{ite.applyName}}</span> -->
  256. <view class="f14 f5 co47 flex0">{{ite.subjectTime}}/{{kaType(ite.week,week)}}</view>
  257. </view>
  258. <view class="plr12">
  259. <view class="list flext ptb4">
  260. <view class="f15 co16 flex0 fw5">调课班级:</view>
  261. <view class="f15 co6 flex1">{{ite.subjectClass}}</view>
  262. </view>
  263. <view class="list flext ptb4">
  264. <view class="f15 co16 flex0 fw5">被调课班级:</view>
  265. <view class="f15 co6 flex1">{{ite.beSubject}}/{{ite.beSubjectTime}}/{{kaType(ite.week,week)}}</view>
  266. </view>
  267. <view class="list flext ptb4" v-if='ite.content'>
  268. <view class="f15 co16 flex0 fw5">调课内容:</view>
  269. <view class="f15 co6 flex1">{{ite.content}}</view>
  270. </view>
  271. </view>
  272. </view>
  273. </block>
  274. <view class="shax" v-if="wtdt">{{wtdt}}</view>
  275. </view>
  276. <block v-else>
  277. <no-data></no-data>
  278. </block>
  279. </view>
  280. </template>
  281. <script>
  282. import config from '@/config'
  283. const baseUrl = config.baseUrl
  284. import noData from "@/components/nodata/nodata.vue"
  285. import {selectDictValue} from '@/utils/common.js';
  286. import {
  287. checkPermi,
  288. checkRole
  289. } from "@/utils/permission"; // 权限判断函数
  290. export default {
  291. props: {
  292. datalist: {
  293. type: Array,
  294. default () {
  295. return []
  296. }
  297. },
  298. datype: {
  299. typeof: [Number, String],
  300. default () {
  301. return 0
  302. }
  303. },
  304. wtdt: {
  305. type: String,
  306. default () {
  307. return ''
  308. }
  309. },
  310. roles:{},
  311. delfalg:{
  312. type: Boolean,
  313. default () {
  314. return false
  315. }
  316. },
  317. qjlxrange:{
  318. type: Array,
  319. default () {
  320. return []
  321. }
  322. }
  323. },
  324. components: {
  325. noData
  326. },
  327. data() {
  328. return {
  329. woman:require("@/mine/static/score/woman.png"),
  330. man:require("@/mine/static/score/man.png"),
  331. year:require("@/mine/static/score/year.png"),
  332. head:require("@/mine/static/score/head.png"),
  333. health:require("@/mine/static/score/health.png"),
  334. mbg:require("@/mine/static/score/mbg.png"),
  335. wmbg:require("@/mine/static/score/wmbg.png"),
  336. cjmicong:require("@/mine/static/score/more.png"),
  337. timel:require("@/mine/static/score/timel.png"),
  338. timeup:require("@/mine/static/score/timeup.png"),
  339. daupdata:require("@/mine/static/score/daupdata.png"),
  340. baseUrl: ''
  341. }
  342. },
  343. methods: {
  344. checkPermi,
  345. checkRole,
  346. kaType(data, list) {
  347. return selectDictValue(list, data);
  348. },
  349. getDel(data) {
  350. this.$modal.confirm('确定删除该条信息?').then(() => {
  351. this.$emit('getDel', data)
  352. })
  353. },
  354. getDetail(id) {
  355. this.$emit('getDetail', id)
  356. },
  357. getHeightFn(ite,type){
  358. var obj={
  359. studentId:ite.studentId,
  360. name:ite.name,
  361. type:type
  362. }
  363. this.$emit('getHeightFn', obj)
  364. },
  365. // 查看照片
  366. getPreview(iurl, idx) {
  367. var newArr = [];
  368. iurl.forEach(ite => {
  369. var ds = this.baseUrl + ite
  370. newArr.push(ds)
  371. })
  372. uni.previewImage({
  373. urls: newArr,
  374. current: idx,
  375. success: function(data) {
  376. },
  377. fail: function(err) {
  378. console.log(err.errMsg);
  379. }
  380. });
  381. },
  382. // 展开
  383. getLook(idx){
  384. this.datalist[idx].check=!this.datalist[idx].check
  385. }
  386. },
  387. mounted() {
  388. this.baseUrl = baseUrl
  389. },
  390. onLoad: function() {
  391. }
  392. }
  393. </script>
  394. <style lang="scss" scoped>
  395. // align-items: stretch;display: flex;flex-wrap: wrap;justify-content: space-between;
  396. .stlbox{padding:40rpx 20rpx 0;}
  397. .shlist{width: 100%;background: #FFFFFF;border-radius: 14rpx;padding: 0 24rpx 24rpx;margin-bottom: 24rpx;
  398. .tittop{padding:20rpx 24rpx;border-bottom: 2rpx solid #E6E6E6;
  399. .tsbtn{min-width: 90rpx;height: 36rpx;border-radius: 4rpx;padding: 0 12rpx;box-sizing: border-box;font-size: 24rpx;line-height: 36rpx;
  400. &.co1{background: #FFEDDF;color: #E19301;}
  401. &.co2{background: #D3F7E5;color: #24D725;}
  402. &.co3{background: #FDE2E3;color: #EC1134;}
  403. }
  404. }
  405. .list{
  406. .btn{min-width: 106rpx;height: 46rpx;border-radius: 14rpx;display: flex;align-items: center;justify-content: center;box-sizing: border-box;font-size: 26rpx;margin-left: 20rpx;
  407. &.btn1{background: #1f57e6;color: #FFFFFF;}
  408. &.btn2{border: 1px solid #4775EA;color: #4775EA;}
  409. &.btn3{border: 1px solid red;color: red;}
  410. }
  411. }
  412. }
  413. // min-height: 288rpx;
  414. .stlist{width: 328rpx;border-radius: 10rpx;padding:0 20rpx;box-sizing: border-box;margin:0 12rpx 24rpx;float: left;
  415. &.bg1{background: #F5FAFE;}
  416. &.bg2{background: #FFF8FA;}
  417. .listt{padding: 24rpx 0;min-height: 130rpx;box-sizing: border-box;}
  418. .headimg{width: 80rpx;height: 80rpx;border-radius: 50%;flex: 0 0 auto;margin: 0 !important;margin-right: 14rpx !important;box-sizing: border-box;
  419. &.btn1{border: 2rpx solid #4775EA;}
  420. &.btn2{border: 2rpx solid #F59FBC;}
  421. }
  422. .tit{font-size: 30rpx;font-weight: bold;color: #161616;margin-bottom: 10rpx;}
  423. .txt{font-weight: bold;color: #161616;font-size: 24rpx;word-break: break-all; }
  424. image{flex: 0 0 auto;margin-left: 12rpx;margin-top: 10rpx;}
  425. .updimg{width: 32rpx;height: 32rpx;display: inline-flex;align-items: center;justify-content: center;
  426. image{width: 18rpx;height: 18rpx;}
  427. }
  428. .wmimg{width: 20rpx;height: 20rpx;}
  429. .mximg{width: 14rpx;height: 22rpx;}
  430. .yeimg{width: 32rpx;height: 20rpx;}
  431. .heimg{width: 20rpx;height: 22rpx;}
  432. .listf{border-top: 2rpx solid #E6E6E6;padding:20rpx 8rpx;position: relative;
  433. .ltxt{font-size: 26rpx;font-weight: 500;color: #666666;margin-bottom: 8rpx;z-index: 1;
  434. text{padding: 0 6rpx;}
  435. }
  436. .ltxtq{font-size: 26rpx;font-weight: 500;color: #FE5A0E;}
  437. .mbg{width: 96rpx;height: 96rpx;position: absolute;right: 16rpx;bottom: 20rpx;}
  438. }
  439. // 横向
  440. &.sthlist{
  441. min-height: 260rpx;width: 100%;
  442. .headimg{width: 70rpx;height: 70rpx;}
  443. .listt{padding: 24rpx 14rpx;}
  444. .listf{padding: 20rpx 16rpx;display: flex;flex-wrap: wrap;
  445. .ltxt{width: 50%;}
  446. }
  447. }
  448. }
  449. // 成绩
  450. .cjlist{width: 100%;background: #FFFFFF;border-radius: 14rpx;padding: 24rpx;margin-bottom: 30rpx;
  451. .moimg{width: 26rpx;height: 6rpx;flex: 0 0 auto;margin-left: 20rpx;}
  452. .cjlook{border-top: 2rpx solid #E5E5E5;margin-top: 20rpx;padding-top: 16rpx;
  453. view{width: 33.3%;font-size: 26rpx;font-weight: bold;color: #666666;}
  454. }
  455. }
  456. // 安全
  457. .secure{width: 100%;box-sizing: border-box;border-bottom: 2rpx solid #E5E5E5;padding: 24rpx 0 20rpx;display: flex;align-items: stretch;
  458. .sec_t{flex: 1;overflow: hidden;display: flex;flex-direction: column;
  459. .tit{font-size: 30rpx;font-weight: bold;color: #161616;width: 100%;margin-bottom: 12rpx;}
  460. .txt{font-size: 28rpx;color: #161616;width: 100%;margin-bottom: 20rpx;
  461. }
  462. .sec_x{font-size: 28rpx;color: #161616;
  463. .xxicona{width: 28rpx;height: 32rpx;margin-right: 18rpx;}
  464. .xxiconb{width: 30rpx;height: 28rpx;margin-right: 18rpx;}
  465. .xxiconc{width: 30rpx;height: 30rpx;margin-right: 18rpx;}
  466. .xxicond{width: 32rpx;height: 24rpx;margin-right: 18rpx;}
  467. .xxicondel{width: 32rpx;height: 33rpx;margin-right: 18rpx;}
  468. }
  469. }
  470. .sec_i{flex: 0 0 auto;margin-left: 28rpx;
  471. image{width: 220rpx;height: 160rpx;}
  472. }
  473. }
  474. //心理
  475. .mind{
  476. padding: 0 24rpx;width: 100%;box-sizing: border-box;background-color: #FFFFFF;border-radius: 14rpx;margin-bottom: 24rpx;
  477. .mind_top{border-bottom: 2rpx solid #E5E5E5;min-height: 72rpx;padding:16rpx 0;
  478. image{width: 26rpx;height: 6rpx;flex: 0 0 auto;margin-left: 20rpx;}
  479. }
  480. .mind_c{padding: 20rpx 0;
  481. .tit{font-size: 30rpx;color: #AAAAAA;flex: 0 0 auto;}
  482. .txt{font-size: 30rpx;color: #161616;}
  483. }
  484. }
  485. // 时间轴
  486. .time{
  487. .time_t{padding: 24rpx 0;display: flex;align-items: center;
  488. view{font-weight: bold;color: #4775EA;font-size: 32rpx;}
  489. text{margin-left:12rpx;}
  490. .timeup{width: 26rpx;height: 24rpx;margin-left: 30rpx;transition: all 0.3s; }
  491. &.act .timeup{transform: rotate(-180deg);}
  492. }
  493. // .timebox{display: none;}
  494. .list{display: flex;align-items: flex-start;padding-left: 10rpx;padding-bottom: 36rpx;position: relative;
  495. &::before{width: 2rpx;content: "";position: absolute;top: 44rpx;bottom: 14rpx;left: 26rpx;
  496. background: #DADADA;}
  497. .timel{width: 32rpx;height: 32rpx;margin-right: 20rpx;position: relative;flex: 0 0 auto;}
  498. .listr{flex:1;
  499. .listrt{line-height: 32rpx;font-size: 30rpx;font-weight: bold;color: #161616;margin-bottom: 16rpx;display: flex;align-items: center;
  500. .type{height: 30rpx;border-radius: 10rpx;margin-left: 20rpx;font-size: 24rpx;color: #FFFFFF;padding:2rpx 8rpx;
  501. &.bg1{background: #AABCE9;}
  502. &.bg2{background: #8CD5B3;}
  503. }
  504. }
  505. .listrx{padding: 6rpx 0;
  506. .ltit{flex:0 0 auto;font-size: 30rpx;color: #AAAAAA;}
  507. .ltxt{font-weight: 500;color: #161616;flex:1;font-size: 30rpx;}
  508. }
  509. }
  510. }
  511. &.act .timebox{display: block;}
  512. // &.quse_txt:last-child ul:before{display: none;}
  513. }
  514. </style>