index.vue 21 KB

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