index.vue 18 KB

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