home.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850
  1. <template>
  2. <view>
  3. <view style="z-index: 999;">
  4. <u-navbar title="中正云学堂" :is-back="false">
  5. <view class="slot-wrap"><image src="/static/search.png" class="search" @click="jumpSearch"></image></view>
  6. </u-navbar>
  7. </view>
  8. <scroll-view scroll-y="true" @scroll="scroll" :style="'height: ' + windowHeight + 'px;'" @scrolltolower="scrollTolower" refresher-enabled @refresherpulling="pulling" @refresherrefresh="refresher" @refresherrestore="restore" :refresher-triggered="triggered">
  9. <view class="box">
  10. <view class="my_swiper"><u-swiper :list="list" @click="swiperClick" height="330" border-radius="25" mode="none"></u-swiper></view>
  11. <!-- 日历-->
  12. <view class="calendar_card">
  13. <view class="card_box">
  14. <u-row gutter="16">
  15. <u-col span="11" v-if="false">
  16. <view>
  17. <text class="t1">距离</text>
  18. <text class="t2">二级建造师</text>
  19. <text class="t1">考试</text>
  20. <text class="t3">365</text>
  21. <text class="t1">天,继续加油哦!</text>
  22. </view>
  23. </u-col>
  24. <u-col offset="11" span="1">
  25. <view @click="jumpPlan"><image src="/static/more.png" class="img_more"></image></view>
  26. </u-col>
  27. </u-row>
  28. </view>
  29. <u-line color="#EEEEEE" />
  30. <view style="width: 100%;display: flex;justify-content:center;margin-top: 20rpx;">
  31. <view v-for="(item, index) in date" :key="index" class="card_date">{{ item }}</view>
  32. </view>
  33. <view style="width: 100%;display: flex;justify-content:center;margin-top: 40rpx;">
  34. <view v-for="(item, index) in date_num" :key="index" class="date_num">
  35. <view v-if="item.color == 0" class="date_num_color0" v-show="item.date > 0">
  36. {{ item.date }}
  37. <view v-if="item.note > 0" class="date_note">{{ item.note }}</view>
  38. <view v-if="item.dot" class="date_dot"></view>
  39. </view>
  40. <view v-if="item.color == 1" class="date_num_color1">
  41. {{ item.date }}
  42. <view v-if="item.note > 0" class="date_note">{{ item.note }}</view>
  43. <view v-if="item.dot" class="date_dot"></view>
  44. </view>
  45. <view v-if="item.color == 2" class="date_num_color2">
  46. {{ item.date }}
  47. <view v-if="item.note > 0" class="date_note">{{ item.note }}</view>
  48. <view v-if="item.dot" class="date_dot"></view>
  49. </view>
  50. <view v-if="item.color == 3" class="date_num_color3">
  51. {{ item.date }}
  52. <view v-if="item.note > 0" class="date_note">{{ item.note }}</view>
  53. <view v-if="item.dot" class="date_dot"></view>
  54. </view>
  55. </view>
  56. </view>
  57. <view style="width: 100%;margin-top: 20rpx;" v-if="workList.length > 0">
  58. <u-row gutter="16">
  59. <u-col span="2" text-align="center">
  60. <view><image src="/static/left.png" class="arr-icon" @click="preveItem"></image></view>
  61. </u-col>
  62. <u-col span="8" text-align="center">
  63. <view class="course_title" @click="jumpCourseDetail()">{{ courseItem.courseName }}</view>
  64. </u-col>
  65. <u-col span="2" text-align="center">
  66. <view><image src="/static/right.png" class="arr-icon" @click="nextItem"></image></view>
  67. </u-col>
  68. </u-row>
  69. </view>
  70. </view>
  71. <!-- 筛选-->
  72. <view style="margin-top: 20rpx;">
  73. <u-row gutter="16">
  74. <u-col span="1">
  75. <view style="padding: 5rpx;"><image src="/static/select.png" class="arr-icon" @click="show = true"></image></view>
  76. </u-col>
  77. <u-col span="11">
  78. <view>
  79. <u-subsection
  80. @change="sectionChange"
  81. height="54"
  82. button-color="rgba(47,67,121,0.6)"
  83. bg-color="#F8F9FF"
  84. active-color="#FFFFFF"
  85. inactive-color="#636A75"
  86. :list="tab_list"
  87. :current="current"
  88. ></u-subsection>
  89. </view>
  90. </u-col>
  91. </u-row>
  92. </view>
  93. <!-- 课程列表-->
  94. <view v-if="current == 0">
  95. <view @click="jumpDetail(item)" class="list_box" v-for="(item, index) in list1" :key="index">
  96. <image :src="$method.splitImgHost(item.coverUrl)" class="list_img"></image>
  97. <view class="list_content">
  98. <view style="margin-left: 280rpx;margin-top: 10rpx;">
  99. <view class="list_title">{{ item.courseName }}</view>
  100. <view class="old_price">原价:¥{{ item.price }}</view>
  101. <view class="price">现价:¥{{ item.price }}</view>
  102. </view>
  103. </view>
  104. </view>
  105. </view>
  106. <!-- 题库列表-->
  107. <view v-if="current == 1">
  108. <view @click="jumpDetail(item)" class="list_box" v-for="(item, index) in list2" :key="index">
  109. <image :src="$method.splitImgHost(item.coverUrl)" class="list_img"></image>
  110. <view class="list_content">
  111. <view style="margin-left: 280rpx;margin-top: 10rpx;">
  112. <view class="list_title">{{ item.bankName }}</view>
  113. <view class="old_price">原价:¥{{ item.price }}</view>
  114. <view class="price">现价:¥{{ item.price }}</view>
  115. </view>
  116. </view>
  117. </view>
  118. </view>
  119. <!-- 重点列表-->
  120. <view v-if="current == 2">
  121. <view @click="jumpDetail(item)" class="list_box" v-for="(item, index) in list3" :key="index">
  122. <image :src="$method.splitImgHost(item.coverUrl)" class="list_img"></image>
  123. <view class="list_content">
  124. <view style="margin-left: 280rpx;margin-top: 10rpx;">
  125. <view class="list_title">{{ item.name }}</view>
  126. <view class="old_price">原价:¥{{ item.price }}</view>
  127. <view class="price">现价:¥{{ item.price }}</view>
  128. </view>
  129. </view>
  130. </view>
  131. </view>
  132. <view v-if="paramList[current].showStatus" style="text-align: center;margin-top: 24rpx;">到底啦~</view>
  133. </view>
  134. </scroll-view>
  135. <u-popup v-model="show" border-radius="14">
  136. <view class="flex-d" style="width: 600rpx">
  137. <view class="popup_t1">选择你需要的</view>
  138. <view class="contentZ">
  139. <view class="lzs">
  140. <view class="tylsz" v-for="(item, index) in cateChild1" :key="index" @click="item.categoryId === 0 ? activeAll(1) : active1(item)" :class="item.categoryId === cateActiveIndex1 ? 'activeStys':''">{{ item.categoryName }}</view>
  141. </view>
  142. <view class="lzs">
  143. <view class="tylsz" v-for="(item, index) in cateChild2" :key="index" @click="item.categoryId === 0 ? activeAll(2) : active2(item)" :class="item.categoryId === cateActiveIndex2 ? 'activeStys':''">{{ item.categoryName }}</view>
  144. </view>
  145. <view class="lzs">
  146. <view class="tylsz" v-for="(item, index) in cateChild3" :key="index" @click="item.categoryId === 0 ? activeAll(3) : active3(item)" :class="item.categoryId === cateActiveIndex3 ? 'activeStys':''">{{ item.categoryName }}</view>
  147. </view>
  148. </view>
  149. <view class="fots">
  150. <view class="leftBtns" @click="initLists">重置筛选</view>
  151. <view class="right_Btns" @click="searchPageInfos">确定筛选</view>
  152. </view>
  153. </view>
  154. </u-popup>
  155. </view>
  156. </template>
  157. <script>
  158. export default {
  159. name: 'home',
  160. data() {
  161. return {
  162. triggered: false,
  163. courseItem: {},
  164. cateList: [],
  165. cateChild1: [],
  166. cateChild2: [],
  167. cateChild3: [],
  168. cateActiveIndex1:0,
  169. cateActiveIndex2:null,
  170. cateActiveIndex3:null,
  171. courseIndex: 0,
  172. vertical: 'vertical',
  173. workList: [],
  174. workTextList: [],
  175. show: false,
  176. tab_list: [
  177. {
  178. name: '课程'
  179. },
  180. {
  181. name: '刷题'
  182. },
  183. {
  184. name: '重点考点'
  185. }
  186. ],
  187. current: 0,
  188. list: [],
  189. paramList: [
  190. {
  191. pageNum: 1,
  192. pageSize: 10,
  193. total: 0,
  194. showStatus: 0
  195. },
  196. {
  197. pageNum: 1,
  198. pageSize: 10,
  199. total: 0,
  200. showStatus: 0
  201. },
  202. {
  203. pageNum: 1,
  204. pageSize: 10,
  205. total: 0,
  206. showStatus: 0
  207. }
  208. ],
  209. date: ['日', '一', '二', '三', '四', '五', '六'],
  210. date_num: [],
  211. list1: [],
  212. list2: [],
  213. list3: [],
  214. windowHeight: 0
  215. };
  216. },
  217. onLoad() {},
  218. created() {
  219. this.windowHeight = uni.getSystemInfoSync().windowHeight - 100;
  220. },
  221. mounted() {
  222. this.initList();
  223. this.advertisingList();
  224. this.initCateList();
  225. },
  226. methods: {
  227. pulling(){
  228. this.triggered = true
  229. },
  230. refresher(){
  231. this.initList();
  232. this.advertisingList();
  233. this.initCateList();
  234. this.triggered = false
  235. },
  236. restore(){
  237. this.triggered = false
  238. },
  239. init() {
  240. if (!this.$method.isLogin()) {
  241. //未登录
  242. this.date_num = [];
  243. this.workList = [];
  244. this.initDay();
  245. } else {
  246. this.date_num = [];
  247. this.workList = [];
  248. this.userPlanSeven();
  249. }
  250. },
  251. initDay() {
  252. // d是当前星期一的日期对象
  253. var d = this.getMonDate();
  254. var arr = [];
  255. let date = new Date();
  256. let num = date.getDate();
  257. for (var i = 0; i < 7; i++) {
  258. let item = { date: d.getDate() };
  259. item.color = 0;
  260. if (d.getDate() == num) {
  261. item.color = 3;
  262. }
  263. this.date_num.push(item);
  264. d.setDate(d.getDate() + 1);
  265. }
  266. },
  267. preveItem() {
  268. if (this.courseIndex > 0) {
  269. this.courseIndex = this.courseIndex - 1;
  270. this.courseItem = this.workList[this.courseIndex];
  271. }
  272. },
  273. nextItem() {
  274. if (this.courseIndex < this.workList.length - 1) {
  275. this.courseIndex = this.courseIndex + 1;
  276. this.courseItem = this.workList[this.courseIndex];
  277. }
  278. },
  279. jumpCourseDetail() {
  280. this.$navTo.togo('/pages2/course/detail', {
  281. id: this.courseItem.courseId
  282. });
  283. },
  284. noticeBar(index) {
  285. let item = this.workList[index];
  286. this.$navTo.togo('/pages2/course/detail', {
  287. id: item.courseId
  288. });
  289. },
  290. userPlanSeven() {
  291. let self = this;
  292. this.$api.userPlanSeven().then(result => {
  293. console.log(result, 9889);
  294. if (result.data.data.coursePlanVo != null) {
  295. self.workList = result.data.data.coursePlanVo;
  296. if (self.workList != null && self.workList.length > 0) {
  297. self.courseItem = self.workList[self.courseIndex];
  298. }
  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 < result.data.data.calendarStudyVo.length; i++) {
  304. let item = result.data.data.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. } else {
  328. self.initDay();
  329. }
  330. });
  331. },
  332. getMonDate() {
  333. var d = new Date(),
  334. day = d.getDay(),
  335. date = d.getDate();
  336. if (day == 0) return d;
  337. else d.setDate(date - day);
  338. return d;
  339. },
  340. swiperClick(index) {
  341. let item = this.list[index];
  342. uni.navigateTo({
  343. url: item.jumpUrl
  344. });
  345. },
  346. advertisingList() {
  347. let self = this;
  348. this.$api.advertisingList().then(res => {
  349. let index;
  350. for (index in res.data.rows) {
  351. res.data.rows[index].image = self.$method.splitImgHost(res.data.rows[index].adverUrl);
  352. }
  353. self.list = res.data.rows.filter((item,index) => {
  354. return item.type === 1
  355. });
  356. });
  357. },
  358. initList() {
  359. this.paramList[0].pageNum = 1
  360. this.paramList[1].pageNum = 1
  361. this.paramList[2].pageNum = 1
  362. this.list1 = []
  363. this.list2 = []
  364. this.list3 = []
  365. this.courseList();
  366. this.bankList();
  367. this.noteList();
  368. },
  369. scroll(e) {},
  370. scrollTolower() {
  371. if (this.current == 0) {
  372. if (this.list1.length < this.paramList[0].total) {
  373. this.paramList[0].pageNum++;
  374. this.courseList();
  375. }
  376. }
  377. if (this.current == 1) {
  378. if (this.list1.length < this.paramList[1].total) {
  379. this.paramList[1].pageNum++;
  380. this.bankList();
  381. }
  382. }
  383. if (this.current == 2) {
  384. if (this.list1.length < this.paramList[2].total) {
  385. this.paramList[2].pageNum++;
  386. this.noteList();
  387. }
  388. }
  389. },
  390. sectionChange(index) {
  391. this.current = index;
  392. },
  393. //课程
  394. courseList() {
  395. var self = this;
  396. var param = this.paramList[0];
  397. this.$api.courselist(param).then(res => {
  398. self.paramList[0].total = res.data.total;
  399. self.list1.push.apply(self.list1, res.data.rows);
  400. if (self.list1.length === res.data.total) {
  401. self.paramList[0].showStatus = true;
  402. }
  403. });
  404. },
  405. //题库
  406. bankList() {
  407. var self = this;
  408. var param = this.paramList[1];
  409. this.$api.banklist(param).then(res => {
  410. self.paramList[1].total = res.data.total;
  411. self.list2.push.apply(self.list2, res.data.rows);
  412. if (self.list2.length === res.data.total) {
  413. self.paramList[1].showStatus = true;
  414. }
  415. });
  416. },
  417. //考试重点
  418. noteList() {
  419. var self = this;
  420. var param = this.paramList[2];
  421. this.$api.notelist(param).then(res => {
  422. self.paramList[2].total = res.data.total;
  423. self.list3.push.apply(self.list3, res.data.rows);
  424. if (self.list3.length === res.data.total) {
  425. self.paramList[2].showStatus = true;
  426. }
  427. });
  428. },
  429. jumpDetail(item) {
  430. if (this.current == 0) {
  431. this.$navTo.togo('/pages2/course/detail', {
  432. id: item.courseId
  433. });
  434. return;
  435. }
  436. if (this.current == 1) {
  437. this.$navTo.togo('/pages2/bank/detail', {
  438. id: item.bankId
  439. });
  440. return;
  441. }
  442. if (this.current == 2) {
  443. this.$navTo.togo('/pages2/course/keynote', {
  444. id: item.fileId
  445. });
  446. return;
  447. }
  448. },
  449. jumpPlan() {
  450. if (!this.$method.isLogin()) {
  451. this.$navTo.togo('/pages/login/login');
  452. } else {
  453. this.$navTo.togo('/pages2/plan/detail', {});
  454. }
  455. },
  456. jumpSearch() {
  457. this.$navTo.togo('/pages2/index/search', {});
  458. },
  459. initCateList() {
  460. this.$api.coursecategorylist().then(res => {
  461. if (res.data.code === 200) {
  462. this.cateList = res.data.rows;
  463. this.cateChild1 = res.data.rows.filter((item, index) => {
  464. return item.pid === 0;
  465. });
  466. if (this.cateChild1.length > 0) {
  467. this.cateChild1.unshift({
  468. categoryName: '全部',
  469. categoryId: 0
  470. });
  471. }
  472. }
  473. });
  474. },
  475. active1(options) {
  476. this.cateActiveIndex1 = options.categoryId
  477. this.cateActiveIndex2 = 0
  478. this.cateChild2 = this.cateList.filter((item, index) => {
  479. return item.pid === options.categoryId;
  480. });
  481. if (this.cateChild2.length > 0) {
  482. this.cateChild2.unshift({
  483. categoryName: '全部',
  484. categoryId: 0
  485. });
  486. }
  487. },
  488. active2(options) {
  489. this.cateActiveIndex2 = options.categoryId
  490. this.cateActiveIndex3 = 0
  491. this.cateChild3 = this.cateList.filter((item, index) => {
  492. return item.pid === options.categoryId;
  493. });
  494. if (this.cateChild3.length > 0) {
  495. this.cateChild3.unshift({
  496. categoryName: '全部',
  497. categoryId: 0
  498. });
  499. }
  500. },
  501. active3(options) {
  502. this.cateActiveIndex3 = options.categoryId
  503. // this.cateChild2 = this.cateList.filter((item,index) => {
  504. // return item.pid === options.categoryId
  505. // })
  506. },
  507. activeAll(int) {
  508. if (int === 1) {
  509. this.cateActiveIndex1 = 0
  510. this.cateChild2 = [];
  511. }
  512. if (int === 2) {
  513. this.cateActiveIndex2 = 0
  514. this.cateChild3 = [];
  515. }
  516. if (int === 3) {
  517. this.cateActiveIndex3 = 0
  518. // this.cateChild2 = []
  519. }
  520. },
  521. initLists(){
  522. this.paramList[0].categoryId = ''
  523. this.paramList[1].categoryId = ''
  524. this.paramList[2].categoryId = ''
  525. this.cateChild2 = []
  526. this.cateChild3 = []
  527. this.cateActiveIndex1 = 0
  528. this.cateActiveIndex2 = null
  529. this.cateActiveIndex3 = null
  530. },
  531. searchPageInfos(){
  532. if(this.cateActiveIndex1 === null || this.cateActiveIndex1 === 0){
  533. this.show = false
  534. this.alint()
  535. }else{
  536. if(this.cateActiveIndex2 === 0 || this.cateActiveIndex2 === null){
  537. this.paramList[0].categoryId = this.cateActiveIndex1
  538. this.paramList[1].categoryId = this.cateActiveIndex1
  539. this.paramList[2].categoryId = this.cateActiveIndex1
  540. this.show = false
  541. this.alint()
  542. }else{
  543. if(this.cateActiveIndex3 === 0 || this.cateActiveIndex3 === null){
  544. this.paramList[0].categoryId = this.cateActiveIndex2
  545. this.paramList[1].categoryId = this.cateActiveIndex2
  546. this.paramList[2].categoryId = this.cateActiveIndex2
  547. this.show = false
  548. this.alint()
  549. }else{
  550. this.paramList[0].categoryId = this.cateActiveIndex3
  551. this.paramList[1].categoryId = this.cateActiveIndex3
  552. this.paramList[2].categoryId = this.cateActiveIndex3
  553. this.show = false
  554. this.alint()
  555. }
  556. }
  557. }
  558. },
  559. alint(){
  560. this.courseListint()
  561. this.bankListint()
  562. this.noteListint()
  563. },
  564. //课程
  565. courseListint() {
  566. var self = this;
  567. var param = this.paramList[0];
  568. this.$api.courselist(param).then(res => {
  569. self.paramList[0].total = res.data.total;
  570. self.list1 = res.data.rows
  571. if (self.list1.length === res.data.total) {
  572. self.paramList[0].showStatus = true;
  573. }
  574. });
  575. },
  576. //题库
  577. bankListint() {
  578. var self = this;
  579. var param = this.paramList[1];
  580. this.$api.banklist(param).then(res => {
  581. self.paramList[1].total = res.data.total;
  582. self.list2 = res.data.rows
  583. if (self.list2.length === res.data.total) {
  584. self.paramList[1].showStatus = true;
  585. }
  586. });
  587. },
  588. //考试重点
  589. noteListint() {
  590. var self = this;
  591. var param = this.paramList[2];
  592. this.$api.notelist(param).then(res => {
  593. self.paramList[2].total = res.data.total;
  594. self.list3 = res.data.rows
  595. if (self.list3.length === res.data.total) {
  596. self.paramList[2].showStatus = true;
  597. }
  598. });
  599. },
  600. }
  601. };
  602. </script>
  603. <style scoped>
  604. .search {
  605. width: 40rpx;
  606. height: 40rpx;
  607. margin-left: 30rpx;
  608. }
  609. .slot-wrap {
  610. display: flex;
  611. align-items: center;
  612. }
  613. .popup_t1 {
  614. padding-left: 35rpx;
  615. border-bottom: 1rpx solid #eee;
  616. height: 57rpx;
  617. margin-top: 86rpx;
  618. font-weight: bold;
  619. color: #131b31;
  620. font-size: 30rpx;
  621. }
  622. .price {
  623. font-size: 20rpx;
  624. font-family: PingFang SC;
  625. font-weight: bold;
  626. color: #ff0000;
  627. margin-top: 8rpx;
  628. }
  629. .old_price {
  630. font-size: 24rpx;
  631. font-family: PingFang SC;
  632. font-weight: bold;
  633. text-decoration: line-through;
  634. color: #999999;
  635. margin-top: 8rpx;
  636. }
  637. .list_title {
  638. font-size: 24rpx;
  639. font-family: PingFang SC;
  640. font-weight: bold;
  641. color: #2f4379;
  642. }
  643. .list_content {
  644. width: 656rpx;
  645. height: 134rpx;
  646. background: #ffffff;
  647. box-shadow: 0rpx 0rpx 16rpx 4rpx rgba(47, 67, 121, 0.1);
  648. border-radius: 24rpx;
  649. position: absolute;
  650. top: 20rpx;
  651. left: 20rpx;
  652. }
  653. .list_box {
  654. position: relative;
  655. width: 100%;
  656. margin-top: 30rpx;
  657. }
  658. .list_img {
  659. width: 278rpx;
  660. height: 134rpx;
  661. z-index: 100;
  662. position: relative;
  663. }
  664. .course_title {
  665. color: #2f4379;
  666. box-shadow: 0rpx 0rpx 9rpx 1rpx rgba(47, 67, 121, 0.1);
  667. border-radius: 28rpx;
  668. width: 100%;
  669. height: 48rpx;
  670. line-height: 48rpx;
  671. }
  672. .arr-icon {
  673. width: 40rpx;
  674. height: 40rpx;
  675. }
  676. .wrap {
  677. padding: 24rpx;
  678. }
  679. .u-row {
  680. margin: 40rpx 0;
  681. }
  682. .date_dot {
  683. width: 6rpx;
  684. height: 6rpx;
  685. background: #ffcc00;
  686. border-radius: 50%;
  687. margin: 0 auto;
  688. }
  689. .date_note {
  690. border-radius: 50%;
  691. width: 29rpx;
  692. height: 29rpx;
  693. border: 1px solid #ffcc00;
  694. font-size: 18rpx;
  695. color: #ffcc00;
  696. text-align: center;
  697. display: inline-block;
  698. position: absolute;
  699. top: -19rpx;
  700. right: 9rpx;
  701. }
  702. .circle_num {
  703. border-radius: 50%;
  704. width: 29rpx;
  705. height: 29rpx;
  706. border: 1px solid #ffcc00;
  707. font-size: 18rpx;
  708. color: #ffcc00;
  709. text-align: center;
  710. display: inline-block;
  711. margin: 5rpx;
  712. }
  713. .date_num {
  714. width: 14%;
  715. text-align: center;
  716. position: relative;
  717. display: inline-block;
  718. margin-top: 20rpx;
  719. }
  720. .date_num_color0 {
  721. color: #32467b;
  722. }
  723. .date_num_color1 {
  724. color: #34c759;
  725. }
  726. .date_num_color2 {
  727. color: #ff3b30;
  728. }
  729. .date_num_color3 {
  730. color: #ffffff;
  731. background-color: #ffcc00;
  732. border-radius: 50%;
  733. width: 40rpx;
  734. height: 40rpx;
  735. display: inline-block;
  736. }
  737. .card_date {
  738. width: 14%;
  739. text-align: center;
  740. color: #7f8caf;
  741. }
  742. page {
  743. background: #ffffff;
  744. font-size: 28rpx;
  745. }
  746. .calendar_card {
  747. width: 100%;
  748. background: #ffffff;
  749. box-shadow: 0rpx 0rpx 16rpx 4rpx rgba(47, 67, 121, 0.1);
  750. border-radius: 22rpx;
  751. margin-top: 25rpx;
  752. padding-bottom: 15rpx;
  753. }
  754. .box {
  755. margin: 30rpx;
  756. }
  757. .my_swiper {
  758. box-shadow: 0rpx 20rpx 16rpx 4rpx rgba(47, 67, 121, 0.08);
  759. border-radius: 25rpx;
  760. }
  761. .calendar_card .card_box {
  762. height: 60rpx;
  763. line-height: 60rpx;
  764. margin-left: 40rpx;
  765. }
  766. .calendar_card .t1 {
  767. color: #7f8caf;
  768. font-size: 24rpx;
  769. }
  770. .calendar_card .t2 {
  771. font-size: 24rpx;
  772. font-family: PingFang SC;
  773. font-weight: bold;
  774. color: #32467b;
  775. margin: 0 10rpx;
  776. }
  777. .calendar_card .t3 {
  778. font-size: 30rpx;
  779. font-weight: bold;
  780. color: #32467b;
  781. text-shadow: 0rpx 3rpx 3rpx rgba(0, 0, 0, 0.2);
  782. margin: 0 10rpx;
  783. }
  784. .img_more {
  785. width: 26rpx;
  786. height: 26rpx;
  787. }
  788. .flex-d {
  789. display: flex;
  790. flex-direction: column;
  791. justify-content: space-between;
  792. height: 100%;
  793. }
  794. .contentZ {
  795. flex: 1;
  796. overflow-y: auto;
  797. padding-left: 35rpx;
  798. display: flex;
  799. justify-content: space-around;
  800. }
  801. .contentZ::-webkit-scrollbar {
  802. display: none;
  803. }
  804. .fots {
  805. height: 100rpx;
  806. display: flex;
  807. align-items: center;
  808. justify-content: space-around;
  809. border-top: 1rpx solid #eee;
  810. }
  811. .leftBtns {
  812. font-size: 30rpx;
  813. color: #32467b;
  814. font-weight: 500;
  815. }
  816. .right_Btns {
  817. font-size: 30rpx;
  818. color: #fff;
  819. background-color: #32467b;
  820. border-radius: 24rpx;
  821. height: 60rpx;
  822. line-height: 60rpx;
  823. text-align: center;
  824. padding: 0rpx 23rpx;
  825. box-shadow: 0rpx 0rpx 16rpx 4rpx rgba(145, 156, 178, 0.1);
  826. }
  827. .lzs {
  828. width: 31%;
  829. margin: 0rpx 1%;
  830. max-width: 31%;
  831. }
  832. .tylsz{
  833. margin-top: 23rpx;
  834. color: #666;
  835. font-weight: 400;
  836. font-size: 24rpx;
  837. }
  838. .tylsz:first-child{
  839. text-align: center;
  840. }
  841. .activeStys{
  842. font-weight: bold;
  843. color: #32467B;
  844. }
  845. </style>