index.vue 18 KB

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