index.vue 19 KB

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