index.vue 21 KB

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