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