index.vue 18 KB

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