index.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944
  1. <template>
  2. <view class="index">
  3. <!-- 实名认证弹框 -->
  4. <u-popup v-model="real_show" mode="center" border-radius="42" :mask-close-able=false>
  5. <view class="real_name">
  6. <image src="../../static/images/shiming.png" mode=""></image>
  7. <view class="title">
  8. 完善您个人信息
  9. </view>
  10. <view class="text">
  11. 根据学院要求,请尽快完善个人信息
  12. 以免影响您后期的正常使用。
  13. </view>
  14. <view class="popup-bt">
  15. <view class="log_out" @click="log_out">
  16. 退出登录
  17. </view>
  18. <view class="go_perfect" @click="go_perfect">
  19. 去完善
  20. </view>
  21. </view>
  22. </view>
  23. </u-popup>
  24. <u-popup v-model="stu_show" mode="center" border-radius="42" width="85%">
  25. <view class="student-show">
  26. <view class="stu-title">
  27. 学生基本信息
  28. </view>
  29. <view class="stu-mess">
  30. <image :src="stu_detail.student ? stu_detail.student.headimg : '../../static/images/avator.png'" mode="">
  31. </image>
  32. <view class="right">
  33. <view class="stu-text">
  34. 姓名:{{stu_detail.student?stu_detail.student.truename:'--'}}
  35. </view>
  36. <view class="stu-text">
  37. 学号:{{stu_detail.student?stu_detail.student.account:'--'}}
  38. </view>
  39. <view class="stu-text">
  40. 班级:{{stu_detail.student ? stu_detail.student.class :'--'}}
  41. </view>
  42. <view class="stu-text">
  43. 手机号:{{stu_detail.student ? stu_detail.student.mobile :'--'}}
  44. </view>
  45. </view>
  46. </view>
  47. <view class="e-mail">
  48. <u-icon name="email"></u-icon>:{{stu_detail.student ? stu_detail.student.email : '--'}}
  49. </view>
  50. <view class="remark-title">
  51. {{stu_detail.student?stu_detail.student.sex==2?"她":"他":'--'}}的备注
  52. </view>
  53. <view class="remark">
  54. {{stu_detail.remark?stu_detail.remark:'暂无'}}
  55. </view>
  56. </view>
  57. </u-popup>
  58. <view class="top" v-if="swiper_list.length>0 || notice">
  59. <view class="wrap" v-if="swiper_list.length>0">
  60. <u-swiper :list="swiper_list" :border-radius='24' :height="280" @click="clickSwiper"></u-swiper>
  61. </view>
  62. <!-- 通知公告 -->
  63. <view class="ad" v-if="notice">
  64. <view class="left">
  65. {{notice.title}}
  66. </view>
  67. <view class="right" @click="adDetail(notice.id)">
  68. 前往查看
  69. </view>
  70. </view>
  71. </view>
  72. <view class="content">
  73. <view class="content-top">
  74. <view class="title">
  75. 本草时讯
  76. <view class="shadow">
  77. NEWS
  78. </view>
  79. </view>
  80. <view class="date" @click="toNews()">
  81. <view class="">
  82. <view class="uni-input">查看更多 <u-icon name="arrow-right"></u-icon>
  83. </view>
  84. </view>
  85. </view>
  86. </view>
  87. <view class="news" v-if="news.length && news.length>0">
  88. <view class="list-item" @click="adDetail(item.id)" v-for="(item,index) in news" :key='index'>
  89. <view class="tips" v-if="item.category_id==2">
  90. <text>已报名人数:</text> <text
  91. class="sign-num">{{item.sign_up_count}}/{{item.max_sign_up_count}}</text>
  92. </view>
  93. <!-- <view class="image" :style="{backgroundImage:'url('+ (item.cover_resource ? item.cover_resource.url : '../../static/images/avator.png') +')'}">
  94. </view> -->
  95. <image :src="(item.cover_resource ? item.cover_resource.url : '../../static/images/avator.png')" class="image"></image>
  96. <!-- <image :src="item.cover_resource ? item.cover_resource.url : '../../static/images/avator.png'"
  97. mode="">
  98. </image> -->
  99. <view class="right">
  100. <view class="title">
  101. {{item.title? item.title :'--'}}
  102. </view>
  103. <view class="text">
  104. <text class="tag" v-for="(tag,index) in item.tags" :key='index'>{{tag}}</text>
  105. </view>
  106. <view class="time" style="width: 100%;">
  107. <view class="">
  108. <u-icon name="clock-fill"></u-icon>{{getTime(item.created_at)}}
  109. </view>
  110. <view class="">
  111. <u-icon name="eye-fill"></u-icon>{{item.view_count? item.view_count :'--'}}
  112. </view>
  113. <view class="" style="width: 50%;white-space: nowrap;overflow: hidden;text-overflow: ellipsis">
  114. <u-icon name="account-fill"></u-icon>{{item.admin_name? item.admin_name :'--'}}
  115. </view>
  116. </view>
  117. </view>
  118. </view>
  119. </view>
  120. <view class="empty" v-else>
  121. <view class="enptyStatus">
  122. <image src="../../static/empty.png" mode=""></image>
  123. <view class="words">
  124. 暂无本草时讯
  125. </view>
  126. </view>
  127. </view>
  128. </view>
  129. <view class="content" v-if="$transformAuth('100202')">
  130. <view class="content-top">
  131. <view class="title">
  132. 我的值班
  133. <view class="shadow">
  134. MY DUTY
  135. </view>
  136. </view>
  137. <view class="date" @click="show = true">
  138. <view class="">
  139. <picker mode="date" :value="day" @change="bindDateChange">
  140. <view class="uni-input">{{day ? day :'全部'}}</view>
  141. </picker>
  142. </view>
  143. <u-icon name="arrow-down"></u-icon>
  144. </view>
  145. <view class="date1" v-if="day" @click="all">
  146. <view class="">
  147. 全部
  148. </view>
  149. </view>
  150. </view>
  151. <view class="list" v-if="list.length>0">
  152. <view class="item" v-for="(item,index) in list " :key='index'>
  153. <view class="tips" @click="stuDetail(item)" v-if="item.student">
  154. 查看学生
  155. </view>
  156. <view class="tips1" v-else style="background-color: rgba(254, 242, 204, 0.97);">
  157. 暂无预约
  158. </view>
  159. <view class="left">
  160. <view class="left-time" v-if="item.student">
  161. 距离值班
  162. <text class="time">剩余{{item.zh_time}}</text>
  163. </view>
  164. <view class="left-time1" v-else>
  165. 暂无人预约
  166. </view>
  167. <view class="left-tip" v-if="item.student">
  168. <view class="text">
  169. <image src="../../static/images/index_clock.png" mode=""></image>
  170. <text>{{item.start_time}}--{{item.end_time}}</text>
  171. </view>
  172. <view class="text">
  173. <image src="../../static/images/index_date.png" mode=""></image>
  174. <text>{{item.day}}</text>
  175. </view>
  176. </view>
  177. <view class="left-tip1" v-else>
  178. <view class="text1">
  179. 时间段:
  180. <text>{{item.start_time}}--{{item.end_time}}</text>
  181. </view>
  182. <view class="text1">
  183. 日期 :
  184. <text>{{item.day}}</text>
  185. </view>
  186. </view>
  187. </view>
  188. <view class="right">
  189. <image v-if="item.student" src="../../static/images/index_class.png" mode=""></image>
  190. <image v-else src="../../static/images/index_none.png" mode=""></image>
  191. </view>
  192. </view>
  193. </view>
  194. <view class="empty" v-else>
  195. <view class="enptyStatus">
  196. <image src="../../static/empty.png" mode=""></image>
  197. <view class="words">
  198. 暂无排班信息
  199. </view>
  200. </view>
  201. </view>
  202. </view>
  203. <tab-bar :current="0"></tab-bar>
  204. </view>
  205. </template>
  206. <script>
  207. var app = getApp()
  208. export default {
  209. data() {
  210. return {
  211. swiper_list: [],
  212. list: [], //值班列表
  213. show: false,
  214. real_show: false, //实名认证弹窗
  215. stu_show: false, //学生信息弹框
  216. day: '', //排班日期
  217. teacher_id: '',
  218. notice: '', //通知公告
  219. stu_detail: '', //查看学生详情
  220. mine: '',
  221. swiper: [],
  222. news: []
  223. }
  224. },
  225. onLoad() {
  226. if (this.is_weixin()) {
  227. this.navTitle()
  228. }
  229. this.teacher_id = this.$store.state.vuex_user.type_id
  230. //this.getAdlist()
  231. //this.getSwiper()
  232. //this.getNewList()
  233. this.getHome()
  234. },
  235. onShow() {
  236. this.getList()
  237. this.$u.get('/base/auth/me').then(res => {
  238. this.mine = res.data
  239. if (res.data.type_model.is_register == 0) {
  240. this.real_show = true
  241. } else {
  242. this.real_show = false
  243. }
  244. })
  245. },
  246. methods: {
  247. //截取时间
  248. getTime(time) {
  249. if (!time) return '--'
  250. else return time.split(' ')[0]
  251. },
  252. toNews() {
  253. uni.reLaunch({
  254. url: '/pages/activity/index'
  255. })
  256. },
  257. //获取首页接口
  258. getHome(){
  259. this.$u.get('/page/teacher/home').then(res => {
  260. // console.log(res,'首页接口')
  261. let swiper=res.data.banners
  262. this.notice = res.data.notice
  263. this.news = res.data.news
  264. let arr = []
  265. swiper.map(item => {
  266. arr.push({
  267. image: item.cover_resource.url,
  268. title: item.name
  269. })
  270. })
  271. this.swiper_list = arr
  272. })
  273. },
  274. //点击轮播图跳转
  275. clickSwiper(index) {
  276. console.log(this.swiper[index], 'ppp----------------------------------')
  277. let item = this.swiper[index]
  278. if (item.click_type == 'Link') {
  279. window.location.href = item.click_body
  280. }
  281. },
  282. //判断是否是微信
  283. is_weixin() {
  284. let ua = navigator.userAgent.toLowerCase();
  285. return ua.indexOf('micromessenger') != -1;
  286. },
  287. navTitle() {
  288. let navTitle = document.getElementsByTagName('uni-page-head');
  289. navTitle[0].style.display = 'none'
  290. },
  291. //判断是否是微信
  292. is_weixin() {
  293. let ua = navigator.userAgent.toLowerCase();
  294. return ua.indexOf('micromessenger') != -1;
  295. },
  296. navTitle() {
  297. let navTitle = document.getElementsByTagName('uni-page-head');
  298. navTitle[0].style.display = 'none'
  299. },
  300. //日期筛选全部日期
  301. all() {
  302. this.day = ''
  303. this.getList()
  304. },
  305. //获取轮播图
  306. getSwiper() {
  307. this.$u.get('/base/banner').then(res => {
  308. // console.log(res, '轮播图')
  309. let swiper = res.data.list
  310. this.swiper = res.data.list
  311. let arr = []
  312. swiper.map(item => {
  313. arr.push({
  314. image: item.cover_resource.url,
  315. title: item.name
  316. })
  317. })
  318. this.swiper_list = arr
  319. })
  320. },
  321. //通知公告列表
  322. getAdlist() {
  323. this.$u.get('/inform/information', {
  324. category_id: 1,
  325. check_status: 1,
  326. page: 1
  327. }).then(res => {
  328. this.notice = res.data.list[0]
  329. // console.log(this.notice, '通知公告')
  330. })
  331. },
  332. //本草咨询
  333. getNewList() {
  334. this.$u.get('/inform/information', {
  335. check_status: 1,
  336. per_page: 3
  337. }).then(res => {
  338. this.news = res.data.list
  339. })
  340. },
  341. //通知公告详情
  342. adDetail(id) {
  343. console.log('ppp')
  344. uni.navigateTo({
  345. url: '../activity/details?id=' + id
  346. })
  347. },
  348. //获取值班列表
  349. getList() {
  350. let data = {
  351. teacher_id: this.teacher_id,
  352. day: this.day,
  353. eg_end: 1
  354. }
  355. this.$u.get('/mentor/scheduling', data).then(res => {
  356. // console.log(res, '我的值班信息')
  357. this.list = res.data.list
  358. })
  359. },
  360. //日期选择
  361. bindDateChange: function(e) {
  362. this.day = e.target.value
  363. this.getList()
  364. },
  365. //点击去实名认证
  366. go_perfect() {
  367. uni.navigateTo({
  368. url: './realname?type=1'
  369. })
  370. },
  371. //退出登录
  372. log_out() {
  373. this.$u.get('/base/auth/logout').then(res => {
  374. this.$u.vuex('vuex_token', '');
  375. this.$u.vuex('vuex_user', '');
  376. uni.reLaunch({
  377. url: '../login/index'
  378. })
  379. })
  380. },
  381. //查看学生
  382. stuDetail(item) {
  383. // console.log(item,'item')
  384. this.stu_show = true
  385. this.stu_detail = item
  386. }
  387. }
  388. }
  389. </script>
  390. <style lang="scss">
  391. page {
  392. background-color: #F9F9FB;
  393. padding-bottom: 70px;
  394. }
  395. .news {
  396. padding: 10px 0 0;
  397. .list-item {
  398. background: #FFFFFF;
  399. opacity: 1;
  400. border-radius: 12px;
  401. padding: 12px;
  402. position: relative;
  403. display: flex;
  404. align-items: center;
  405. margin-top: 8px;
  406. .tips {
  407. position: absolute;
  408. // width: 52px;
  409. display: inline-block;
  410. padding: 0 7px;
  411. text-align: center;
  412. background: #FFAA1D;
  413. top: 0;
  414. right: 0;
  415. opacity: 1;
  416. border-radius: 0px 4px 0px 4px;
  417. font-size: 8px;
  418. color: #fff;
  419. .sign-num {
  420. font-size: 12px;
  421. font-weight: 600;
  422. }
  423. }
  424. .image {
  425. flex: 0 0 60px;
  426. width: 60px;
  427. height: 60px;
  428. margin-right: 6px;
  429. background-position: center;
  430. background-repeat: no-repeat;
  431. background-size: cover;
  432. }
  433. .right {
  434. flex: 1;
  435. padding-left: 5px;
  436. overflow: hidden;
  437. width: calc(100% - 170px);
  438. view {
  439. height: 19px;
  440. line-height: 19px;
  441. }
  442. .title {
  443. width: 220px;
  444. font-size: 14px;
  445. font-family: PingFang SC;
  446. color: #0C0C0C;
  447. opacity: 1;
  448. white-space: nowrap;
  449. /*设置不换行*/
  450. overflow: hidden;
  451. /*设置隐藏*/
  452. text-overflow: ellipsis;
  453. /*设置隐藏部分为省略号*/
  454. }
  455. .text {
  456. font-size: 12px;
  457. font-family: PingFang SC;
  458. font-weight: 400;
  459. color: #666666;
  460. margin-top: 3px;
  461. width: 230px;
  462. white-space: nowrap;
  463. /*设置不换行*/
  464. overflow: hidden;
  465. /*设置隐藏*/
  466. text-overflow: ellipsis;
  467. /*设置隐藏部分为省略号*/
  468. .tag{
  469. display: inline-block;
  470. padding:0 8px;
  471. color: #FFFFFF;
  472. background-color:#62BA88 ;
  473. font-size:10px;
  474. border-radius: 12px;
  475. margin-right:5px;
  476. overflow: hidden;
  477. text-overflow: ellipsis;
  478. white-space: nowrap;
  479. max-width: 100%;
  480. }
  481. }
  482. .time {
  483. display: flex;
  484. font-size: 10px;
  485. color: #858585;
  486. align-items: center;
  487. view{
  488. display: flex;
  489. align-items: center;
  490. .u-icon{
  491. padding-right: 4rpx;
  492. }
  493. }
  494. view:nth-child(2) {
  495. width: 50px;
  496. margin-left: 20px;
  497. margin-right: 10px;
  498. }
  499. }
  500. }
  501. }
  502. }
  503. //查看学生信息弹框
  504. .student-show {
  505. padding-bottom: 5px;
  506. .stu-title {
  507. font-size: 20px;
  508. font-family: PingFang SC;
  509. font-weight: bold;
  510. line-height: 20px;
  511. color: #282828;
  512. opacity: 1;
  513. text-align: center;
  514. padding: 20px 0 20px;
  515. }
  516. .stu-mess {
  517. display: flex;
  518. padding: 0 22px;
  519. image {
  520. height: 75px;
  521. width: 75px;
  522. margin-right: 14px;
  523. border-radius: 9px;
  524. }
  525. .right {
  526. flex: 1;
  527. .stu-text {
  528. font-size: 13px;
  529. font-family: PingFang SC;
  530. font-weight: 400;
  531. line-height: 20px;
  532. color: #282828;
  533. overflow: hidden;
  534. display: -webkit-box; //将对象作为弹性伸缩盒子模型显示;
  535. text-overflow: ellipsis; //溢出部分用省略号代替
  536. -webkit-line-clamp: 2; //设置文本显示两行
  537. -webkit-box-orient: vertical; //从上到下排列子元素;
  538. white-space: normal;
  539. }
  540. }
  541. }
  542. .e-mail {
  543. margin: 10px 22px 0px;
  544. height: 36px;
  545. line-height: 36px;
  546. font-size: 14px;
  547. font-family: PingFang SC;
  548. font-weight: bold;
  549. color: rgba(40, 40, 40, .78);
  550. border-bottom: 1px solid rgba(112, 112, 112, .06);
  551. }
  552. .remark-title {
  553. margin: 10px 22px 0px;
  554. padding: 5px;
  555. font-size: 13px;
  556. font-family: PingFang SC;
  557. font-weight: bold;
  558. line-height: 20px;
  559. color: #282828;
  560. opacity: 0.61;
  561. }
  562. .remark {
  563. margin: 0px 22px 22px;
  564. font-size: 12px;
  565. font-family: PingFang SC;
  566. font-weight: 400;
  567. line-height: 20px;
  568. color: #282828;
  569. opacity: 0.54;
  570. padding: 5px;
  571. overflow: hidden;
  572. display: -webkit-box; //将对象作为弹性伸缩盒子模型显示;
  573. text-overflow: ellipsis; //溢出部分用省略号代替
  574. -webkit-line-clamp: 3; //设置文本显示两行
  575. -webkit-box-orient: vertical; //从上到下排列子元素;
  576. white-space: normal;
  577. // border-bottom: 1px solid rgba(112, 112, 112, .06);
  578. }
  579. }
  580. //实名认证弹出层
  581. .real_name {
  582. // width: 100%;
  583. width: 320px;
  584. image {
  585. height: 196px;
  586. }
  587. .title {
  588. font-size: 18px;
  589. font-family: PingFang SC;
  590. font-weight: bold;
  591. line-height: 20px;
  592. color: #282828;
  593. opacity: 1;
  594. margin-top: 25px;
  595. margin-bottom: 13px;
  596. text-align: center;
  597. }
  598. .text {
  599. font-size: 16px;
  600. font-family: PingFang SC;
  601. font-weight: 600;
  602. line-height: 26px;
  603. color: #BCBCBC;
  604. opacity: 1;
  605. text-align: center;
  606. margin: 0 30px;
  607. }
  608. .popup-bt {
  609. display: flex;
  610. .go_perfect {
  611. height: 44px;
  612. line-height: 44px;
  613. // padding: 0 30px;
  614. margin: 28px auto;
  615. text-align: center;
  616. width: 128px;
  617. background: #3B7653;
  618. opacity: 1;
  619. border-radius: 24px;
  620. font-size: 18px;
  621. font-family: PingFang SC;
  622. font-weight: 500;
  623. color: #FFFFFF;
  624. margin-right:20px;
  625. }
  626. .log_out {
  627. height: 44px;
  628. line-height: 44px;
  629. // padding: 0 30px;
  630. margin: 28px auto;
  631. text-align: center;
  632. width: 128px;
  633. border: solid 1px #3B7653;
  634. opacity: 1;
  635. border-radius: 24px;
  636. font-size: 18px;
  637. font-family: PingFang SC;
  638. font-weight: 500;
  639. color: #3B7653;
  640. margin-left:20px;
  641. }
  642. }
  643. }
  644. .index {
  645. .enptyStatus{
  646. display: flex;
  647. justify-content: center;
  648. align-items: center;
  649. flex-direction: column;
  650. padding: 30px 10px;
  651. image{
  652. width: 80px;
  653. height: 110px;
  654. }
  655. .words{
  656. color: #ffae21;
  657. font-size: 14px;
  658. padding-top: 10px;
  659. }
  660. }
  661. .top {
  662. background: #FFFFFF;
  663. padding: 15px 15px 23px;
  664. .ad {
  665. height: 46px;
  666. margin-top: 15px;
  667. display: flex;
  668. justify-content: center;
  669. align-items: center;
  670. border-radius: 6px;
  671. padding: 0 25px;
  672. background-image: url(../../static/images/ad-bg.png);
  673. background-repeat: no-repeat;
  674. background-size: 100% auto;
  675. .left {
  676. flex: 1;
  677. font-size: 16px;
  678. font-family: PingFang HK;
  679. font-weight: 600;
  680. line-height: 20px;
  681. white-space: nowrap;
  682. /*设置不换行*/
  683. overflow: hidden;
  684. /*设置隐藏*/
  685. text-overflow: ellipsis;
  686. /*设置隐藏部分为省略号*/
  687. color: #84705D;
  688. }
  689. .right {
  690. text-align: center;
  691. padding: 3px 9px;
  692. border: 1px solid #84715E;
  693. opacity: 1;
  694. border-radius: 11px;
  695. font-size: 11px;
  696. font-family: PingFang SC;
  697. font-weight: 400;
  698. color: #9A7C5D;
  699. }
  700. }
  701. }
  702. .content {
  703. padding: 15px 15px 0;
  704. .content-top {
  705. display: flex;
  706. justify-content: center;
  707. align-items: center;
  708. .title {
  709. width: 70px;
  710. font-size: 18px;
  711. font-family: PingFang SC;
  712. font-weight: bold;
  713. color: #282828;
  714. flex: 1;
  715. opacity: 1;
  716. position: relative;
  717. .shadow {
  718. width: 70px;
  719. position: absolute;
  720. font-size: 12px;
  721. font-family: PingFang SC;
  722. font-weight: bold;
  723. line-height: 20px;
  724. color: #84705E;
  725. opacity: 0.24;
  726. top: 12px;
  727. text-align: center;
  728. }
  729. }
  730. .date {
  731. height: 17px;
  732. font-size: 12px;
  733. font-family: PingFang SC;
  734. font-weight: 400;
  735. color: #282828;
  736. text-align: center;
  737. opacity: 0.39;
  738. }
  739. .date1 {
  740. height: 19px;
  741. line-height: 19px;
  742. font-size: 12px;
  743. font-family: PingFang SC;
  744. font-weight: 400;
  745. color: #282828;
  746. background-color: #adadad;
  747. padding: 0 6px;
  748. text-align: center;
  749. opacity: 0.39;
  750. border-radius: 8px;
  751. margin-left: 5px;
  752. }
  753. }
  754. .list {
  755. margin-top: 20px;
  756. .item {
  757. position: relative;
  758. padding: 24px 18px 8px;
  759. background: #FFFFFF;
  760. opacity: 1;
  761. display: flex;
  762. justify-content: space-between;
  763. border-radius: 12px;
  764. margin-bottom: 16px;
  765. .tips {
  766. position: absolute;
  767. top: 10px;
  768. right: 0;
  769. padding: 3px 10px;
  770. background: #E8FFF2;
  771. opacity: 0.97;
  772. border-radius: 0 12px 0px 12px;
  773. color: #4FC47E;
  774. font-size: 13px;
  775. }
  776. .tips1 {
  777. position: absolute;
  778. top: 10px;
  779. right: 0;
  780. background: #E1CA8B;
  781. opacity: 0.97;
  782. padding: 3px 10px;
  783. border-radius: 0 12px 0px 12px;
  784. font-size: 12px;
  785. font-family: PingFang SC;
  786. font-weight: 400;
  787. color: #656565;
  788. opacity: 1;
  789. }
  790. .left {
  791. .left-time {
  792. display: flex;
  793. align-items: center;
  794. font-size: 14px;
  795. font-family: PingFang SC;
  796. font-weight: 400;
  797. color: #6B6B6B;
  798. opacity: 1;
  799. .time {
  800. display: inline-block;
  801. width: 77px;
  802. height: 21px;
  803. background-color: #FEF2CC;
  804. border-radius: 11px 11px 11px 0px;
  805. color: #FC7435;
  806. margin-left: 5px;
  807. text-align: center;
  808. }
  809. }
  810. .left-time1 {
  811. display: flex;
  812. align-items: center;
  813. font-size: 18px;
  814. font-family: PingFang SC;
  815. font-weight: 500;
  816. color: #6C6C6C;
  817. opacity: 1;
  818. .time1 {
  819. color: #F55965;
  820. }
  821. }
  822. .left-tip {
  823. font-size: 15px;
  824. font-family: PingFang SC;
  825. font-weight: 500;
  826. color: #888888;
  827. opacity: 1;
  828. margin-top: 13px;
  829. image {
  830. width: 14px;
  831. height: 14px;
  832. margin-right: 10px;
  833. }
  834. .text {
  835. margin-bottom: 3px;
  836. }
  837. }
  838. .left-tip1 {
  839. font-size: 15px;
  840. font-family: PingFang SC;
  841. font-weight: 500;
  842. color: #888888;
  843. opacity: 1;
  844. margin-top: 13px;
  845. .text1 {
  846. margin-bottom: 3px;
  847. }
  848. image {
  849. width: 14px;
  850. height: 14px;
  851. margin-right: 10px;
  852. }
  853. }
  854. }
  855. .right {
  856. margin-right: 15px;
  857. margin-top: 10px;
  858. image {
  859. width: 108px;
  860. height: 81px;
  861. }
  862. }
  863. }
  864. }
  865. }
  866. }
  867. </style>