index.vue 50 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482
  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. });
  1039. return;
  1040. }
  1041. return;
  1042. }
  1043. if (
  1044. item.serviceStartTime &&
  1045. (this.sysTime <= item.serviceStartTime ||
  1046. this.sysTime >= item.serviceEndTime)
  1047. ) {
  1048. uni.showToast({
  1049. icon: "none",
  1050. title: "不在学习服务期,不能进入学习",
  1051. });
  1052. return;
  1053. }
  1054. if (
  1055. (item.classStartTime && this.sysTime <= item.classStartTime) ||
  1056. (item.classEndTime && this.sysTime >= item.classEndTime)
  1057. ) {
  1058. uni.showToast({
  1059. icon: "none",
  1060. title: "不在班级有效期,不能进入学习",
  1061. });
  1062. return;
  1063. }
  1064. // learningStatus: 1即刻,2待定,3不在日期内
  1065. if (item.learningStatus == 2) {
  1066. uni.showToast({
  1067. icon: "none",
  1068. title: "开放学习时间待定,不能进入学习",
  1069. });
  1070. return;
  1071. }
  1072. if (item.classStatus == 0) {
  1073. uni.showToast({
  1074. icon: "none",
  1075. title: "尚未开班,不能进入学习",
  1076. });
  1077. return;
  1078. }
  1079. if (item.learningStatus == 3 && this.sysTime < item.learningTimeStart) {
  1080. uni.showToast({
  1081. icon: "none",
  1082. title: "不在开放学习时间,不能进入学习",
  1083. });
  1084. return;
  1085. }
  1086. uni.showLoading({
  1087. title: "拼命加载中...",
  1088. mask: true,
  1089. });
  1090. var confirmDetail = true;
  1091. if (item.educationName == "继续教育") {
  1092. if (
  1093. item.officialName &&
  1094. item.businessName == "二级" &&
  1095. item.projectName == "建造师"
  1096. ) {
  1097. confirmDetail = await this.userConfirmInfoDetail();
  1098. }
  1099. }
  1100. if (!confirmDetail) {
  1101. return;
  1102. }
  1103. this.itemIndex = index;
  1104. if (
  1105. item.gradeStatus == 1 &&
  1106. item.status == 1 &&
  1107. item.serviceEndTime > this.sysTime &&
  1108. item.classEndTime &&
  1109. item.classEndTime < this.sysTime &&
  1110. (item.periodStatus == 0 || item.periodStatus == -1) &&
  1111. item.studyCount > 0
  1112. ) {
  1113. this.selectClass(item, index, "loading");
  1114. return;
  1115. }
  1116. // /course/goodsRebuildStatus查询用户商品重修状态
  1117. let rebuildStatus = await this.courseGoodsRebuildStatus(
  1118. item.goodsId,
  1119. item.gradeId
  1120. );
  1121. if (rebuildStatus == 0) {
  1122. uni.hideLoading();
  1123. this.$navTo.togo("/pages2/learn/details", {
  1124. gradeId: item.gradeId,
  1125. goodsId: item.goodsId,
  1126. orderGoodsId: item.orderGoodsId,
  1127. });
  1128. return;
  1129. }
  1130. // /lock/lockStatus
  1131. this.$api
  1132. .lockLockStatus({
  1133. action: "jxjy",
  1134. uuid: this.$method.getUuid(),
  1135. })
  1136. .then((res) => {
  1137. if (res.data.code == 200) {
  1138. //有其他端在操作,不能学习
  1139. uni.showToast({
  1140. icon: "none",
  1141. title: res.data.msg,
  1142. mask: true,
  1143. duration: 3000,
  1144. });
  1145. } else if (res.data.code == 500) {
  1146. //可以学习
  1147. this.$http({
  1148. url: "/course/courseList",
  1149. method: "get",
  1150. data: {
  1151. pageNum: 1,
  1152. pageSize: 100,
  1153. goodsId: item.goodsId,
  1154. gradeId: item.gradeId,
  1155. orderGoodsId: item.orderGoodsId,
  1156. },
  1157. noLoading: true,
  1158. }).then((res) => {
  1159. if (res.data.code == 200) {
  1160. if (res.data.total > 1) {
  1161. // this.$navTo.togo(`/pages2/wd/course?id=${v}&gid=${i}&orderGoodsId=${item.orderGoodsId}`);
  1162. uni.navigateTo({
  1163. url: `/pages3/polyv/detail?id=''&goodsId=${item.goodsId}&orderGoodsId=${item.orderGoodsId}&gradeId=${item.gradeId}`,
  1164. });
  1165. } else if (res.data.total == 1) {
  1166. uni.navigateTo({
  1167. url: `/pages3/polyv/detail?id=${res.data.rows[0].courseId}&goodsId=${item.goodsId}&orderGoodsId=${item.orderGoodsId}&gradeId=${item.gradeId}`,
  1168. });
  1169. } else {
  1170. uni.showToast({
  1171. icon: "none",
  1172. title: "暂无可观看的视频课程",
  1173. });
  1174. }
  1175. }
  1176. });
  1177. return;
  1178. }
  1179. });
  1180. },
  1181. /**
  1182. * @param {Object} goodsId 商品id
  1183. * 查询商品重修状态
  1184. */
  1185. courseGoodsRebuildStatus(goodsId, gradeId) {
  1186. return new Promise((resolve) => {
  1187. this.$http({
  1188. url: "/course/goodsRebuildStatus",
  1189. method: "get",
  1190. data: {
  1191. goodsId: goodsId,
  1192. gradeId: gradeId,
  1193. },
  1194. noLoading: true,
  1195. compleLoading: true, // 请求成功是否还要继续显示加载中
  1196. }).then((res) => {
  1197. resolve(res.data.data);
  1198. });
  1199. });
  1200. },
  1201. userConfirmInfoDetail() {
  1202. return new Promise((resolve) => {
  1203. this.$http({
  1204. url: "/user/confirm/info/detail",
  1205. method: "get",
  1206. data: { orderGoodsId: this.activeItem.orderGoodsId },
  1207. noLoading: true,
  1208. }).then((res) => {
  1209. if (!res.data.data) {
  1210. clearInterval(this.confirmTimer);
  1211. this.confirmCount = 10;
  1212. this.showUserConfirmInfo = true;
  1213. this.confirmTimer = setInterval(() => {
  1214. if (this.confirmCount > 0) {
  1215. this.confirmCount--;
  1216. } else {
  1217. clearInterval(this.confirmTimer);
  1218. }
  1219. }, 1000);
  1220. } else {
  1221. if (res.data.data.pushInfo) {
  1222. resolve(true);
  1223. } else {
  1224. // ,有疑问,请联系020-87085982
  1225. uni.showModal({
  1226. showCancel: false,
  1227. title: "提示",
  1228. content:
  1229. "开通信息推送不成功,无法进入学习!",
  1230. });
  1231. resolve(false);
  1232. }
  1233. }
  1234. });
  1235. });
  1236. },
  1237. selectClass(item, index, load) {
  1238. this.itemIndex = index;
  1239. this.selectItem = item;
  1240. this.selectClassModal = true;
  1241. this.goodsGradeList(item.goodsId, load);
  1242. },
  1243. goodsGradeList(id, load) {
  1244. this.$http({
  1245. url: "/grade/grade/list",
  1246. method: "get",
  1247. data: { goodsId: id },
  1248. noLoading: load ? true : false,
  1249. }).then((res) => {
  1250. if (res.data.code == 200) {
  1251. this.gradeList = res.data.rows;
  1252. if (this.gradeList.length == 0) {
  1253. let item = {
  1254. className: "系统分班",
  1255. gradeId: 0,
  1256. };
  1257. this.gradeList.push(item);
  1258. } else {
  1259. let isGradeFull = this.gradeList.every(
  1260. (item) =>
  1261. item.studentNum > 0 && item.studentNum == item.studentUpper
  1262. );
  1263. //所有班级都满了
  1264. if (isGradeFull) {
  1265. let item = {
  1266. className: "系统分班",
  1267. gradeId: 0,
  1268. };
  1269. this.gradeList.unshift(item);
  1270. }
  1271. }
  1272. }
  1273. });
  1274. },
  1275. radioGroupChange(e) {
  1276. // console.log(e)
  1277. },
  1278. okPopup() {
  1279. if (this.gradeValue == -1) {
  1280. uni.showToast({
  1281. icon: "none",
  1282. title: "请选择班级",
  1283. });
  1284. return;
  1285. }
  1286. this.$api
  1287. .changeGrade({
  1288. goodsId: this.selectItem.goodsId,
  1289. gradeId: this.gradeValue,
  1290. oldGradeId: this.selectItem.gradeId,
  1291. orderGoodsId: this.selectItem.orderGoodsId,
  1292. userId: this.selectItem.userId,
  1293. })
  1294. .then((res) => {
  1295. if (res.data.code == 200) {
  1296. if (this.itemIndex !== "") {
  1297. this.refreshByIndex();
  1298. }
  1299. this.selectClassModal = false;
  1300. uni.showToast({
  1301. title: "选班成功",
  1302. });
  1303. } else {
  1304. uni.showToast({
  1305. icon: "none",
  1306. title: res.data.msg,
  1307. });
  1308. }
  1309. });
  1310. },
  1311. /**
  1312. * 返回刷新之前进入的课程数据
  1313. */
  1314. refreshByIndex() {
  1315. this.$api
  1316. .listUserVideoLive({
  1317. pageNum: this.itemIndex + 1,
  1318. pageSize: 1,
  1319. })
  1320. .then((res) => {
  1321. if (res.data.code == 200) {
  1322. this.$set(this.courseLists, this.itemIndex, res.data.rows[0]);
  1323. }
  1324. });
  1325. },
  1326. confirmUserConfirm() {
  1327. this.$refs.uModal.clearLoading();
  1328. if (this.confirmCount <= 0) {
  1329. if (this.confirmChecked) {
  1330. let infoJson = {
  1331. realname: this.userInfo.realname,
  1332. idCard: this.userInfo.idCard,
  1333. telphone: this.userInfo.telphone,
  1334. };
  1335. this.$api
  1336. .userConfirminfo({
  1337. orderGoodsId: this.activeItem.orderGoodsId,
  1338. infoJson: JSON.stringify(infoJson),
  1339. })
  1340. .then((res) => {
  1341. if (res.data.code != 200) {
  1342. this.showUserConfirmInfo = false;
  1343. uni.showToast({
  1344. icon: "none",
  1345. title: res.data.msg,
  1346. });
  1347. return;
  1348. }
  1349. if (res.data.data.pushInfo) {
  1350. uni.showToast({
  1351. icon: "none",
  1352. title: "提交成功",
  1353. });
  1354. } else {
  1355. // ,有疑问,请联系020-87085982
  1356. uni.showModal({
  1357. showCancel: false,
  1358. title: "提示",
  1359. content:
  1360. "开通信息推送不成功,无法进入学习!",
  1361. });
  1362. }
  1363. this.showUserConfirmInfo = false;
  1364. });
  1365. } else {
  1366. uni.showToast({
  1367. icon: "none",
  1368. title: "请勾选确认个人信息无误",
  1369. });
  1370. }
  1371. } else {
  1372. return;
  1373. }
  1374. },
  1375. cancelUserConfirm() {
  1376. clearInterval(this.confirmTimer);
  1377. },
  1378. call() {
  1379. uni.makePhoneCall({
  1380. phoneNumber: "020-87085982", //仅为示例
  1381. });
  1382. },
  1383. closePop() {
  1384. this.appointTestShow = false;
  1385. },
  1386. jumpTest(item, appoint) {
  1387. this.appoint_an(item, appoint);
  1388. this.appointTestShow = false;
  1389. },
  1390. appointment(item, appoint) {
  1391. this.appointItemIndex = item;
  1392. if (item.examApplyGoodsList.length > 1) {
  1393. // 多个考试预约
  1394. this.appointTestList = item.examApplyGoodsList;
  1395. this.appointTestShow = true;
  1396. return;
  1397. }
  1398. let appoint_item = item.examApplyGoodsList[0];
  1399. this.appoint_an(item, appoint_item);
  1400. },
  1401. appoint_an(item, appoint) {
  1402. var data = {
  1403. goodsId: item.goodsId,
  1404. gradeId: item.gradeId,
  1405. applyId: appoint.applyId,
  1406. orderGoodsId: item.orderGoodsId,
  1407. };
  1408. this.$api.getApplysubscribe(data).then((res) => {
  1409. if (res.data.code === 500) {
  1410. uni.showModal({
  1411. showCancel: false,
  1412. content: res.data.msg,
  1413. });
  1414. }
  1415. if (res.data.code === 200) {
  1416. this.$navTo.togo("/pages2/appointment/index", {
  1417. goodsId: item.goodsId,
  1418. gradeId: item.gradeId,
  1419. orderGoodsId: item.orderGoodsId,
  1420. applyId: appoint.applyId,
  1421. });
  1422. }
  1423. });
  1424. },
  1425. // 进入刷题,调整小程序
  1426. appBeforeAddress(goodsId, item) {
  1427. this.$api
  1428. .appBeforeAddress({
  1429. orderGoodsId: item.orderGoodsId,
  1430. })
  1431. .then((res) => {
  1432. if (res.data.code == 200) {
  1433. uni.navigateToMiniProgram({
  1434. appId: res.data.data.url,
  1435. success(res) {
  1436. // 打开成功
  1437. },
  1438. });
  1439. } else {
  1440. uni.showModal({
  1441. title: "提示",
  1442. content: res.data.msg,
  1443. showCancel: false,
  1444. });
  1445. }
  1446. });
  1447. },
  1448. },
  1449. };
  1450. </script>
  1451. <style>
  1452. page {
  1453. background: #eaeef1;
  1454. }
  1455. </style>
  1456. <style lang="scss" scoped>
  1457. @import "./index.scss";
  1458. </style>