index.vue 18 KB

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