index.vue 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807
  1. <template>
  2. <view class="index">
  3. <u-navbar :is-back="false" :border-bottom="false" title-color="#333333" back-icon-color="#ffffff">
  4. <view class="slot-wrap">
  5. <image src="/static/logo2.png"></image>
  6. </view>
  7. </u-navbar>
  8. <u-swiper :list="list" @change="e => current = e.current" :autoplay="false"></u-swiper>
  9. <view class="content">
  10. <view class="notice">
  11. <image src="/static/icon/msg_icon1.png" class="icon"></image>
  12. <view class="text">
  13. 您有2条新的通知
  14. </view>
  15. <view class="btn">立即查看</view>
  16. </view>
  17. <view>
  18. <!-- 日历-->
  19. <view class="calendar_card">
  20. <view class="card_box">
  21. <u-row gutter="16">
  22. <u-col span="11" v-if="false">
  23. <view>
  24. <text class="t1">距离</text>
  25. <text class="t2">二级建造师</text>
  26. <text class="t1">考试</text>
  27. <text class="t3">365</text>
  28. <text class="t1">天,继续加油哦!</text>
  29. </view>
  30. </u-col>
  31. <u-col offset="11" span="1">
  32. <view @click="jumpPlan"><image src="/static/more.png" class="img_more"></image></view>
  33. </u-col>
  34. </u-row>
  35. </view>
  36. <u-line color="#EEEEEE" />
  37. <view style="width: 100%;display: flex;justify-content:center;margin-top: 20rpx;">
  38. <view v-for="(item, index) in date" :key="index" class="card_date">{{ item }}</view>
  39. </view>
  40. <view style="width: 100%;display: flex;justify-content:center;margin-top: 40rpx;">
  41. <view v-for="(item, index) in date_num" :key="index" class="date_num">
  42. <view v-if="item.color == 0" class="date_num_color0" v-show="item.date > 0">
  43. {{ item.date }}
  44. <view v-if="item.note > 0" class="date_note">{{ item.note }}</view>
  45. <view v-if="item.dot" class="date_dot"></view>
  46. </view>
  47. <view v-if="item.color == 1" class="date_num_color1">
  48. {{ item.date }}
  49. <view v-if="item.note > 0" class="date_note">{{ item.note }}</view>
  50. <view v-if="item.dot" class="date_dot"></view>
  51. </view>
  52. <view v-if="item.color == 2" class="date_num_color2">
  53. {{ item.date }}
  54. <view v-if="item.note > 0" class="date_note">{{ item.note }}</view>
  55. <view v-if="item.dot" class="date_dot"></view>
  56. </view>
  57. <view v-if="item.color == 3" class="date_num_color3">
  58. {{ item.date }}
  59. <view v-if="item.note > 0" class="date_note">{{ item.note }}</view>
  60. <view v-if="item.dot" class="date_dot"></view>
  61. </view>
  62. </view>
  63. </view>
  64. <view style="width: 100%;margin-top: 20rpx;" v-if="workList.length > 0">
  65. <u-row gutter="16">
  66. <u-col span="2" text-align="center">
  67. <view><image src="/static/left.png" class="arr-icon" @click="preveItem"></image></view>
  68. </u-col>
  69. <u-col span="8" text-align="center">
  70. <view class="course_title" @click="jumpGoodsDetail(goodsItem)">{{ goodsItem.goodsName }}</view>
  71. </u-col>
  72. <u-col span="2" text-align="center">
  73. <view><image src="/static/right.png" class="arr-icon" @click="nextItem"></image></view>
  74. </u-col>
  75. </u-row>
  76. </view>
  77. </view>
  78. </view>
  79. <u-tabs class="tabs" :current="tabCurrent" @change="tab" :list="menu" :activeStyle="{fontSize:'36rpx'}" :inactiveStyle="{color:'#EAEEF1',fontSize:'30rpx'}" sticky></u-tabs>
  80. <view class="course-list" v-show="tabCurrent==0">
  81. <navigator class="item" v-for="(item,index) in list1" :url="'/pages2/course/detail?id='+item.goodsId">
  82. <view class="img">
  83. <image :src="$method.splitImgHost(item.coverUrl, true)"></image>
  84. <view class="time">{{item.year?item.year:''}}</view>
  85. </view>
  86. <view class="text">
  87. <view class="title">{{item.goodsName}}</view>
  88. <view class="desc">
  89. <view class="left">
  90. {{item.classHours}}
  91. <text>学时</text>
  92. </view>
  93. <view class="right">¥ {{item.standPrice}}</view>
  94. </view>
  95. </view>
  96. </navigator>
  97. </view>
  98. <view class="course-list" v-show="tabCurrent==1">
  99. <navigator class="item" v-for="(item,index) in list2" :url="'/pages2/bank/detail?id='+item.goodsId">
  100. <view class="img">
  101. <image :src="$method.splitImgHost(item.coverUrl, true)"></image>
  102. <view class="time">{{item.year?item.year:''}}</view>
  103. </view>
  104. <view class="text">
  105. <view class="title">{{item.goodsName}}</view>
  106. <view class="desc">
  107. <view class="left" v-if="false">
  108. {{item.classHours}}
  109. <text>学时</text>
  110. </view>
  111. <view class="right">¥ {{item.standPrice}}</view>
  112. </view>
  113. </view>
  114. </navigator>
  115. </view>
  116. </view>
  117. </view>
  118. </template>
  119. <script>
  120. import { mapGetters } from 'vuex';
  121. export default {
  122. components: {},
  123. data() {
  124. return {
  125. list:[
  126. 'https://cdn.uviewui.com/uview/swiper/swiper3.png',
  127. 'https://cdn.uviewui.com/uview/swiper/swiper2.png',
  128. 'https://cdn.uviewui.com/uview/swiper/swiper1.png',
  129. ],
  130. tabCurrent:0,
  131. date:['日','一','二','三','四','五','六'],
  132. date_num: [],
  133. current:0,
  134. indicatorDots: true,
  135. autoplay: true,
  136. interval: 2000,
  137. duration: 500,
  138. menu: [{
  139. name: '推荐课程',
  140. }, {
  141. name: '推荐题库',
  142. }],
  143. goodsIndex: 0,
  144. goodsItem: 0,
  145. workList: [],
  146. workTextList: [],
  147. planGoodsList: [],
  148. paramList: [
  149. {
  150. pageNum: 1,
  151. pageSize: 10,
  152. total: 0,
  153. showStatus: 0,
  154. goodsType:1
  155. },
  156. {
  157. pageNum: 1,
  158. pageSize: 10,
  159. total: 0,
  160. showStatus: 0,
  161. goodsType:2
  162. }
  163. ],
  164. list1: [],
  165. list2: [],
  166. };
  167. },
  168. onPullDownRefresh() {},
  169. onLoad(option) {
  170. this.init()
  171. this.courseList();
  172. this.bankList();
  173. },
  174. onShow() {
  175. if(this.$method.isLogin()){
  176. this.init()
  177. }
  178. },
  179. onShareAppMessage(res) {
  180. var self = this;
  181. return {
  182. title: '中正',
  183. path: `/pages/index/index?inviteCode=` + userInfo == null ? '' : userInfo.userAccount
  184. };
  185. },
  186. methods: {
  187. //课程
  188. courseList() {
  189. var self = this;
  190. var param = this.paramList[0];
  191. this.$api.goodsList(param).then(res => {
  192. self.paramList[0].total = res.data.total;
  193. self.list1.push.apply(self.list1, res.data.rows);
  194. if (self.list1.length === res.data.total) {
  195. self.paramList[0].showStatus = true;
  196. }
  197. });
  198. },
  199. //题库
  200. bankList() {
  201. var self = this;
  202. var param = this.paramList[1];
  203. this.$api.goodsList(param).then(res => {
  204. self.paramList[1].total = res.data.total;
  205. self.list2.push.apply(self.list2, res.data.rows);
  206. if (self.list2.length === res.data.total) {
  207. self.paramList[1].showStatus = true;
  208. }
  209. });
  210. },
  211. jumpGoodsDetail(item){
  212. this.$navTo.togo('/pages2/wd/course', {
  213. id: item.goodsId
  214. });
  215. },
  216. preveItem() {
  217. if (this.goodsIndex > 0) {
  218. this.goodsIndex = this.goodsIndex - 1;
  219. this.planGoodsList =this.workList[this.goodsIndex].goodsVos
  220. this.goodsItem = this.planGoodsList[0];
  221. this.dealRL(this.workList[this.goodsIndex].calendarStudyVo)
  222. }
  223. },
  224. nextItem() {
  225. if (this.goodsIndex < this.workList.length - 1) {
  226. this.goodsIndex = this.goodsIndex + 1;
  227. this.planGoodsList =this.workList[this.goodsIndex].goodsVos
  228. this.goodsItem = this.planGoodsList[0];
  229. this.dealRL(this.workList[this.goodsIndex].calendarStudyVo)
  230. }
  231. },
  232. jumpPlan() {
  233. if (!this.$method.isLogin()) {
  234. this.$navTo.togo('/pages/login/login');
  235. } else {
  236. this.$navTo.togo('/pages2/plan/index', {});
  237. }
  238. },
  239. init() {
  240. if (!this.$method.isLogin()) {
  241. //未登录
  242. this.date_num = [];
  243. this.workList = [];
  244. this.planGoodsList = [];
  245. this.initDay();
  246. } else {
  247. this.date_num = [];
  248. this.workList = [];
  249. this.planGoodsList = [];
  250. this.userPlanSeven();
  251. }
  252. },
  253. getMonDate() {
  254. var d = new Date(),
  255. day = d.getDay(),
  256. date = d.getDate();
  257. if (day == 0) return d;
  258. else d.setDate(date - day);
  259. return d;
  260. },
  261. initDay() {
  262. // d是当前星期一的日期对象
  263. var d = this.getMonDate();
  264. var arr = [];
  265. let date = new Date();
  266. let num = date.getDate();
  267. for (var i = 0; i < 7; i++) {
  268. let item = { date: d.getDate() };
  269. item.color = 0;
  270. if (d.getDate() == num) {
  271. item.color = 3;
  272. }
  273. this.date_num.push(item);
  274. d.setDate(d.getDate() + 1);
  275. }
  276. },
  277. dealRL(calendarStudyVo){
  278. let self = this
  279. self.date_num = []
  280. let date = new Date();
  281. let num = date.getDate();
  282. let month = date.getMonth() + 1;
  283. let list = [];
  284. for (let i = 0; i < calendarStudyVo.length; i++) {
  285. let item = calendarStudyVo[i];
  286. if (item.month == month) {
  287. list = item.dayStudyList;
  288. }
  289. }
  290. for (let i = 0; i < list.length; i++) {
  291. let item = list[i];
  292. item.color = 0;
  293. if (item.date == num) {
  294. item.color = 3;
  295. }
  296. if (item.perform == 1) {
  297. item.color = 1;
  298. }
  299. if (item.perform == 2) {
  300. item.color = 2;
  301. }
  302. item.note = item.studyCourseKnob;
  303. if (item.note > 0) {
  304. item.dot = true;
  305. }
  306. self.date_num.push(item);
  307. }
  308. },
  309. userPlanSeven() {
  310. let self = this;
  311. this.$api.userPlanSeven().then(result => {
  312. if (result.data.data.length>0) {
  313. self.workList = result.data.data
  314. self.planGoodsList = self.workList[0].goodsVos;
  315. if (self.planGoodsList != null && self.planGoodsList.length > 0) {
  316. self.goodsItem = self.planGoodsList[0];
  317. }
  318. self.dealRL(result.data.data[0].calendarStudyVo)
  319. /* let date = new Date();
  320. let num = date.getDate();
  321. let month = date.getMonth() + 1;
  322. let list = [];
  323. for (let i = 0; i < result.data.data[0].calendarStudyVo.length; i++) {
  324. let item = result.data.data[0].calendarStudyVo[i];
  325. if (item.month == month) {
  326. list = item.dayStudyList;
  327. }
  328. }
  329. for (let i = 0; i < list.length; i++) {
  330. let item = list[i];
  331. item.color = 0;
  332. if (item.date == num) {
  333. item.color = 3;
  334. }
  335. if (item.perform == 1) {
  336. item.color = 1;
  337. }
  338. if (item.perform == 2) {
  339. item.color = 2;
  340. }
  341. item.note = item.studyCourseKnob;
  342. if (item.note > 0) {
  343. item.dot = true;
  344. }
  345. self.date_num.push(item);
  346. } */
  347. } else {
  348. self.initDay();
  349. }
  350. });
  351. },
  352. tab(e) {
  353. this.tabCurrent = e;
  354. },
  355. updateHomePlan() {
  356. this.$refs.home.init();
  357. },
  358. beforeSwitch(index) {
  359. let that = this;
  360. if (index == 1) {
  361. this.isClick1 = true;
  362. }
  363. if (index == this.current) {
  364. return false;
  365. }
  366. if (!this.$method.isLogin()) {
  367. if (index == 0 || index == 1) {
  368. return true;
  369. } else {
  370. this.$navTo.togo('/pages/login/login');
  371. return false;
  372. }
  373. } else {
  374. if (index == 2) {
  375. this.$refs.refMy.init();
  376. }
  377. return true;
  378. }
  379. }
  380. },
  381. onReachBottom() {},
  382. computed: { ...mapGetters(['userInfo']) }
  383. };
  384. </script>
  385. <style lang="scss" scoped>
  386. .index {
  387. .slot-wrap {
  388. width:100%;
  389. display: flex;
  390. align-items: center;
  391. justify-content: flex-end;
  392. image {
  393. margin-right:98rpx;
  394. width: 178rpx;
  395. height: 31rpx;
  396. }
  397. }
  398. .swiper {
  399. width:100%;
  400. image {
  401. width:100%;
  402. }
  403. .indicator__dot {
  404. background: rgba(255, 255, 255, 1);
  405. &.indicator__dot--active {
  406. background: rgba(0, 122, 255, 1);
  407. }
  408. }
  409. }
  410. .content {
  411. padding:16rpx;
  412. background: rgba(234, 238, 241, 1);
  413. .notice {
  414. padding:0 8rpx;
  415. height: 56rpx;
  416. background: linear-gradient(-90deg, rgba(255, 209, 0, 0.3), rgba(255, 255, 255, 0.3));
  417. border-radius: 16rpx;
  418. display: flex;
  419. align-items: center;
  420. .icon {
  421. width: 40rpx;
  422. height: 40rpx;
  423. margin-right: 8rpx;
  424. }
  425. .text {
  426. flex:1;
  427. font-size: 24rpx;
  428. color: #333333;
  429. position: relative;
  430. }
  431. .btn {
  432. font-size: 24rpx;
  433. color: #007AFF;
  434. }
  435. }
  436. .date-list {
  437. margin-top:16rpx;
  438. width: 718rpx;
  439. height: 330rpx;
  440. background: #FFFFFF;
  441. border-radius: 16rpx;
  442. padding:18rpx 27rpx;
  443. .title {
  444. font-size: 30rpx;
  445. font-weight: bold;
  446. color: #007AFF;
  447. }
  448. .list {
  449. margin-top:40rpx;
  450. display: flex;
  451. justify-content: space-around;
  452. .item {
  453. .top {
  454. text-align: center;
  455. font-size: 26rpx;
  456. color: rgba(102, 102, 102, 0.6);
  457. }
  458. .bottom {
  459. text-align: center;
  460. line-height: 48rpx;
  461. margin-top:30rpx;
  462. width: 48rpx;
  463. height: 48rpx;
  464. border-radius: 50%;
  465. color:rgba(51, 51, 51, 1);
  466. font-size: 26rpx;
  467. position:relative;
  468. &.red {
  469. color:red;
  470. }
  471. &.green {
  472. color:green;
  473. }
  474. &.blue {
  475. background: #007AFF;
  476. color:#fff;
  477. }
  478. .note {
  479. width: 30rpx;
  480. height: 30rpx;
  481. border: 2rpx solid #FF9500;
  482. border-radius: 50%;
  483. position:absolute;
  484. top:-20rpx;
  485. right:-20rpx;
  486. line-height: 28rpx;
  487. text-align: center;
  488. color:#FF9500;
  489. font-size: 26rpx;
  490. }
  491. .point {
  492. margin:0 auto;
  493. width: 8rpx;
  494. height: 8rpx;
  495. background: #FF9500;
  496. border-radius: 50%;
  497. }
  498. }
  499. }
  500. }
  501. .btns {
  502. margin-top:50rpx;
  503. display: flex;
  504. align-items: center;
  505. justify-content: center;
  506. .left,.right {
  507. width: 40rpx;
  508. height: 40rpx;
  509. }
  510. .center{
  511. width: 440rpx;
  512. height: 56rpx;
  513. background: #FFFFFF;
  514. box-shadow: 0px 0px 9rpx 1rpx rgba(47, 67, 121, 0.1);
  515. border-radius: 28rpx;
  516. color:rgba(255, 149, 0, 1);
  517. line-height: 56rpx;
  518. text-align: center;
  519. font-size: 30rpx;
  520. margin:0 30rpx;
  521. }
  522. }
  523. }
  524. .tabs {
  525. /deep/ .u-tabs {
  526. background:none!important;
  527. }
  528. }
  529. .course-list {
  530. background:#fff;
  531. padding:0 8rpx;
  532. box-shadow: 0px 10rpx 9rpx 1rpx rgba(165, 196, 239, 0.1);
  533. border-radius: 16rpx ;
  534. .item {
  535. padding:8rpx 0;
  536. border-bottom:1rpx solid #eeeeee;
  537. display: flex;
  538. .img {
  539. position:relative;
  540. margin-right:10rpx;
  541. border-radius: 16rpx ;
  542. overflow: hidden;
  543. width: 320rpx;
  544. height: 155rpx;
  545. image {
  546. width:100%;
  547. height:100%;
  548. }
  549. .time {
  550. position:absolute;
  551. bottom:0;
  552. right:0;
  553. width: 80rpx;
  554. height: 32rpx;
  555. background: rgba(1, 25, 45, 0.4);
  556. color:#fff;
  557. text-align: center;
  558. line-height: 32rpx;
  559. font-size: 24rpx;
  560. border-radius: 10rpx 0px 10rpx 0px;
  561. }
  562. }
  563. .text {
  564. flex:1;
  565. padding-right:10rpx;
  566. position: relative;
  567. .title {
  568. font-size: 30rpx;
  569. color: #333333;
  570. }
  571. .desc {
  572. margin-top:40rpx;
  573. display: flex;
  574. position: absolute;
  575. bottom: 0;
  576. width: 100%;
  577. .left {
  578. flex:1;
  579. color:#333;
  580. font-size: 26rpx;
  581. text {
  582. font-size: 24rpx;
  583. color:#999;
  584. }
  585. }
  586. .right {
  587. font-size: 24rpx;
  588. font-weight: bold;
  589. color: #FF2D55;
  590. }
  591. }
  592. }
  593. }
  594. }
  595. }
  596. }
  597. .date_dot {
  598. width: 6rpx;
  599. height: 6rpx;
  600. background: #ffcc00;
  601. border-radius: 50%;
  602. margin: 0 auto;
  603. }
  604. .date_note {
  605. border-radius: 50%;
  606. width: 29rpx;
  607. height: 29rpx;
  608. border: 1px solid #ffcc00;
  609. font-size: 18rpx;
  610. color: #ffcc00;
  611. text-align: center;
  612. display: inline-block;
  613. position: absolute;
  614. top: -19rpx;
  615. right: 9rpx;
  616. }
  617. .circle_num {
  618. border-radius: 50%;
  619. width: 29rpx;
  620. height: 29rpx;
  621. border: 1px solid #ffcc00;
  622. font-size: 18rpx;
  623. color: #ffcc00;
  624. text-align: center;
  625. display: inline-block;
  626. margin: 5rpx;
  627. }
  628. .date_num {
  629. width: 14%;
  630. text-align: center;
  631. position: relative;
  632. display: inline-block;
  633. margin-top: 20rpx;
  634. }
  635. .course_title {
  636. color: #2f4379;
  637. box-shadow: 0rpx 0rpx 9rpx 1rpx rgba(47, 67, 121, 0.1);
  638. border-radius: 28rpx;
  639. width: 100%;
  640. height: 48rpx;
  641. line-height: 48rpx;
  642. overflow: hidden;
  643. text-overflow:ellipsis;
  644. white-space: nowrap;
  645. }
  646. .arr-icon {
  647. width: 40rpx;
  648. height: 40rpx;
  649. }
  650. .date_num_color0 {
  651. color: #32467b;
  652. }
  653. .date_num_color1 {
  654. color: #34c759;
  655. }
  656. .date_num_color2 {
  657. color: #ff3b30;
  658. }
  659. .date_num_color3 {
  660. color: #ffffff;
  661. background-color: #ffcc00;
  662. border-radius: 50%;
  663. width: 40rpx;
  664. height: 40rpx;
  665. display: inline-block;
  666. }
  667. .card_date {
  668. width: 14%;
  669. text-align: center;
  670. color: #7f8caf;
  671. }
  672. page {
  673. background: #ffffff;
  674. font-size: 28rpx;
  675. }
  676. .calendar_card {
  677. width: 100%;
  678. background: #ffffff;
  679. box-shadow: 0rpx 0rpx 16rpx 4rpx rgba(47, 67, 121, 0.1);
  680. border-radius: 22rpx;
  681. margin-top: 25rpx;
  682. padding-bottom: 15rpx;
  683. }
  684. .calendar_card .card_box {
  685. height: 60rpx;
  686. line-height: 60rpx;
  687. margin-left: 40rpx;
  688. }
  689. .calendar_card .t1 {
  690. color: #7f8caf;
  691. font-size: 24rpx;
  692. }
  693. .calendar_card .t2 {
  694. font-size: 24rpx;
  695. font-family: PingFang SC;
  696. font-weight: bold;
  697. color: #32467b;
  698. margin: 0 10rpx;
  699. }
  700. .calendar_card .t3 {
  701. font-size: 30rpx;
  702. font-weight: bold;
  703. color: #32467b;
  704. text-shadow: 0rpx 3rpx 3rpx rgba(0, 0, 0, 0.2);
  705. margin: 0 10rpx;
  706. }
  707. .img_more {
  708. width: 26rpx;
  709. height: 26rpx;
  710. }
  711. .flex-d {
  712. display: flex;
  713. flex-direction: column;
  714. justify-content: space-between;
  715. height: 100%;
  716. }
  717. .contentZ {
  718. flex: 1;
  719. overflow-y: auto;
  720. padding-left: 35rpx;
  721. display: flex;
  722. justify-content: space-around;
  723. }
  724. .contentZ::-webkit-scrollbar {
  725. display: none;
  726. }
  727. .fots {
  728. height: 100rpx;
  729. display: flex;
  730. align-items: center;
  731. justify-content: space-around;
  732. border-top: 1rpx solid #eee;
  733. }
  734. .leftBtns {
  735. font-size: 30rpx;
  736. color: #32467b;
  737. font-weight: 500;
  738. }
  739. .right_Btns {
  740. font-size: 30rpx;
  741. color: #fff;
  742. background-color: #32467b;
  743. border-radius: 24rpx;
  744. height: 60rpx;
  745. line-height: 60rpx;
  746. text-align: center;
  747. padding: 0rpx 23rpx;
  748. box-shadow: 0rpx 0rpx 16rpx 4rpx rgba(145, 156, 178, 0.1);
  749. }
  750. .lzs {
  751. width: 31%;
  752. margin: 0rpx 1%;
  753. max-width: 31%;
  754. }
  755. .tylsz{
  756. margin-top: 23rpx;
  757. color: #666;
  758. font-weight: 400;
  759. font-size: 24rpx;
  760. }
  761. .tylsz:first-child{
  762. text-align: center;
  763. }
  764. .activeStys{
  765. font-weight: bold;
  766. color: #32467B;
  767. }
  768. </style>