index.vue 50 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477
  1. <template>
  2. <view class="learnings">
  3. <nav-logo title="学习中心"></nav-logo>
  4. <u-line color="#D6D6DB" />
  5. <view class="contents">
  6. <!-- <view class="diatance">
  7. <image class="clock" src="/static/learn/clock.png" mode=""></image>
  8. <text>
  9. 一级建造师,距离考试还有
  10. </text>
  11. <u-count-down :timestamp="leftDays" :show-days="true" separator="zh"
  12. :show-hours="false" :show-minutes="false" :show-seconds="false" font-size="28"
  13. bg-color="#007AFF" separator-color="#fff" color="#fff" separator-size="28">
  14. </u-count-down>
  15. </view> -->
  16. <!-- 有学习的课程 -->
  17. <view v-if="allCourse" class="had_courses">
  18. <!-- 直播 -->
  19. <view v-if="livingLists.length" class="lives">
  20. <view
  21. v-for="(live, l_index) in livingLists"
  22. :key="l_index"
  23. class="live_item"
  24. @click="toLiveLook(live)"
  25. >
  26. <view class="live_con">
  27. <view class="live_status">
  28. <image
  29. v-if="bgShow(live.liveStartTime, live.watchStatus)"
  30. src="/static/learn/living.png"
  31. class="liv_icon"
  32. ></image>
  33. <image
  34. v-else
  35. src="/static/learn/wlive.png"
  36. class="liv_icon"
  37. ></image>
  38. <text class="status_s">{{
  39. live.liveStartTime | liveStatus(live.watchStatus)
  40. }}</text>
  41. <view
  42. class="look_bt"
  43. :class="{
  44. living:
  45. lookTimeStatus(live.liveStartTime, live.watchStatus) == 1,
  46. futuring:
  47. lookTimeStatus(live.liveStartTime, live.watchStatus) == 4,
  48. curring: [2, 3].includes(
  49. lookTimeStatus(live.liveStartTime, live.watchStatus)
  50. ),
  51. }"
  52. >
  53. <text
  54. v-if="
  55. lookTimeStatus(live.liveStartTime, live.watchStatus) == 1
  56. "
  57. >点击观看</text
  58. >
  59. <text
  60. v-if="
  61. lookTimeStatus(live.liveStartTime, live.watchStatus) == 2
  62. "
  63. >即将开播</text
  64. >
  65. <template
  66. v-if="
  67. lookTimeStatus(live.liveStartTime, live.watchStatus) == 3
  68. "
  69. >
  70. 剩余:
  71. <u-count-down
  72. :timestamp="curTimeTamp(live.liveStartTime)"
  73. :show-days="false"
  74. color="#fff"
  75. separator-color="#fff"
  76. font-size="24"
  77. separator-size="24"
  78. bg-color="#FFB102"
  79. >
  80. </u-count-down>
  81. </template>
  82. <template
  83. v-if="
  84. lookTimeStatus(live.liveStartTime, live.watchStatus) == 4
  85. "
  86. >
  87. 剩余:
  88. <u-count-down
  89. :timestamp="curTimeTamp(live.liveStartTime)"
  90. :show-days="true"
  91. separator="zh"
  92. color="#fff"
  93. separator-color="#fff"
  94. bg-color="#007AFF"
  95. :show-hours="false"
  96. :show-minutes="false"
  97. :show-seconds="false"
  98. font-size="24"
  99. separator-size="24"
  100. >
  101. </u-count-down>
  102. <u-count-down
  103. :timestamp="curTimeTamp(live.liveStartTime)"
  104. :show-days="false"
  105. color="#fff"
  106. separator-color="#fff"
  107. bg-color="#007AFF"
  108. font-size="24"
  109. separator-size="24"
  110. >
  111. </u-count-down>
  112. </template>
  113. </view>
  114. </view>
  115. <view class="liv_time">
  116. <text class="timeR">{{
  117. live.liveStartTime | formate("mm月dd日")
  118. }}</text>
  119. <text>{{ live.liveStartTime | formate("hh:mm") }}</text>
  120. </view>
  121. <view class="liv_title">{{ live.name }}</view>
  122. </view>
  123. <image
  124. v-if="bgShow(live.liveStartTime, live.watchStatus)"
  125. src="/static/learn/living_bg.png"
  126. class="my_bg"
  127. ></image>
  128. <image
  129. v-else
  130. src="/static/learn/wlive_bg.png"
  131. class="my_bg"
  132. ></image>
  133. </view>
  134. </view>
  135. <!-- 我的课程 -->
  136. <view v-if="courseLists.length" class="my_courses">
  137. <text class="titles">我的课程</text>
  138. <view
  139. v-for="(item, index) in courseLists"
  140. :key="index"
  141. class="course_item"
  142. >
  143. <view
  144. class="titlews"
  145. @click="studyIn(item.goodsId, item.gradeId, item, index)"
  146. >
  147. <view class="cou_titles">{{ item.goodsName }}</view>
  148. <view
  149. v-if="
  150. item.serviceStartTime &&
  151. item.serviceEndTime &&
  152. !item.externalLinkStatus
  153. "
  154. class="learn_ranges"
  155. >
  156. <image
  157. class="l_range"
  158. src="/static/learn/learn_range.png"
  159. ></image>
  160. 学习周期:
  161. <text class="l_time"
  162. >{{ item.serviceStartTime | formate("yyyy.mm.dd") }}-{{
  163. item.serviceEndTime | formate("yyyy.mm.dd")
  164. }}</text
  165. >
  166. </view>
  167. </view>
  168. <!-- 状态 -->
  169. <view
  170. v-if="item.goodsType == 1"
  171. class="all_status"
  172. @click="studyIn(item.goodsId, item.gradeId, item, index)"
  173. >
  174. <template v-if="!item.externalLinkStatus">
  175. <!-- 不在学习服务期 -->
  176. <template
  177. v-if="
  178. item.serviceStartTime &&
  179. (sysTime < item.serviceStartTime ||
  180. sysTime > item.serviceEndTime)
  181. "
  182. >
  183. <view
  184. class="class-warm"
  185. v-if="item.gradeId != 0 && item.gradeStatus == 1"
  186. >
  187. <view class="class-warm__text">
  188. <view class="date"> 不在学习服务期,不可以学习了哦 </view>
  189. </view>
  190. </view>
  191. </template>
  192. <template v-else>
  193. <!-- 班级有效期过了 -->
  194. <template
  195. v-if="item.classEndTime && item.classEndTime < sysTime"
  196. >
  197. <view class="class-warm">
  198. <u-icon
  199. class="class-warm__icon"
  200. size="30"
  201. color="#FF3B30"
  202. name="error-circle-fill"
  203. >
  204. </u-icon>
  205. <view class="class-warm__text">
  206. <view class="date"
  207. >班级有效期:{{
  208. $method.timestampToTime(
  209. item.classStartTime,
  210. true,
  211. true
  212. )
  213. }}
  214. -
  215. {{
  216. $method.timestampToTime(
  217. item.classEndTime,
  218. true,
  219. true
  220. )
  221. }}</view
  222. >
  223. <view class="date">班级状态:已过期 </view>
  224. <!-- <view class="date"
  225. >班级状态:已过期,有疑问请联系
  226. <text @click="call()">020-87085982</text></view
  227. > -->
  228. </view>
  229. </view>
  230. </template>
  231. <!-- 班级有效期之前 -->
  232. <template
  233. v-else-if="
  234. item.classStartTime && item.classStartTime > sysTime
  235. "
  236. >
  237. <view class="class-warm">
  238. <u-icon
  239. class="class-warm__icon"
  240. size="30"
  241. color="#FF3B30"
  242. name="error-circle-fill"
  243. >
  244. </u-icon>
  245. <view class="class-warm__text">
  246. <view class="date"
  247. >班级有效期:{{
  248. $method.timestampToTime(
  249. item.classStartTime,
  250. true,
  251. true
  252. )
  253. }}
  254. -
  255. {{
  256. $method.timestampToTime(
  257. item.classEndTime,
  258. true,
  259. true
  260. )
  261. }}</view
  262. >
  263. <view class="date">班级状态:未到学习时间 </view>
  264. <!-- <view class="date"
  265. >班级状态:未到学习时间,有疑问请联系
  266. <text @click="call()">020-87085982</text></view
  267. > -->
  268. </view>
  269. </view>
  270. </template>
  271. <!-- 在班级有效期之间或者没有班级有效期 -->
  272. <template v-else>
  273. <view
  274. class="class-warm"
  275. v-if="
  276. item.gradeId != 0 &&
  277. item.gradeStatus == 1 &&
  278. item.classStatus != null
  279. "
  280. >
  281. <view class="class-warm__text">
  282. <view class="date">
  283. 班级状态:
  284. <text v-if="item.classStatus == 1">已开班</text>
  285. <text v-if="item.classStatus == 0">未开班</text>
  286. </view>
  287. <view class="date" v-if="item.classStatus == 0"
  288. >教务处正在为您开通班级,请耐心等待</view
  289. >
  290. <view
  291. class="date"
  292. v-if="
  293. item.classStatus == 1 &&
  294. item.classStartTime &&
  295. item.classEndTime
  296. "
  297. >
  298. 班级有效期:{{
  299. $method.timestampToTime(
  300. item.classStartTime,
  301. true,
  302. true
  303. )
  304. }}-{{
  305. $method.timestampToTime(
  306. item.classEndTime,
  307. true,
  308. true
  309. )
  310. }}
  311. </view>
  312. </view>
  313. </view>
  314. <!-- 学时审核状态不可审核 -->
  315. <template
  316. v-if="item.periodStatus == -1 || item.periodStatus == 2"
  317. >
  318. <view
  319. class="class-warm"
  320. v-if="
  321. item.classStatus == 1 || item.classStatus === null
  322. "
  323. >
  324. <view class="class-warm__text">
  325. <view class="date">
  326. <template
  327. v-if="
  328. sysTime >= item.serviceStartTime &&
  329. sysTime <= item.serviceEndTime
  330. "
  331. >
  332. 学习状态:
  333. <text v-if="item.stuAllNum + item.recordNum == 0"
  334. >未学习</text
  335. >
  336. <text
  337. v-else-if="
  338. item.stuAllNum + item.recordNum > 0 &&
  339. item.stuAllNum + item.recordNum <
  340. item.secAllNum + item.examNum
  341. "
  342. >学习中</text
  343. >
  344. <text
  345. v-else-if="
  346. item.stuAllNum + item.recordNum >=
  347. item.secAllNum + item.examNum
  348. "
  349. >已学完</text
  350. >
  351. </template>
  352. <template v-else>
  353. <template v-if="item.serviceStartTime"
  354. >已过学习服务期,不可以学习了哦!</template
  355. >
  356. </template>
  357. </view>
  358. </view>
  359. </view>
  360. </template>
  361. <!-- 学时审核状态可以审核 -->
  362. <template v-if="item.periodStatus != -1">
  363. <view class="class-warm">
  364. <view class="class-warm__text">
  365. <view class="date">
  366. <text v-if="item.periodStatus == 0"
  367. >机构审核:学时审核不通过</text
  368. >
  369. <!-- <text v-else-if="item.periodStatus == 2">学时待审核</text> -->
  370. <text v-else-if="item.periodStatus == 3"
  371. >学时审核中</text
  372. >
  373. <text v-else-if="item.periodStatus == 1">
  374. <text v-if="item.periodPlush > 0"
  375. >学时已上报信息中心</text
  376. >
  377. <text v-else>机构审核:学时审核通过</text>
  378. </text>
  379. </view>
  380. </view>
  381. </view>
  382. <view
  383. class="class-warm"
  384. v-if="
  385. item.subscribeId != null && item.periodStatus == 1
  386. "
  387. >
  388. <view class="class-warm__text">
  389. <view class="date">
  390. <view v-if="item.subExamStatus === null"
  391. >待预约考试</view
  392. >
  393. <view
  394. v-else-if="
  395. item.subExamStatus === 0 &&
  396. sysTime <
  397. $method.TimeTotimestamp(
  398. $method.timestampToTime(
  399. item.subApplySiteExamTime,
  400. true
  401. ) +
  402. ' ' +
  403. item.subApplySiteStartTime
  404. )
  405. "
  406. >
  407. 待考试,考试时间:
  408. {{
  409. $method.timestampToTime(
  410. item.subApplySiteExamTime,
  411. true
  412. ) +
  413. " " +
  414. item.subApplySiteStartTime
  415. }}
  416. -
  417. {{
  418. $method.timestampToTime(
  419. item.subApplySiteExamTime,
  420. true
  421. ) +
  422. " " +
  423. item.subApplySiteEndTime
  424. }}
  425. </view>
  426. <view v-else-if="item.subExamStatus === 0"
  427. >待出考试结果</view
  428. >
  429. <view v-else-if="item.subExamStatus === 1">
  430. <text v-if="item.subResult === null"
  431. >待出考试结果</text
  432. >
  433. <text v-if="item.subResult === 0"
  434. >考试结果:不通过,需补考</text
  435. >
  436. <text v-else-if="item.subResult === 1"
  437. >考试结果:通过,考试成绩为{{
  438. item.subPerformance
  439. }}</text
  440. >
  441. </view>
  442. <view v-else-if="item.subExamStatus === 2"
  443. >缺考,无成绩,需补考</view
  444. >
  445. <view v-else-if="item.subExamStatus === 3"
  446. >作弊,无成绩,需补考</view
  447. >
  448. <view v-else-if="item.subExamStatus === 4"
  449. >替考,无成绩,需补考</view
  450. >
  451. </view>
  452. </view>
  453. </view>
  454. </template>
  455. </template>
  456. </template>
  457. </template>
  458. </view>
  459. <view
  460. class="c_downs"
  461. @click="studyIn(item.goodsId, item.gradeId, item, index)"
  462. >
  463. <view class="lefts">
  464. <image
  465. class="lefet_img"
  466. :src="$method.splitImgHost(item.coverUrl, true)"
  467. mode=""
  468. ></image>
  469. <view v-if="item.goodsType == 6" class="live_icon">直播</view>
  470. </view>
  471. <view class="rights">
  472. <template
  473. v-if="
  474. item.externalLinkStatus ||
  475. (item.gradeStatus == 1 &&
  476. item.status == 1 &&
  477. item.serviceEndTime > sysTime &&
  478. item.serviceStartTime < sysTime &&
  479. item.classEndTime &&
  480. item.classEndTime < sysTime &&
  481. (item.periodStatus == 0 || item.periodStatus == -1) &&
  482. item.studyCount > 0)
  483. "
  484. >
  485. </template>
  486. <view v-else class="learn_progress">
  487. <view class="progress_up">
  488. <!-- 学习进度 (已做试卷+已做节)/(试卷数+节数) -->
  489. <view class="classHour">
  490. <text
  491. >{{
  492. item.courseNum || item.courseNum == 0
  493. ? item.courseNum
  494. : "-"
  495. }}课程/</text
  496. >
  497. <text
  498. >{{
  499. item.classHours || item.classHours == 0
  500. ? item.classHours
  501. : "-"
  502. }}学时/</text
  503. >
  504. <text>{{ item.secAllNum + item.examNum || "-" }}节</text>
  505. </view>
  506. <view class="scheduling">
  507. <view class="sche_bar">
  508. 进度:{{ item.stuAllNum + item.recordNum }}/{{
  509. item.secAllNum + item.examNum
  510. }}
  511. </view>
  512. <view class="progress_bar">
  513. <u-line-progress
  514. :showText="false"
  515. height="22"
  516. active-color="#ff9900"
  517. :show-percent="false"
  518. :percent="
  519. ((item.stuAllNum + item.recordNum) /
  520. (item.secAllNum + item.examNum)) *
  521. 100
  522. "
  523. ></u-line-progress>
  524. </view>
  525. </view>
  526. </view>
  527. </view>
  528. </view>
  529. </view>
  530. <!-- 按钮 -->
  531. <view class="study_btns">
  532. <template
  533. v-if="
  534. item.gradeStatus == 1 &&
  535. item.status == 1 &&
  536. item.serviceEndTime > sysTime &&
  537. item.serviceStartTime < sysTime &&
  538. item.classEndTime &&
  539. item.classEndTime < sysTime &&
  540. (item.periodStatus == 0 || item.periodStatus == -1) &&
  541. item.userStudyCount > 0
  542. "
  543. >
  544. <view
  545. class="exam_word ones"
  546. @click.stop="selectClass(item, index)"
  547. >
  548. 选班重学
  549. </view>
  550. </template>
  551. <!-- examApplyGoodsList.length -是判断是否关联指定学员 -->
  552. <view v-else class="exam_btns">
  553. <view
  554. class="box_appoint"
  555. v-if="
  556. item.applyStatus === 1 &&
  557. !(
  558. sysTime <= item.serviceStartTime ||
  559. sysTime >= item.serviceEndTime ||
  560. (item.classStartTime && sysTime <= item.classStartTime) ||
  561. (item.classEndTime && sysTime >= item.classEndTime) ||
  562. item.learningStatus == 2 ||
  563. item.classStatus == 0 ||
  564. (item.learningStatus == 3 &&
  565. sysTime < item.learningTimeStart) ||
  566. !item.examApplyGoodsList.length
  567. )
  568. "
  569. @click="appointment(item, appoint)"
  570. >
  571. <view class="exam_word ones">预约考试</view>
  572. </view>
  573. <view
  574. class="box_appoint"
  575. v-if="
  576. item.beforeStatus === 1 &&
  577. !(
  578. sysTime <= item.serviceStartTime ||
  579. sysTime >= item.serviceEndTime ||
  580. (item.classStartTime && sysTime <= item.classStartTime) ||
  581. (item.classEndTime && sysTime >= item.classEndTime) ||
  582. item.learningStatus == 2 ||
  583. item.classStatus == 0 ||
  584. (item.learningStatus == 3 &&
  585. sysTime < item.learningTimeStart)
  586. )
  587. "
  588. @click="appBeforeAddress(item.goodsId, item)"
  589. >
  590. <view class="exam_word ones">进入刷题</view>
  591. </view>
  592. </view>
  593. <view
  594. class="box_appoint"
  595. @click="studyIn(item.goodsId, item.gradeId, item, index)"
  596. >
  597. <view class="exam_word intos">进入学习</view>
  598. </view>
  599. </view>
  600. </view>
  601. </view>
  602. </view>
  603. <!-- 没有学习的课程 -->
  604. <view v-if="!allLoading && !allCourse" class="no_datas">
  605. <image
  606. class="courses"
  607. src="/static/learn/no_course.png"
  608. mode=""
  609. ></image>
  610. <view class="no_learns">您目前没有可学习的课程</view>
  611. <view class="choose" @click="toChoose()">立即去选购</view>
  612. </view>
  613. </view>
  614. <!-- 弹窗 -->
  615. <u-popup
  616. v-model="selectClassModal"
  617. @close="gradeValue = -1"
  618. mode="bottom"
  619. border-radius="40"
  620. >
  621. <view class="popup_box">
  622. <view style="margin-bottom: 20rpx">
  623. <view class="line1"></view>
  624. <view class="grade">选择班级</view>
  625. </view>
  626. <u-line color="#D6D6DB" />
  627. <view>
  628. <scroll-view scroll-y="true" style="height: 500rpx">
  629. <view>
  630. <u-radio-group v-model="gradeValue" @change="radioGroupChange">
  631. <view v-for="(item, index) in gradeList" :key="index">
  632. <view
  633. style="display: flex; align-items: center; padding: 20rpx"
  634. >
  635. <view>
  636. <u-radio
  637. shape="circle"
  638. :name="index"
  639. :disabled="
  640. item.studentNum > 0 &&
  641. item.studentNum == item.studentUpper
  642. "
  643. >
  644. <view
  645. :class="
  646. item.checked ? 'white-box blue-box' : 'white-box'
  647. "
  648. >
  649. <view>
  650. <view class="blackTxt">{{ item.className }}</view>
  651. <view class="redTxt" v-if="item.classEndTime">
  652. 有效期至:{{
  653. $method.timestampToTime(
  654. item.classEndTime,
  655. true,
  656. true
  657. )
  658. }}
  659. </view>
  660. <view class="redTxt" v-if="item.classEndTime">
  661. 本班还剩{{
  662. $method.GetRTime(item.classEndTime)
  663. }}天将结束学习</view
  664. >
  665. </view>
  666. </view>
  667. </u-radio>
  668. </view>
  669. </view>
  670. </view>
  671. </u-radio-group>
  672. </view>
  673. </scroll-view>
  674. </view>
  675. <view class="confrim-btn">
  676. <view class="okBtn" @click="okPopup()">确定</view>
  677. </view>
  678. </view>
  679. </u-popup>
  680. <u-modal
  681. v-model="showUserConfirmInfo"
  682. @confirm="confirmUserConfirm"
  683. ref="uModal"
  684. :async-close="true"
  685. @cancel="cancelUserConfirm"
  686. :confirm-text="
  687. '确认' + (confirmCount > 0 ? '(' + confirmCount + ')' : '')
  688. "
  689. :confirm-color="confirmCount > 0 ? '#999' : '#2979ff'"
  690. class="confirm-modal"
  691. title="实名验证确认"
  692. cancel="取消"
  693. :show-cancel-button="true"
  694. >
  695. <view class="slot-content">
  696. <view class="content">
  697. <!-- ,立刻联系020-38946666 -->
  698. 为避免个人信息不正确导致您的学习时长无效,请认真核对以下信息是否正确,如信息有误请取消当前操作。
  699. <view class="msg-list" v-if="userInfo">
  700. <view class="item">
  701. <text class="item__left">姓名:</text>
  702. <text class="item__right">{{ userInfo.realname }}</text>
  703. </view>
  704. <view class="item">
  705. <text class="item__left">手机号:</text>
  706. <text class="item__right">{{ userInfo.telphone }}</text>
  707. </view>
  708. <view class="item">
  709. <text class="item__left">身份号:</text>
  710. <text class="item__right">{{ userInfo.idCard }}</text>
  711. </view>
  712. <view class="item">
  713. <u-checkbox v-model="confirmChecked" :label-disabled="false"
  714. >确认个人信息无误</u-checkbox
  715. >
  716. </view>
  717. </view>
  718. </view>
  719. </view>
  720. </u-modal>
  721. <!-- 多个预约考试时的弹窗 -->
  722. <u-popup v-model="appointTestShow" mode="bottom" border-radius="40">
  723. <view class="popuptest_box">
  724. <view class="check_head">
  725. <view class="headers">
  726. <view class="grade">切换课程</view>
  727. <u-icon
  728. name="close"
  729. color="#9C9C9C"
  730. size="40"
  731. @click="closePop()"
  732. ></u-icon>
  733. </view>
  734. </view>
  735. <view class="check_con">
  736. <scroll-view scroll-y="true" style="height: 700rpx">
  737. <view
  738. class="course_items"
  739. v-for="(appoint, index) in appointTestList"
  740. :key="index"
  741. >
  742. <view class="course_lefts">
  743. <view class="course_title">{{ appoint.applyName }}</view>
  744. </view>
  745. <view
  746. class="course_rights"
  747. @click="jumpTest(appointItemIndex, appoint)"
  748. >
  749. <view class="intoStudy">预约</view>
  750. </view>
  751. </view>
  752. </scroll-view>
  753. </view>
  754. </view>
  755. </u-popup>
  756. </view>
  757. </template>
  758. <script>
  759. var curTime = new Date().getTime(); // 当前时间的时间戳
  760. import { mapGetters, mapActions } from "vuex";
  761. export default {
  762. data() {
  763. return {
  764. leftDays: 0,
  765. paramC: {
  766. pageNum: 1,
  767. pageSize: 10,
  768. },
  769. activeItem: {},
  770. itemIndex: "",
  771. confirmTimer: null,
  772. confirmCount: 10,
  773. confirmChecked: false,
  774. showUserConfirmInfo: false,
  775. selectItem: {},
  776. selectClassModal: false,
  777. gradeList: [],
  778. gradeValue: -1,
  779. sysTime: 0,
  780. courseLists: [], // 课程列表
  781. total: 0,
  782. livingLists: [], // 直播列表
  783. allLoading: false, // 加载样式
  784. current: 2,
  785. appointTestShow: false, //预约考试弹窗
  786. appointTestList: [],
  787. appointItemIndex: {}, // 点击了哪项课程
  788. imgwidth: 0,
  789. imgheight: 0,
  790. };
  791. },
  792. filters: {
  793. liveStatus(liveTime, watchStatus) {
  794. let value = liveTime * 1000;
  795. if (curTime < value) {
  796. // 判断当前时间和直播开始时间
  797. return " 未开播";
  798. } else {
  799. return watchStatus == "live" ? "正在直播中" : "即将开播";
  800. }
  801. },
  802. },
  803. computed: {
  804. ...mapGetters(["userInfo", "config"]),
  805. allCourse() {
  806. return this.courseLists.length || this.livingLists.length ? true : false;
  807. },
  808. },
  809. onLoad() {
  810. // 1668873600 ,2022.11.20的时间戳
  811. this.leftDays = 1668873600 - parseInt(curTime / 1000);
  812. this.sysTime = +this.$method.timest();
  813. if (this.$method.isLogin()) {
  814. !this.userInfo && this.$api.refreshUserInfo();
  815. }
  816. },
  817. async onShow() {
  818. uni.pageScrollTo({
  819. duration: 0,
  820. scrollTop: 0, // number number number!
  821. });
  822. this.getCourseLiveQues();
  823. // await this.commonSystemTime()
  824. },
  825. onPullDownRefresh() {
  826. this.getCourseLiveQues();
  827. },
  828. onReachBottom() {
  829. if (this.courseLists.length <= this.total) {
  830. this.paramC.pageNum++;
  831. this.getCourseList();
  832. }
  833. },
  834. methods: {
  835. ...mapActions(["getUserInfo"]),
  836. bgShow(liveTime, watchStatus) {
  837. let value = liveTime * 1000;
  838. if (curTime > value) {
  839. // 判断当前时间和直播开始时间
  840. return watchStatus == "live" ? true : false;
  841. }
  842. },
  843. lookTimeStatus(liveTime, watchStatus) {
  844. if (liveTime) {
  845. let value = new Date(liveTime * 1000);
  846. var Y = value.getFullYear();
  847. var M =
  848. value.getMonth() + 1 < 10
  849. ? "0" + (value.getMonth() + 1)
  850. : value.getMonth() + 1;
  851. var D = value.getDate() < 10 ? "0" + value.getDate() : value.getDate();
  852. var valZ = Y + "/" + M + "/" + D;
  853. let curZeroTime = new Date(valZ).getTime(); // 获取开始直播时间当天的零点时间戳
  854. if (curTime > value) {
  855. // 判断当前时间和直播开始时间
  856. if (watchStatus == "live") {
  857. //
  858. return 1;
  859. } else {
  860. return 2;
  861. }
  862. } else {
  863. if (curZeroTime <= curTime && curTime <= value) {
  864. //当天
  865. return 3;
  866. } else {
  867. return 4;
  868. }
  869. }
  870. }
  871. },
  872. curTimeTamp(liveTime) {
  873. let min = liveTime - parseInt(curTime / 1000);
  874. return min;
  875. },
  876. toChoose() {
  877. uni.switchTab({
  878. url: "/pages/course/index",
  879. });
  880. },
  881. // 查询直播课
  882. getCourseLiveQues() {
  883. if (!this.$method.isLogin()) {
  884. return;
  885. }
  886. this.allLoading = true;
  887. this.paramC.pageNum = 1;
  888. let arrs = [
  889. this.$api.listUserVideoLive(this.paramC), // 查询用户拥有视频+直播商品 /goods/listUserVideoLive
  890. this.$api.getgoodsLiveList({
  891. pageNum: 1,
  892. pageSize: 3, // 默认3条
  893. }),
  894. ];
  895. wx.stopPullDownRefresh();
  896. Promise.all(arrs)
  897. .then((res) => {
  898. // if (res.data.code == 200) {
  899. const [{ data: res1 }, { data: res2 }] = res;
  900. if (res1.code == 200) {
  901. this.total = res1.total;
  902. this.courseLists = res1.rows || [];
  903. }
  904. // if (res2.code == 200) {
  905. // this.questionLists = res2.rows || []
  906. // }
  907. if (res2.code == 200) {
  908. this.livingLists = res2.rows || [];
  909. } else {
  910. this.$u.toast(res2.msg);
  911. }
  912. this.allLoading = false;
  913. this.sysTime = +this.$method.timest();
  914. // }
  915. uni.hideLoading();
  916. })
  917. .catch((err) => {
  918. uni.hideLoading();
  919. this.allLoading = false;
  920. });
  921. },
  922. getCourseList() {
  923. this.$api
  924. .listUserVideoLive(this.paramC)
  925. .then((res) => {
  926. this.courseLists.push(...res.data.rows);
  927. })
  928. .finally((e) => {
  929. uni.hideLoading();
  930. });
  931. },
  932. // 看直播
  933. toLiveLook(item) {
  934. let moduleId = item.moduleId || 0;
  935. let chapterId = item.chapterId || 0;
  936. let sectionId = item.sectionId || item.menuId;
  937. let uuid = new Date().valueOf() + "";
  938. // buyCourse 是否购买课程:1是 0否
  939. let encode = encodeURIComponent(
  940. this.config.hostLive +
  941. "/pages/live/index?token=" +
  942. uni.getStorageSync("token") +
  943. "&userInfo=" +
  944. (JSON.stringify(this.userInfo) || "") +
  945. "&channelId=" +
  946. item.liveUrl +
  947. "&gradeId=" +
  948. 0 +
  949. "&courseId=" +
  950. item.courseId +
  951. "&goodsId=" +
  952. item.goodsId +
  953. "&orderGoodsId=" +
  954. item.orderGoodsId +
  955. "&sectionId=" +
  956. sectionId +
  957. "&chapterId=" +
  958. chapterId +
  959. "&moduleId=" +
  960. moduleId +
  961. "&buyCourse=1" +
  962. "&ident=" +
  963. uuid +
  964. "&sectionType=2"
  965. );
  966. uni.navigateTo({
  967. url: `../../pages/webview/index?url=` + encode,
  968. });
  969. },
  970. toLive(item) {
  971. this.$api
  972. .courseCourseList({
  973. pageNum: 1,
  974. pageSize: 1,
  975. goodsId: item.goodsId,
  976. gradeId: 0,
  977. orderGoodsId: item.orderGoodsId,
  978. })
  979. .then((res) => {
  980. if (res.data.code == 200) {
  981. if (res.data.total > 1) {
  982. // uni.navigateTo({
  983. // url:'/pages5/liveDetail/course?orderGoodsId='+item.orderGoodsId+'&goodsId='+item.goodsId+'&gradeId=0'
  984. // })
  985. uni.navigateTo({
  986. url:
  987. "/pages3/live/detail?orderGoodsId=" +
  988. item.orderGoodsId +
  989. "&goodsId=" +
  990. item.goodsId +
  991. '&gradeId=0&courseId=""',
  992. });
  993. } else if (res.data.total == 1) {
  994. uni.navigateTo({
  995. url:
  996. "/pages3/live/detail?orderGoodsId=" +
  997. item.orderGoodsId +
  998. "&goodsId=" +
  999. item.goodsId +
  1000. "&gradeId=0&courseId=" +
  1001. res.data.rows[0].courseId,
  1002. });
  1003. } else {
  1004. uni.showToast({
  1005. icon: "none",
  1006. title: "暂无可观看的直播课程",
  1007. });
  1008. }
  1009. }
  1010. });
  1011. },
  1012. async studyIn(v, i, item, index) {
  1013. if (item.externalLinkStatus) {
  1014. this.$method.toLink(item.externalLink);
  1015. return;
  1016. }
  1017. if (item.goodsType == 6) {
  1018. // 进入直播课
  1019. this.toLive(item);
  1020. return;
  1021. }
  1022. // 进入视频课
  1023. this.activeItem = item;
  1024. if (item.interfaceAccountId > 0) {
  1025. //学习账号已开通
  1026. if (item.learnStatus > 0) {
  1027. //跳转第三方h5
  1028. uni.navigateTo({
  1029. url: `/pages3/polyv/detail?goodsId=${item.goodsId}&orderGoodsId=${item.orderGoodsId}&gradeId=${item.gradeId}&isOther=1`,
  1030. });
  1031. return;
  1032. } else {
  1033. // ,有疑问,请联系020-87085982
  1034. uni.showModal({
  1035. showCancel: false,
  1036. content: "您的学习账号未开通,请稍后再尝试,有疑问!",
  1037. });
  1038. return;
  1039. }
  1040. return;
  1041. }
  1042. if (
  1043. item.serviceStartTime &&
  1044. (this.sysTime <= item.serviceStartTime ||
  1045. this.sysTime >= item.serviceEndTime)
  1046. ) {
  1047. uni.showToast({
  1048. icon: "none",
  1049. title: "不在学习服务期,不能进入学习",
  1050. });
  1051. return;
  1052. }
  1053. if (
  1054. (item.classStartTime && this.sysTime <= item.classStartTime) ||
  1055. (item.classEndTime && this.sysTime >= item.classEndTime)
  1056. ) {
  1057. uni.showToast({
  1058. icon: "none",
  1059. title: "不在班级有效期,不能进入学习",
  1060. });
  1061. return;
  1062. }
  1063. // learningStatus: 1即刻,2待定,3不在日期内
  1064. if (item.learningStatus == 2) {
  1065. uni.showToast({
  1066. icon: "none",
  1067. title: "开放学习时间待定,不能进入学习",
  1068. });
  1069. return;
  1070. }
  1071. if (item.classStatus == 0) {
  1072. uni.showToast({
  1073. icon: "none",
  1074. title: "尚未开班,不能进入学习",
  1075. });
  1076. return;
  1077. }
  1078. if (item.learningStatus == 3 && this.sysTime < item.learningTimeStart) {
  1079. uni.showToast({
  1080. icon: "none",
  1081. title: "不在开放学习时间,不能进入学习",
  1082. });
  1083. return;
  1084. }
  1085. uni.showLoading({
  1086. title: "拼命加载中...",
  1087. mask: true,
  1088. });
  1089. // var confirmDetail = true;
  1090. // if (item.educationName == "继续教育") {
  1091. // if (
  1092. // item.officialName &&
  1093. // item.businessName == "二级" &&
  1094. // item.projectName == "建造师"
  1095. // ) {
  1096. // confirmDetail = await this.userConfirmInfoDetail();
  1097. // }
  1098. // }
  1099. // if (!confirmDetail) {
  1100. // return;
  1101. // }
  1102. this.itemIndex = index;
  1103. if (
  1104. item.gradeStatus == 1 &&
  1105. item.status == 1 &&
  1106. item.serviceEndTime > this.sysTime &&
  1107. item.classEndTime &&
  1108. item.classEndTime < this.sysTime &&
  1109. (item.periodStatus == 0 || item.periodStatus == -1) &&
  1110. item.studyCount > 0
  1111. ) {
  1112. this.selectClass(item, index, "loading");
  1113. return;
  1114. }
  1115. // /course/goodsRebuildStatus查询用户商品重修状态
  1116. let rebuildStatus = await this.courseGoodsRebuildStatus(
  1117. item.goodsId,
  1118. item.gradeId
  1119. );
  1120. if (rebuildStatus == 0) {
  1121. uni.hideLoading();
  1122. this.$navTo.togo("/pages2/learn/details", {
  1123. gradeId: item.gradeId,
  1124. goodsId: item.goodsId,
  1125. orderGoodsId: item.orderGoodsId,
  1126. });
  1127. return;
  1128. }
  1129. // /lock/lockStatus
  1130. this.$api
  1131. .lockLockStatus({
  1132. action: "jxjy",
  1133. uuid: this.$method.getUuid(),
  1134. })
  1135. .then((res) => {
  1136. if (res.data.code == 200) {
  1137. //有其他端在操作,不能学习
  1138. uni.showToast({
  1139. icon: "none",
  1140. title: res.data.msg,
  1141. mask: true,
  1142. duration: 3000,
  1143. });
  1144. } else if (res.data.code == 500) {
  1145. //可以学习
  1146. this.$http({
  1147. url: "/course/courseList",
  1148. method: "get",
  1149. data: {
  1150. pageNum: 1,
  1151. pageSize: 100,
  1152. goodsId: item.goodsId,
  1153. gradeId: item.gradeId,
  1154. orderGoodsId: item.orderGoodsId,
  1155. },
  1156. noLoading: true,
  1157. }).then((res) => {
  1158. if (res.data.code == 200) {
  1159. if (res.data.total > 1) {
  1160. // this.$navTo.togo(`/pages2/wd/course?id=${v}&gid=${i}&orderGoodsId=${item.orderGoodsId}`);
  1161. uni.navigateTo({
  1162. url: `/pages3/polyv/detail?id=''&goodsId=${item.goodsId}&orderGoodsId=${item.orderGoodsId}&gradeId=${item.gradeId}`,
  1163. });
  1164. } else if (res.data.total == 1) {
  1165. uni.navigateTo({
  1166. url: `/pages3/polyv/detail?id=${res.data.rows[0].courseId}&goodsId=${item.goodsId}&orderGoodsId=${item.orderGoodsId}&gradeId=${item.gradeId}`,
  1167. });
  1168. } else {
  1169. uni.showToast({
  1170. icon: "none",
  1171. title: "暂无可观看的视频课程",
  1172. });
  1173. }
  1174. }
  1175. });
  1176. return;
  1177. }
  1178. });
  1179. },
  1180. /**
  1181. * @param {Object} goodsId 商品id
  1182. * 查询商品重修状态
  1183. */
  1184. courseGoodsRebuildStatus(goodsId, gradeId) {
  1185. return new Promise((resolve) => {
  1186. this.$http({
  1187. url: "/course/goodsRebuildStatus",
  1188. method: "get",
  1189. data: {
  1190. goodsId: goodsId,
  1191. gradeId: gradeId,
  1192. },
  1193. noLoading: true,
  1194. compleLoading: true, // 请求成功是否还要继续显示加载中
  1195. }).then((res) => {
  1196. resolve(res.data.data);
  1197. });
  1198. });
  1199. },
  1200. userConfirmInfoDetail() {
  1201. return new Promise((resolve) => {
  1202. this.$http({
  1203. url: "/user/confirm/info/detail",
  1204. method: "get",
  1205. data: { orderGoodsId: this.activeItem.orderGoodsId },
  1206. noLoading: true,
  1207. }).then((res) => {
  1208. if (!res.data.data) {
  1209. clearInterval(this.confirmTimer);
  1210. this.confirmCount = 10;
  1211. this.showUserConfirmInfo = true;
  1212. this.confirmTimer = setInterval(() => {
  1213. if (this.confirmCount > 0) {
  1214. this.confirmCount--;
  1215. } else {
  1216. clearInterval(this.confirmTimer);
  1217. }
  1218. }, 1000);
  1219. } else {
  1220. if (res.data.data.pushInfo) {
  1221. resolve(true);
  1222. } else {
  1223. // ,有疑问,请联系020-87085982
  1224. uni.showModal({
  1225. showCancel: false,
  1226. title: "提示",
  1227. content: "开通信息推送不成功,无法进入学习!",
  1228. });
  1229. resolve(false);
  1230. }
  1231. }
  1232. });
  1233. });
  1234. },
  1235. selectClass(item, index, load) {
  1236. this.itemIndex = index;
  1237. this.selectItem = item;
  1238. this.selectClassModal = true;
  1239. this.goodsGradeList(item.goodsId, load);
  1240. },
  1241. goodsGradeList(id, load) {
  1242. this.$http({
  1243. url: "/grade/grade/list",
  1244. method: "get",
  1245. data: { goodsId: id },
  1246. noLoading: load ? true : false,
  1247. }).then((res) => {
  1248. if (res.data.code == 200) {
  1249. this.gradeList = res.data.rows;
  1250. if (this.gradeList.length == 0) {
  1251. let item = {
  1252. className: "系统分班",
  1253. gradeId: 0,
  1254. };
  1255. this.gradeList.push(item);
  1256. } else {
  1257. let isGradeFull = this.gradeList.every(
  1258. (item) =>
  1259. item.studentNum > 0 && item.studentNum == item.studentUpper
  1260. );
  1261. //所有班级都满了
  1262. if (isGradeFull) {
  1263. let item = {
  1264. className: "系统分班",
  1265. gradeId: 0,
  1266. };
  1267. this.gradeList.unshift(item);
  1268. }
  1269. }
  1270. }
  1271. });
  1272. },
  1273. radioGroupChange(e) {
  1274. // console.log(e)
  1275. },
  1276. okPopup() {
  1277. if (this.gradeValue == -1) {
  1278. uni.showToast({
  1279. icon: "none",
  1280. title: "请选择班级",
  1281. });
  1282. return;
  1283. }
  1284. this.$api
  1285. .changeGrade({
  1286. goodsId: this.selectItem.goodsId,
  1287. gradeId: this.gradeValue,
  1288. oldGradeId: this.selectItem.gradeId,
  1289. orderGoodsId: this.selectItem.orderGoodsId,
  1290. userId: this.selectItem.userId,
  1291. })
  1292. .then((res) => {
  1293. if (res.data.code == 200) {
  1294. if (this.itemIndex !== "") {
  1295. this.refreshByIndex();
  1296. }
  1297. this.selectClassModal = false;
  1298. uni.showToast({
  1299. title: "选班成功",
  1300. });
  1301. } else {
  1302. uni.showToast({
  1303. icon: "none",
  1304. title: res.data.msg,
  1305. });
  1306. }
  1307. });
  1308. },
  1309. /**
  1310. * 返回刷新之前进入的课程数据
  1311. */
  1312. refreshByIndex() {
  1313. this.$api
  1314. .listUserVideoLive({
  1315. pageNum: this.itemIndex + 1,
  1316. pageSize: 1,
  1317. })
  1318. .then((res) => {
  1319. if (res.data.code == 200) {
  1320. this.$set(this.courseLists, this.itemIndex, res.data.rows[0]);
  1321. }
  1322. });
  1323. },
  1324. confirmUserConfirm() {
  1325. this.$refs.uModal.clearLoading();
  1326. if (this.confirmCount <= 0) {
  1327. if (this.confirmChecked) {
  1328. let infoJson = {
  1329. realname: this.userInfo.realname,
  1330. idCard: this.userInfo.idCard,
  1331. telphone: this.userInfo.telphone,
  1332. };
  1333. this.$api
  1334. .userConfirminfo({
  1335. orderGoodsId: this.activeItem.orderGoodsId,
  1336. infoJson: JSON.stringify(infoJson),
  1337. })
  1338. .then((res) => {
  1339. if (res.data.code != 200) {
  1340. this.showUserConfirmInfo = false;
  1341. uni.showToast({
  1342. icon: "none",
  1343. title: res.data.msg,
  1344. });
  1345. return;
  1346. }
  1347. if (res.data.data.pushInfo) {
  1348. uni.showToast({
  1349. icon: "none",
  1350. title: "提交成功",
  1351. });
  1352. } else {
  1353. // ,有疑问,请联系020-87085982
  1354. uni.showModal({
  1355. showCancel: false,
  1356. title: "提示",
  1357. content: "开通信息推送不成功,无法进入学习!",
  1358. });
  1359. }
  1360. this.showUserConfirmInfo = false;
  1361. });
  1362. } else {
  1363. uni.showToast({
  1364. icon: "none",
  1365. title: "请勾选确认个人信息无误",
  1366. });
  1367. }
  1368. } else {
  1369. return;
  1370. }
  1371. },
  1372. cancelUserConfirm() {
  1373. clearInterval(this.confirmTimer);
  1374. },
  1375. call() {
  1376. uni.makePhoneCall({
  1377. phoneNumber: "020-87085982", //仅为示例
  1378. });
  1379. },
  1380. closePop() {
  1381. this.appointTestShow = false;
  1382. },
  1383. jumpTest(item, appoint) {
  1384. this.appoint_an(item, appoint);
  1385. this.appointTestShow = false;
  1386. },
  1387. appointment(item, appoint) {
  1388. this.appointItemIndex = item;
  1389. if (item.examApplyGoodsList.length > 1) {
  1390. // 多个考试预约
  1391. this.appointTestList = item.examApplyGoodsList;
  1392. this.appointTestShow = true;
  1393. return;
  1394. }
  1395. let appoint_item = item.examApplyGoodsList[0];
  1396. this.appoint_an(item, appoint_item);
  1397. },
  1398. appoint_an(item, appoint) {
  1399. var data = {
  1400. goodsId: item.goodsId,
  1401. gradeId: item.gradeId,
  1402. applyId: appoint.applyId,
  1403. orderGoodsId: item.orderGoodsId,
  1404. };
  1405. this.$api.getApplysubscribe(data).then((res) => {
  1406. if (res.data.code === 500) {
  1407. uni.showModal({
  1408. showCancel: false,
  1409. content: res.data.msg,
  1410. });
  1411. }
  1412. if (res.data.code === 200) {
  1413. this.$navTo.togo("/pages2/appointment/index", {
  1414. goodsId: item.goodsId,
  1415. gradeId: item.gradeId,
  1416. orderGoodsId: item.orderGoodsId,
  1417. applyId: appoint.applyId,
  1418. });
  1419. }
  1420. });
  1421. },
  1422. // 进入刷题,调整小程序
  1423. appBeforeAddress(goodsId, item) {
  1424. this.$api
  1425. .appBeforeAddress({
  1426. orderGoodsId: item.orderGoodsId,
  1427. })
  1428. .then((res) => {
  1429. if (res.data.code == 200) {
  1430. uni.navigateToMiniProgram({
  1431. appId: res.data.data.url,
  1432. success(res) {
  1433. // 打开成功
  1434. },
  1435. });
  1436. } else {
  1437. uni.showModal({
  1438. title: "提示",
  1439. content: res.data.msg,
  1440. showCancel: false,
  1441. });
  1442. }
  1443. });
  1444. },
  1445. },
  1446. };
  1447. </script>
  1448. <style>
  1449. page {
  1450. background: #eaeef1;
  1451. }
  1452. </style>
  1453. <style lang="scss" scoped>
  1454. @import "./index.scss";
  1455. </style>