index.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854
  1. <template>
  2. <view>
  3. <nav-bar title="模考预约" class="nav"></nav-bar>
  4. <view class="tabs">
  5. <view class="tab" :class="{ active: index == 1 }" data-index="1" @click="tab(1)">
  6. <view>{{ businessName}}</view>
  7. <u-icon class="icon" :class="index ==1? 'animals':''" name="arrow-down"></u-icon>
  8. </view>
  9. <view class="tab" :class="{ active: index == 2 }" data-index="2">
  10. <view class="dateRange">
  11. <picker mode="date" :value="param.startTime" :end="endDate" @change="bindDateFromChange">
  12. <view class="uni-input">{{param.startTime || '开始时间'}}</view>
  13. </picker>
  14. -
  15. <picker mode="date" :value="param.endTime" :end="endDate" @change="bindDateToChange">
  16. <view class="uni-input">{{param.endTime || '结束时间'}}</view>
  17. </picker></view>
  18. <u-icon class="icon" name="calendar"></u-icon>
  19. </view>
  20. </view>
  21. <view class="scroll">
  22. <scroll-view scroll-x="true" class="scroll-x" >
  23. <view class="content">
  24. <view v-for="(item,index) in sList" :key="index" class="scroll-tag" :class="{active:param.majorId == item.id}" @click="tagSelect(item)">{{item.categoryName}}</view>
  25. </view>
  26. </scroll-view>
  27. </view>
  28. <view class="record">
  29. <view class="item" v-for="(item,index) in mockList" :key="index">
  30. <view class="item__header">{{item.subjectName}}</view>
  31. <view class="item__body">
  32. <view class="title">
  33. <image class="img" mode="widthFix" src="/pages5/static/time.png"></image>
  34. <text>考试时间</text>
  35. </view>
  36. <view class="desc">{{$method.timestampToTime(item.examTime)}}
  37. <view> {{item.startTime}} - {{item.endTime}} </view>
  38. </view>
  39. <view class="btn" @click="appoint(item)" :class="{disabled: !canApply(item) || !item.isSubscribe }">{{item.isSubscribe?'预约考试' : '已预约'}}</view>
  40. </view>
  41. </view>
  42. </view>
  43. <view class="notice" @click="noticeModal=true">
  44. <u-icon class="icon" color="#fff" name="info-circle"></u-icon>
  45. <view class="text">模考说明</view>
  46. </view>
  47. <view class="modal" :style="{top:modalTop+'px'}" v-if="index == 1">
  48. <view class="content">
  49. <scroll-view scroll-y="true" style="height:100%">
  50. <view class="list">
  51. <view class="item" :class="param.businessId == listItem.businessId ? 'activesty' : ''" v-for="(listItem,listIndex) in businesslist" :key="listIndex" @click="testClick(listItem)">
  52. {{ listItem.educationName }}:{{ listItem.businessName }}-{{listItem.projectName}}
  53. </view>
  54. </view>
  55. </scroll-view>
  56. </view>
  57. <view class="modal_wrap" @click="index = 0"></view>
  58. </view>
  59. <u-popup class="notice__modal" v-model="noticeModal" mode="center" border-radius="24" :mask-close-able="false">
  60. <view class="notice__content">
  61. <view class="body">
  62. <scroll-view scroll-y="true" style="height:700rpx">
  63. <view class="content">
  64. <view class="bold text">模拟考试说明</view>
  65. <view>在您注册过程中,您需要完成我们的注册流程并通过点击“同意并继续”的形式在线签署以下协议及政策,请您务必仔细阅读、充分理解协议中的条款内容后再点击同意(尤其是以粗体标识的条款,因为这些条款可能会明确您应履行的义务或对您的权利有所限制)。
  66. </view>
  67. </view>
  68. </scroll-view>
  69. </view>
  70. <view class="footer">
  71. <view class="btn close" @click="noticeModal = false">我知道了</view>
  72. </view>
  73. </view>
  74. </u-popup>
  75. <view class="appoint__modal" v-if="appointModal" mode="center" border-radius="24" :mask-close-able="false">
  76. <view class="appoint__content">
  77. <view class="body">
  78. <image class="img" src="/pages5/static/img-header.png" mode="widthFix"></image>
  79. <view class="content">
  80. <view class="bold center">模拟考试说明</view>
  81. <view>
  82. 您预约的模拟考试,安排如下:
  83. </view>
  84. <view>
  85. <text class="bold text">模考场次: </text>
  86. <text class="text">{{showItem.applyName}}</text>
  87. </view>
  88. <view>
  89. <text class="bold text">项目: </text>
  90. <text class="text">{{ showItem.businessName }} {{ showItem.projectName }}</text>
  91. </view>
  92. <view>
  93. <text class="bold text">专业:</text>
  94. <text class="text">{{showItem.categoryName}}</text>
  95. </view>
  96. <view>
  97. <text class="bold text">科目:</text>
  98. <text class="text">{{showItem.subjectName}}</text>
  99. </view>
  100. <view>
  101. <text class="bold text">考试时间:</text>
  102. <text class="text">
  103. {{ $method.timestampToTime(showItem.examTime) }}
  104. {{ showItem.startTime }} - {{ showItem.endTime }}
  105. </text>
  106. </view>
  107. <view>请准时参加考试哦~</view>
  108. </view>
  109. </view>
  110. <view class="footer">
  111. <view class="btn close" @click="appointModal = false;openAppoint=true">我知道了</view>
  112. </view>
  113. </view>
  114. </view>
  115. <u-popup class="open__modal" v-model="openAppoint" mode="center" border-radius="24" :mask-close-able="false">
  116. <view class="open__content">
  117. <view class="body">
  118. <view class="content">
  119. <view class="bold center">开考提醒</view>
  120. <view class="center">
  121. 开考前10分钟提醒入场,不错过实战机会
  122. </view>
  123. </view>
  124. </view>
  125. <view class="footer">
  126. <view class="btn close" @click="closeNotice()">我知道了</view>
  127. </view>
  128. </view>
  129. </u-popup>
  130. </view>
  131. </template>
  132. <script>
  133. import {mapGetters,mapActions} from 'vuex'
  134. export default {
  135. computed:{
  136. ...mapGetters(['userInfo','sysTime'])
  137. },
  138. data() {
  139. return {
  140. tagActive:'',
  141. openAppoint:false,
  142. appointModal:false,
  143. noticeModal:false,
  144. index: 0,
  145. list: [],
  146. list1: [],
  147. mockList: [],
  148. businesslist:[],
  149. param: {
  150. endTime:'',
  151. startTime:'',
  152. pageNum: 1,
  153. pageSize: 10,
  154. businessId:'',
  155. majorId:''
  156. },
  157. isRepeat:false,
  158. total: 0,
  159. activeIndex: '',
  160. typeIndex:0,
  161. itemIndex:'',
  162. modalTop:0,
  163. endDate:'',
  164. businessName:'',
  165. subscribeId:0,
  166. nowTime:'',
  167. sList:[],
  168. showItem:{},
  169. };
  170. },
  171. async onLoad(option) {
  172. this.endDate = this.$method.timestampToTime(new Date().getTime() / 1000).replace(/-/g,'/');
  173. this.nowTime = +this.$method.timest();
  174. await this.setSystemTime();
  175. await this.mockApplyListApplyBusiness();
  176. this.mockApplyListApply();
  177. uni.getSystemInfo({
  178. success:(e) => {
  179. let info = uni.createSelectorQuery().select(".nav");
  180. info.boundingClientRect((navData) => { //data - 各种参数
  181. let info = uni.createSelectorQuery().select(".tabs");
  182. info.boundingClientRect((tabData) => { //data - 各种参数
  183. this.modalTop = navData.height + tabData.height
  184. }).exec()
  185. }).exec()
  186. }
  187. })
  188. },
  189. onPullDownRefresh() {
  190. let that = this;
  191. this.param.pageNum = 1;
  192. this.mockApplyListApply();
  193. setTimeout(function() {
  194. uni.stopPullDownRefresh();
  195. }, 500);
  196. },
  197. onReachBottom() {
  198. if (this.mockList.length < this.total) {
  199. this.param.pageNum++;
  200. this.mockApplyListApply();
  201. }
  202. },
  203. onShow() {
  204. },
  205. methods: {
  206. ...mapActions(['setSystemTime']),
  207. closeNotice() {
  208. this.mockSubscribeEdit();
  209. this.openAppoint = false;
  210. this.param.pageNum = 1;
  211. this.mockList = [];
  212. this.mockApplyListApply()
  213. },
  214. canApply(item) {
  215. console.log(item)
  216. let startTime = item.applyStartTime
  217. let endTime = item.applyEndTime
  218. let examTime = item.examTime
  219. if(this.sysTime >= startTime && this.sysTime <= endTime && this.sysTime < examTime) {
  220. return true;
  221. } else {
  222. return false;
  223. }
  224. },
  225. tagSelect(item) {
  226. this.param.majorId = item.id;
  227. this.mockList = []
  228. this.mockApplyListApply()
  229. },
  230. testClick(item) {
  231. if(!item) {
  232. this.param.businessId = ''
  233. this.businessId = ''
  234. this.index = 0;
  235. this.mockList = []
  236. this.mockApplyListApply();
  237. return;
  238. }
  239. console.log(item,'item')
  240. this.param.businessId = item.businessId
  241. this.businessName = item.educationName +':'+item.businessName +'-'+ item.projectName
  242. this.index = 0;
  243. this.mockList = []
  244. this.courseMajorList({businessId:item.businessId,projectId:item.projectId,status:1})
  245. this.mockApplyListApply();
  246. console.log(this.b)
  247. },
  248. mockApplyListApplyBusiness() {
  249. return new Promise(resolve => {
  250. this.$api.mockApplyListApplyBusiness().then(async res => {
  251. this.businesslist = res.data.rows;
  252. this.param.businessId = res.data.rows[0].businessId;
  253. this.businessName = res.data.rows[0].businessName + res.data.rows[0].projectName
  254. await this.courseMajorList({businessId:res.data.rows[0].businessId,projectId:res.data.rows[0].projectId,status:1})
  255. resolve()
  256. })
  257. })
  258. },
  259. mockApplyListApply() {
  260. let param = JSON.parse(JSON.stringify(this.param))
  261. if(param.endTime) {
  262. param.endTime = this.$method.TimeTotimestamp(param.endTime)
  263. }
  264. if(param.startTime) {
  265. param.startTime = this.$method.TimeTotimestamp(param.startTime)
  266. }
  267. this.$api.mockApplyListApply(param).then(res => {
  268. this.mockList.push(...res.data.rows)
  269. this.total = res.data.total;
  270. })
  271. },
  272. refreshByIndex() {
  273. },
  274. courseMajorList(data) {
  275. return new Promise(resolve => {
  276. let self = this;
  277. this.$api.courseMajorList(data).then(res => {
  278. if(res.data.code==200){
  279. self.sList = res.data.rows
  280. let allItem = {id:'',categoryName:'全部'}
  281. self.sList.unshift(allItem)
  282. this.param.majorId = '';
  283. resolve()
  284. }
  285. });
  286. })
  287. },
  288. appoint(item) {
  289. let canApply = this.canApply(item);
  290. console.log(canApply)
  291. if(!canApply) {
  292. uni.showToast({
  293. icon:'none',
  294. title:'不在预约时间范围'
  295. })
  296. return;
  297. }
  298. if(!item.isSubscribe) {
  299. uni.showToast({
  300. icon:'none',
  301. title:'您已预约'
  302. })
  303. return;
  304. }
  305. this.$api.mockSubscribe({
  306. applySiteExamTime:item.examTime,
  307. applySiteEndTime:item.endTime,
  308. applySiteStartTime:item.startTime,
  309. applyId:item.applyId,
  310. mockMajorSubjectId:item.mockMajorSubjectId,
  311. eachExamId:item.eachExamId
  312. // applySiteExamTime:1653899220,
  313. // applySiteEndTime:"17:27:54",
  314. // applySiteStartTime:'16:27:54',
  315. // applyId:26,
  316. // mockMajorSubjectId:49
  317. }).then(res => {
  318. console.log(res)
  319. if(res.data.code == 200) {
  320. this.showItem = item;
  321. this.appointModal = true;
  322. this.subscribeId = res.data.data;
  323. } else {
  324. uni.showToast({
  325. icon:'none',
  326. title:res.data.msg
  327. })
  328. }
  329. }).catch(err => {
  330. uni.showToast({
  331. icon:'none',
  332. title:err.data.msg
  333. })
  334. })
  335. },
  336. tab(index) {
  337. console.log(index,this.index)
  338. if(this.index == index) {
  339. this.index = 0;
  340. return;
  341. }
  342. this.index = index;
  343. console.log(this.index);
  344. },
  345. bindDateFromChange(e) {
  346. this.param.startTime = e.detail.value
  347. this.param.pageNum = 1;
  348. this.mockList = []
  349. this.mockApplyListApply();
  350. },
  351. mockSubscribeEdit() {
  352. this.$api
  353. .mockSubscribeEdit({
  354. mockRemind: 1,
  355. subscribeId: this.subscribeId,
  356. })
  357. .then((res) => {
  358. uni.showToast({
  359. icon:'none',
  360. title:'开启成功'
  361. })
  362. });
  363. },
  364. bindDateToChange(e) {
  365. this.param.endTime = e.detail.value
  366. this.param.pageNum = 1;
  367. this.mockList = []
  368. this.mockApplyListApply();
  369. }
  370. }
  371. };
  372. </script>
  373. <style>
  374. page {
  375. background: #eaeef1;
  376. }
  377. </style>
  378. <style lang="scss" scope>
  379. .animals{
  380. transition: all 0.3s;
  381. transform: rotate(180deg);
  382. }
  383. .tabs {
  384. position: fixed;
  385. left: 0;
  386. width: 100%;
  387. display: flex;
  388. height:80rpx;
  389. z-index: 10;
  390. .tab {
  391. padding:0 18rpx;
  392. flex: 1;
  393. display: flex;
  394. justify-content: space-between;
  395. height: 80rpx;
  396. line-height: 80rpx;
  397. background: #ffffff;
  398. font-size: 24rpx;
  399. color: #999999;
  400. &:nth-of-type(1) {
  401. border-right:1px solid #EEEEEE;
  402. }
  403. .uni-input {
  404. text-align: center;
  405. width:150rpx;
  406. }
  407. .dateRange {
  408. display: flex;
  409. justify-content: space-between;
  410. }
  411. &.active {
  412. color: #333333;
  413. .icon{
  414. transform: rotate(180deg);
  415. }
  416. }
  417. }
  418. }
  419. .scroll {
  420. width:100%;
  421. margin-top:80rpx;
  422. .scroll-x {
  423. .content {
  424. padding:16rpx;
  425. white-space:nowrap;
  426. .scroll-tag {
  427. display: inline-block;
  428. padding:11rpx 17rpx;
  429. background: #fff;
  430. color:#666666;
  431. margin-right:16rpx;
  432. border-radius:16rpx;;
  433. &.active {
  434. background: #007AFF;
  435. color:#fff;
  436. }
  437. }
  438. }
  439. }
  440. }
  441. .record {
  442. padding: 16rpx 16rpx;
  443. display: flex;
  444. flex-wrap: wrap;
  445. .item {
  446. margin-bottom: 16rpx;
  447. width:351rpx;
  448. background: #ffffff;
  449. border-radius: 16rpx;
  450. position: relative;
  451. &:nth-of-type(2n) {
  452. margin-left:16rpx;
  453. }
  454. &__header {
  455. padding:24rpx 16rpx;
  456. background: #F2F6FF;
  457. font-size: 30rpx;
  458. color:#007AFF;
  459. &::before {
  460. content:'';
  461. display: inline-block;
  462. width: 4rpx;
  463. height: 32rpx;
  464. background: #007AFF;
  465. margin-right:10rpx;
  466. vertical-align: middle;
  467. }
  468. }
  469. &__body {
  470. padding:16rpx;
  471. .title {
  472. font-size: 24rpx;
  473. color: #666666;
  474. line-height: 48rpx;
  475. .img {
  476. vertical-align: middle;
  477. width:32rpx;
  478. }
  479. }
  480. .desc {
  481. margin-top:10rpx;
  482. font-size: 28rpx;
  483. font-weight: bold;
  484. color: #666666;
  485. line-height: 36rpx;
  486. }
  487. .btn {
  488. margin-top:30rpx;
  489. background: #FFFFFF;
  490. border-radius: 16rpx;
  491. height: 64rpx;
  492. line-height: 62rpx;
  493. text-align: center;
  494. font-size: 28rpx;
  495. border: 1px solid #007AFF;
  496. color:#007AFF;
  497. &.disabled {
  498. border: 1px solid #D9D9D9;
  499. color:#D9D9D9;
  500. }
  501. }
  502. }
  503. }
  504. }
  505. .notice {
  506. position:fixed;
  507. right:0;
  508. top:50%;
  509. width: 48rpx;
  510. height: 200rpx;
  511. background: #52C41A;
  512. box-shadow: 0px 3rpx 16rpx 0rpx rgba(44, 121, 7, 0.5);
  513. border-radius: 24rpx;
  514. display: flex;
  515. flex-direction: column;
  516. align-items: center;
  517. justify-content: center;
  518. padding:10rpx 0;
  519. .text {
  520. flex:1;
  521. color:#fff;
  522. text-align: center;
  523. }
  524. }
  525. .modal {
  526. bottom:0;
  527. z-index: 199999999;
  528. position: fixed;
  529. left: 0;
  530. width: 100%;
  531. .content {
  532. height:80%;
  533. overflow: hidden;
  534. position: relative;
  535. z-index: 10;
  536. background: #fff;
  537. padding: 8rpx 12rpx 20rpx;
  538. display: flex;
  539. flex-wrap: wrap;
  540. .top {
  541. margin: 0 auto;
  542. width: 726rpx;
  543. height: 80rpx;
  544. background: #f5f5f5;
  545. color: #666666;
  546. border-radius: 16rpx;
  547. text-align: center;
  548. line-height: 80rpx;
  549. font-size: 32rpx;
  550. }
  551. .list {
  552. width:100%;
  553. margin-top: 16rpx;
  554. display: flex;
  555. flex-wrap: wrap;
  556. justify-content: space-between;
  557. .item {
  558. padding: 25rpx 20rpx;
  559. width: 49%;
  560. background: #f5f5f5;
  561. border-radius: 16rpx;
  562. font-size: 32rpx;
  563. color: #666666;
  564. margin: 8rpx 0;
  565. }
  566. }
  567. }
  568. .modal_wrap {
  569. position: absolute;
  570. left: 0;
  571. width: 100%;
  572. top: 0;
  573. height: 100%;
  574. background: rgba(0, 0, 0, 0.3);
  575. }
  576. }
  577. .notice__modal {
  578. .notice__content {
  579. width: 640rpx;
  580. height: 818rpx;
  581. background: #FFFFFF;
  582. display: flex;
  583. flex-direction: column;
  584. .body {
  585. flex:1;
  586. .content {
  587. padding:30rpx 40rpx 28rpx;
  588. line-height: 40rpx;
  589. font-size: 28rpx;
  590. color:#666;
  591. .bold {
  592. color:#333;
  593. font-size: 32rpx;
  594. font-weight: bold;
  595. }
  596. .center {
  597. text-align: center;
  598. }
  599. }
  600. }
  601. .footer {
  602. height:140rpx;
  603. border-top:1px solid #EEEEEE;
  604. display: flex;
  605. align-items: center;
  606. justify-content: center;
  607. .btn {
  608. margin:0 12rpx;
  609. width: 200rpx;
  610. height: 80rpx;
  611. color:#007AFF;
  612. font-size: 30rpx;
  613. text-align: center;
  614. line-height: 80rpx;
  615. background: #F5F5F5;
  616. border-radius: 40rpx 40rpx 40rpx 40rpx;
  617. &.close {
  618. color:#fff;
  619. width: 560rpx;
  620. height: 80rpx;
  621. background: #007AFF;
  622. border-radius: 40rpx 40rpx 40rpx 40rpx;
  623. }
  624. }
  625. }
  626. }
  627. }
  628. .open__modal {
  629. .open__content {
  630. width: 640rpx;
  631. background: #FFFFFF;
  632. .body {
  633. .content {
  634. padding:30rpx 40rpx 28rpx;
  635. line-height: 40rpx;
  636. font-size: 28rpx;
  637. color:#666;
  638. .bold {
  639. color:#333;
  640. font-size: 32rpx;
  641. font-weight: bold;
  642. }
  643. .center {
  644. text-align: center;
  645. }
  646. }
  647. }
  648. .footer {
  649. height:140rpx;
  650. border-top:1px solid #EEEEEE;
  651. display: flex;
  652. align-items: center;
  653. justify-content: center;
  654. .btn {
  655. margin:0 12rpx;
  656. width: 200rpx;
  657. height: 80rpx;
  658. color:#007AFF;
  659. font-size: 30rpx;
  660. text-align: center;
  661. line-height: 80rpx;
  662. background: #F5F5F5;
  663. border-radius: 40rpx 40rpx 40rpx 40rpx;
  664. &.close {
  665. color:#fff;
  666. width: 560rpx;
  667. height: 80rpx;
  668. background: #007AFF;
  669. border-radius: 40rpx 40rpx 40rpx 40rpx;
  670. }
  671. }
  672. }
  673. }
  674. }
  675. .appoint__modal {
  676. position:fixed;
  677. left:0;
  678. top:0;
  679. z-index: 9999;
  680. width:100%;
  681. height:100%;
  682. background:rgba(0,0,0,0.3);
  683. .img {
  684. width:280rpx;
  685. position:absolute;
  686. left:50%;
  687. margin-left:-140rpx;
  688. top:-70rpx;
  689. }
  690. .appoint__content {
  691. border-radius:20rpx;
  692. position:absolute;
  693. left:50%;
  694. top:50%;
  695. transform: translate3D(-50%,-50%,0);
  696. width: 640rpx;
  697. height: 867rpx;
  698. background: #FFFFFF;
  699. .body {
  700. position: relative;
  701. .content {
  702. padding:160rpx 40rpx 28rpx;
  703. line-height: 60rpx;
  704. font-size: 28rpx;
  705. color:#666;
  706. .bold {
  707. color:#333;
  708. font-size: 32rpx;
  709. font-weight: bold;
  710. }
  711. .center {
  712. text-align: center;
  713. }
  714. .text {
  715. color:#666;
  716. font-size: 28rpx;
  717. }
  718. }
  719. }
  720. .footer {
  721. height:140rpx;
  722. border-top:1px solid #EEEEEE;
  723. display: flex;
  724. align-items: center;
  725. justify-content: center;
  726. .btn {
  727. margin:0 12rpx;
  728. width: 200rpx;
  729. height: 80rpx;
  730. color:#007AFF;
  731. font-size: 30rpx;
  732. text-align: center;
  733. line-height: 80rpx;
  734. background: #F5F5F5;
  735. border-radius: 40rpx 40rpx 40rpx 40rpx;
  736. &.close {
  737. color:#fff;
  738. width: 560rpx;
  739. height: 80rpx;
  740. background: #007AFF;
  741. border-radius: 40rpx 40rpx 40rpx 40rpx;
  742. }
  743. }
  744. }
  745. }
  746. }
  747. .activesty {
  748. background: #007aff !important;
  749. color: #fff !important;
  750. }
  751. </style>