home.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844
  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.courseList();
  360. this.bankList();
  361. this.noteList();
  362. },
  363. scroll(e) {},
  364. scrollTolower() {
  365. if (this.current == 0) {
  366. if (this.list1.length < this.paramList[0].total) {
  367. this.paramList[0].pageNum++;
  368. this.courseList();
  369. }
  370. }
  371. if (this.current == 1) {
  372. if (this.list1.length < this.paramList[1].total) {
  373. this.paramList[1].pageNum++;
  374. this.bankList();
  375. }
  376. }
  377. if (this.current == 2) {
  378. if (this.list1.length < this.paramList[2].total) {
  379. this.paramList[2].pageNum++;
  380. this.noteList();
  381. }
  382. }
  383. },
  384. sectionChange(index) {
  385. this.current = index;
  386. },
  387. //课程
  388. courseList() {
  389. var self = this;
  390. var param = this.paramList[0];
  391. this.$api.courselist(param).then(res => {
  392. self.paramList[0].total = res.data.total;
  393. self.list1.push.apply(self.list1, res.data.rows);
  394. if (self.list1.length === res.data.total) {
  395. self.paramList[0].showStatus = true;
  396. }
  397. });
  398. },
  399. //题库
  400. bankList() {
  401. var self = this;
  402. var param = this.paramList[1];
  403. this.$api.banklist(param).then(res => {
  404. self.paramList[1].total = res.data.total;
  405. self.list2.push.apply(self.list2, res.data.rows);
  406. if (self.list2.length === res.data.total) {
  407. self.paramList[1].showStatus = true;
  408. }
  409. });
  410. },
  411. //考试重点
  412. noteList() {
  413. var self = this;
  414. var param = this.paramList[2];
  415. this.$api.notelist(param).then(res => {
  416. self.paramList[2].total = res.data.total;
  417. self.list3.push.apply(self.list3, res.data.rows);
  418. if (self.list3.length === res.data.total) {
  419. self.paramList[2].showStatus = true;
  420. }
  421. });
  422. },
  423. jumpDetail(item) {
  424. if (this.current == 0) {
  425. this.$navTo.togo('/pages2/course/detail', {
  426. id: item.courseId
  427. });
  428. return;
  429. }
  430. if (this.current == 1) {
  431. this.$navTo.togo('/pages2/bank/detail', {
  432. id: item.bankId
  433. });
  434. return;
  435. }
  436. if (this.current == 2) {
  437. this.$navTo.togo('/pages2/course/keynote', {
  438. id: item.fileId
  439. });
  440. return;
  441. }
  442. },
  443. jumpPlan() {
  444. if (!this.$method.isLogin()) {
  445. this.$navTo.togo('/pages/login/login');
  446. } else {
  447. this.$navTo.togo('/pages2/plan/detail', {});
  448. }
  449. },
  450. jumpSearch() {
  451. this.$navTo.togo('/pages2/index/search', {});
  452. },
  453. initCateList() {
  454. this.$api.coursecategorylist().then(res => {
  455. if (res.data.code === 200) {
  456. this.cateList = res.data.rows;
  457. this.cateChild1 = res.data.rows.filter((item, index) => {
  458. return item.pid === 0;
  459. });
  460. if (this.cateChild1.length > 0) {
  461. this.cateChild1.unshift({
  462. categoryName: '全部',
  463. categoryId: 0
  464. });
  465. }
  466. }
  467. });
  468. },
  469. active1(options) {
  470. this.cateActiveIndex1 = options.categoryId
  471. this.cateActiveIndex2 = 0
  472. this.cateChild2 = this.cateList.filter((item, index) => {
  473. return item.pid === options.categoryId;
  474. });
  475. if (this.cateChild2.length > 0) {
  476. this.cateChild2.unshift({
  477. categoryName: '全部',
  478. categoryId: 0
  479. });
  480. }
  481. },
  482. active2(options) {
  483. this.cateActiveIndex2 = options.categoryId
  484. this.cateActiveIndex3 = 0
  485. this.cateChild3 = this.cateList.filter((item, index) => {
  486. return item.pid === options.categoryId;
  487. });
  488. if (this.cateChild3.length > 0) {
  489. this.cateChild3.unshift({
  490. categoryName: '全部',
  491. categoryId: 0
  492. });
  493. }
  494. },
  495. active3(options) {
  496. this.cateActiveIndex3 = options.categoryId
  497. // this.cateChild2 = this.cateList.filter((item,index) => {
  498. // return item.pid === options.categoryId
  499. // })
  500. },
  501. activeAll(int) {
  502. if (int === 1) {
  503. this.cateActiveIndex1 = 0
  504. this.cateChild2 = [];
  505. }
  506. if (int === 2) {
  507. this.cateActiveIndex2 = 0
  508. this.cateChild3 = [];
  509. }
  510. if (int === 3) {
  511. this.cateActiveIndex3 = 0
  512. // this.cateChild2 = []
  513. }
  514. },
  515. initLists(){
  516. this.paramList[0].categoryId = ''
  517. this.paramList[1].categoryId = ''
  518. this.paramList[2].categoryId = ''
  519. this.cateChild2 = []
  520. this.cateChild3 = []
  521. this.cateActiveIndex1 = 0
  522. this.cateActiveIndex2 = null
  523. this.cateActiveIndex3 = null
  524. },
  525. searchPageInfos(){
  526. if(this.cateActiveIndex1 === null || this.cateActiveIndex1 === 0){
  527. this.show = false
  528. this.alint()
  529. }else{
  530. if(this.cateActiveIndex2 === 0 || this.cateActiveIndex2 === null){
  531. this.paramList[0].categoryId = this.cateActiveIndex1
  532. this.paramList[1].categoryId = this.cateActiveIndex1
  533. this.paramList[2].categoryId = this.cateActiveIndex1
  534. this.show = false
  535. this.alint()
  536. }else{
  537. if(this.cateActiveIndex3 === 0 || this.cateActiveIndex3 === null){
  538. this.paramList[0].categoryId = this.cateActiveIndex2
  539. this.paramList[1].categoryId = this.cateActiveIndex2
  540. this.paramList[2].categoryId = this.cateActiveIndex2
  541. this.show = false
  542. this.alint()
  543. }else{
  544. this.paramList[0].categoryId = this.cateActiveIndex3
  545. this.paramList[1].categoryId = this.cateActiveIndex3
  546. this.paramList[2].categoryId = this.cateActiveIndex3
  547. this.show = false
  548. this.alint()
  549. }
  550. }
  551. }
  552. },
  553. alint(){
  554. this.courseListint()
  555. this.bankListint()
  556. this.noteListint()
  557. },
  558. //课程
  559. courseListint() {
  560. var self = this;
  561. var param = this.paramList[0];
  562. this.$api.courselist(param).then(res => {
  563. self.paramList[0].total = res.data.total;
  564. self.list1 = res.data.rows
  565. if (self.list1.length === res.data.total) {
  566. self.paramList[0].showStatus = true;
  567. }
  568. });
  569. },
  570. //题库
  571. bankListint() {
  572. var self = this;
  573. var param = this.paramList[1];
  574. this.$api.banklist(param).then(res => {
  575. self.paramList[1].total = res.data.total;
  576. self.list2 = res.data.rows
  577. if (self.list2.length === res.data.total) {
  578. self.paramList[1].showStatus = true;
  579. }
  580. });
  581. },
  582. //考试重点
  583. noteListint() {
  584. var self = this;
  585. var param = this.paramList[2];
  586. this.$api.notelist(param).then(res => {
  587. self.paramList[2].total = res.data.total;
  588. self.list3 = res.data.rows
  589. if (self.list3.length === res.data.total) {
  590. self.paramList[2].showStatus = true;
  591. }
  592. });
  593. },
  594. }
  595. };
  596. </script>
  597. <style scoped>
  598. .search {
  599. width: 40rpx;
  600. height: 40rpx;
  601. margin-left: 30rpx;
  602. }
  603. .slot-wrap {
  604. display: flex;
  605. align-items: center;
  606. }
  607. .popup_t1 {
  608. padding-left: 35rpx;
  609. border-bottom: 1rpx solid #eee;
  610. height: 57rpx;
  611. margin-top: 86rpx;
  612. font-weight: bold;
  613. color: #131b31;
  614. font-size: 30rpx;
  615. }
  616. .price {
  617. font-size: 20rpx;
  618. font-family: PingFang SC;
  619. font-weight: bold;
  620. color: #ff0000;
  621. margin-top: 8rpx;
  622. }
  623. .old_price {
  624. font-size: 24rpx;
  625. font-family: PingFang SC;
  626. font-weight: bold;
  627. text-decoration: line-through;
  628. color: #999999;
  629. margin-top: 8rpx;
  630. }
  631. .list_title {
  632. font-size: 24rpx;
  633. font-family: PingFang SC;
  634. font-weight: bold;
  635. color: #2f4379;
  636. }
  637. .list_content {
  638. width: 656rpx;
  639. height: 134rpx;
  640. background: #ffffff;
  641. box-shadow: 0rpx 0rpx 16rpx 4rpx rgba(47, 67, 121, 0.1);
  642. border-radius: 24rpx;
  643. position: absolute;
  644. top: 20rpx;
  645. left: 20rpx;
  646. }
  647. .list_box {
  648. position: relative;
  649. width: 100%;
  650. margin-top: 30rpx;
  651. }
  652. .list_img {
  653. width: 278rpx;
  654. height: 134rpx;
  655. z-index: 100;
  656. position: relative;
  657. }
  658. .course_title {
  659. color: #2f4379;
  660. box-shadow: 0rpx 0rpx 9rpx 1rpx rgba(47, 67, 121, 0.1);
  661. border-radius: 28rpx;
  662. width: 100%;
  663. height: 48rpx;
  664. line-height: 48rpx;
  665. }
  666. .arr-icon {
  667. width: 40rpx;
  668. height: 40rpx;
  669. }
  670. .wrap {
  671. padding: 24rpx;
  672. }
  673. .u-row {
  674. margin: 40rpx 0;
  675. }
  676. .date_dot {
  677. width: 6rpx;
  678. height: 6rpx;
  679. background: #ffcc00;
  680. border-radius: 50%;
  681. margin: 0 auto;
  682. }
  683. .date_note {
  684. border-radius: 50%;
  685. width: 29rpx;
  686. height: 29rpx;
  687. border: 1px solid #ffcc00;
  688. font-size: 18rpx;
  689. color: #ffcc00;
  690. text-align: center;
  691. display: inline-block;
  692. position: absolute;
  693. top: -19rpx;
  694. right: 9rpx;
  695. }
  696. .circle_num {
  697. border-radius: 50%;
  698. width: 29rpx;
  699. height: 29rpx;
  700. border: 1px solid #ffcc00;
  701. font-size: 18rpx;
  702. color: #ffcc00;
  703. text-align: center;
  704. display: inline-block;
  705. margin: 5rpx;
  706. }
  707. .date_num {
  708. width: 14%;
  709. text-align: center;
  710. position: relative;
  711. display: inline-block;
  712. margin-top: 20rpx;
  713. }
  714. .date_num_color0 {
  715. color: #32467b;
  716. }
  717. .date_num_color1 {
  718. color: #34c759;
  719. }
  720. .date_num_color2 {
  721. color: #ff3b30;
  722. }
  723. .date_num_color3 {
  724. color: #ffffff;
  725. background-color: #ffcc00;
  726. border-radius: 50%;
  727. width: 40rpx;
  728. height: 40rpx;
  729. display: inline-block;
  730. }
  731. .card_date {
  732. width: 14%;
  733. text-align: center;
  734. color: #7f8caf;
  735. }
  736. page {
  737. background: #ffffff;
  738. font-size: 28rpx;
  739. }
  740. .calendar_card {
  741. width: 100%;
  742. background: #ffffff;
  743. box-shadow: 0rpx 0rpx 16rpx 4rpx rgba(47, 67, 121, 0.1);
  744. border-radius: 22rpx;
  745. margin-top: 25rpx;
  746. padding-bottom: 15rpx;
  747. }
  748. .box {
  749. margin: 30rpx;
  750. }
  751. .my_swiper {
  752. box-shadow: 0rpx 20rpx 16rpx 4rpx rgba(47, 67, 121, 0.08);
  753. border-radius: 25rpx;
  754. }
  755. .calendar_card .card_box {
  756. height: 60rpx;
  757. line-height: 60rpx;
  758. margin-left: 40rpx;
  759. }
  760. .calendar_card .t1 {
  761. color: #7f8caf;
  762. font-size: 24rpx;
  763. }
  764. .calendar_card .t2 {
  765. font-size: 24rpx;
  766. font-family: PingFang SC;
  767. font-weight: bold;
  768. color: #32467b;
  769. margin: 0 10rpx;
  770. }
  771. .calendar_card .t3 {
  772. font-size: 30rpx;
  773. font-weight: bold;
  774. color: #32467b;
  775. text-shadow: 0rpx 3rpx 3rpx rgba(0, 0, 0, 0.2);
  776. margin: 0 10rpx;
  777. }
  778. .img_more {
  779. width: 26rpx;
  780. height: 26rpx;
  781. }
  782. .flex-d {
  783. display: flex;
  784. flex-direction: column;
  785. justify-content: space-between;
  786. height: 100%;
  787. }
  788. .contentZ {
  789. flex: 1;
  790. overflow-y: auto;
  791. padding-left: 35rpx;
  792. display: flex;
  793. justify-content: space-around;
  794. }
  795. .contentZ::-webkit-scrollbar {
  796. display: none;
  797. }
  798. .fots {
  799. height: 100rpx;
  800. display: flex;
  801. align-items: center;
  802. justify-content: space-around;
  803. border-top: 1rpx solid #eee;
  804. }
  805. .leftBtns {
  806. font-size: 30rpx;
  807. color: #32467b;
  808. font-weight: 500;
  809. }
  810. .right_Btns {
  811. font-size: 30rpx;
  812. color: #fff;
  813. background-color: #32467b;
  814. border-radius: 24rpx;
  815. height: 60rpx;
  816. line-height: 60rpx;
  817. text-align: center;
  818. padding: 0rpx 23rpx;
  819. box-shadow: 0rpx 0rpx 16rpx 4rpx rgba(145, 156, 178, 0.1);
  820. }
  821. .lzs {
  822. width: 31%;
  823. margin: 0rpx 1%;
  824. max-width: 31%;
  825. }
  826. .tylsz{
  827. margin-top: 23rpx;
  828. color: #666;
  829. font-weight: 400;
  830. font-size: 24rpx;
  831. }
  832. .tylsz:first-child{
  833. text-align: center;
  834. }
  835. .activeStys{
  836. font-weight: bold;
  837. color: #32467B;
  838. }
  839. </style>