detail.module.less 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771
  1. .detail {
  2. // height: 100vh;
  3. // overflow: hidden;
  4. background-color: #b7f3d4;
  5. .detailTop {
  6. background: url('./images/detailBG.png') no-repeat;
  7. background-size: 375px 346px;
  8. width: 375px;
  9. height: 346px;
  10. .fixWrap {
  11. width: 100%;
  12. height: 30px;
  13. top: 18px;
  14. z-index: 600;
  15. padding: 0 16px;
  16. position: fixed;
  17. display: flex;
  18. flex-direction: row;
  19. align-items: center;
  20. justify-content: space-between;
  21. img {
  22. width: 30px;
  23. height: 30px;
  24. display: block;
  25. }
  26. .editIcon {
  27. margin-right: 16px;
  28. }
  29. }
  30. .wall {
  31. height: 68px;
  32. }
  33. .jiemuIcon {
  34. margin-top: 15px;
  35. width: 210px;
  36. height: 67px;
  37. margin-left: 16px;
  38. }
  39. .typeCard {
  40. width: 99px;
  41. height: 29px;
  42. background: url('./images/typeCard.png') no-repeat;
  43. background-size: 99px 29px;
  44. margin-left: 56px;
  45. margin-top: 11px;
  46. text-align: center;
  47. line-height: 29px;
  48. font-weight: 500;
  49. color: #ffffff;
  50. font-size: 14px;
  51. margin-bottom: 43px;
  52. }
  53. .activeInfo {
  54. width: 343px;
  55. height: 87px;
  56. position: relative;
  57. border-radius: 16px;
  58. background-clip: padding-box;
  59. border: 1px solid transparent;
  60. background-clip: padding-box, border-box;
  61. background-origin: padding-box, border-box;
  62. background-image: linear-gradient(
  63. 270deg,
  64. #1dc2ff 0%,
  65. #0283ff 48%,
  66. #0bb7fe 100%
  67. ),
  68. linear-gradient(360deg, #d1fff6, #e5f8ff);
  69. margin: 0 auto;
  70. .hornIcon {
  71. width: 50px;
  72. height: 61px;
  73. top: -12px;
  74. left: -10px;
  75. position: absolute;
  76. }
  77. .noteIcon {
  78. width: 38px;
  79. height: 34px;
  80. right: -5px;
  81. bottom: -6px;
  82. position: absolute;
  83. }
  84. .headerName {
  85. font-size: 18px;
  86. font-family: Alibaba-PuHuiTi-B, Alibaba-PuHuiTi;
  87. font-weight: normal;
  88. color: #ffffff;
  89. line-height: 25px;
  90. text-align: center;
  91. margin-top: 12px;
  92. font-weight: 600;
  93. }
  94. .headerTimes {
  95. width: 192px;
  96. height: 26px;
  97. background: linear-gradient(90deg, #edfff1 0%, #def9ff 100%);
  98. border-radius: 13px;
  99. margin: 12px auto 12px;
  100. text-align: center;
  101. line-height: 26px;
  102. font-weight: 600;
  103. color: #1b93ff;
  104. font-size: 13px;
  105. }
  106. }
  107. }
  108. .programWrap {
  109. background: linear-gradient(180deg, #adeee1 0%, #c5f5db 100%);
  110. .programList {
  111. padding: 15px;
  112. position: relative;
  113. border-radius: 28px 28px 0 0;
  114. border-top: 2px solid #ffffff;
  115. border-left: 2px solid #ffffff;
  116. border-right: 2px solid #ffffff;
  117. border-bottom: 2px solid transparent;
  118. .programItem {
  119. position: relative;
  120. background: #ffffff;
  121. box-shadow: inset 0px 1px 3px 0px rgba(152, 239, 213, 0.7);
  122. border-radius: 22px;
  123. background-clip: padding-box;
  124. border: 2px solid transparent;
  125. background-clip: padding-box, border-box;
  126. background-origin: padding-box, border-box;
  127. background-image: linear-gradient(270deg, #fff, #fff),
  128. linear-gradient(
  129. 180deg,
  130. rgba(255, 255, 255, 1),
  131. rgba(201, 227, 255, 1)
  132. );
  133. margin-bottom: 20px;
  134. .programInfo {
  135. position: relative;
  136. background-clip: padding-box;
  137. border: 2px solid transparent;
  138. background-clip: padding-box, border-box;
  139. background-origin: padding-box, border-box;
  140. background-image: linear-gradient(270deg, #f2ffe6, #def9ff),
  141. linear-gradient(180deg, #bef6e9, #c1e3f7);
  142. width: 311px;
  143. // min-height: 151px;
  144. margin: 15px auto 16px;
  145. border-radius: 16px;
  146. z-index: 200;
  147. padding: 10px 10px 15px;
  148. .ballIcon {
  149. position: absolute;
  150. width: 57px;
  151. height: 39px;
  152. top: -9px;
  153. right: -9px;
  154. z-index: 100;
  155. }
  156. .programInfoTitleWrap {
  157. position: relative;
  158. border-radius: 100px 0px 0px 100px;
  159. width: 247px;
  160. height: 25px;
  161. background: linear-gradient(
  162. 270deg,
  163. rgba(255, 255, 255, 0),
  164. rgba(255, 255, 255, 1)
  165. );
  166. display: flex;
  167. flex-direction: row;
  168. align-items: center;
  169. .programInfoTitle {
  170. // height: 25px;
  171. background: linear-gradient(90deg, #037dff 0%, #6bdaff 80%);
  172. border-radius: 100px 0px 0px 100px;
  173. padding-left: 36px;
  174. line-height: 25px;
  175. font-weight: 600;
  176. color: #ffffff;
  177. position: relative;
  178. z-index: 80;
  179. padding-right: 5px;
  180. font-size: 15px;
  181. &:after {
  182. content: '';
  183. width: 14px;
  184. height: 25px;
  185. position: absolute;
  186. right: -6px;
  187. top: 0;
  188. transform: skew(-15deg);
  189. background: #6bdaff 0%;
  190. z-index: -1;
  191. }
  192. }
  193. .dieIcon {
  194. width: 34px;
  195. height: 31px;
  196. position: absolute;
  197. left: -2px;
  198. top: -3px;
  199. z-index: 100;
  200. }
  201. .dotIcon {
  202. width: 18px;
  203. height: 9px;
  204. margin-left: 12px;
  205. }
  206. }
  207. .itemRow {
  208. margin-top: 12px;
  209. .label {
  210. font-size: 14px;
  211. font-weight: 600;
  212. color: #6a7169;
  213. }
  214. .content {
  215. font-size: 14px;
  216. font-weight: 600;
  217. color: #131415;
  218. span {
  219. color: #13a9ff;
  220. margin-left: 12px;
  221. white-space: nowrap;
  222. }
  223. }
  224. }
  225. }
  226. .progItemList {
  227. min-height: 237px;
  228. width: 311px;
  229. margin: 0 auto 20px;
  230. background-clip: padding-box;
  231. border: 2px solid transparent;
  232. background-clip: padding-box, border-box;
  233. background-origin: padding-box, border-box;
  234. background-image: linear-gradient(270deg, #dcf3ff, #effae5),
  235. linear-gradient(180deg, #bef6e9, #c1e3f7);
  236. border-radius: 10px;
  237. overflow: hidden;
  238. .videoWErap {
  239. position: relative;
  240. width: 308px;
  241. height: 175px;
  242. .palyBtn {
  243. width: 46px !important;
  244. height: 46px !important;
  245. position: absolute;
  246. left: 50%;
  247. margin-left: -23px;
  248. top: 50%;
  249. margin-top: -23px;
  250. z-index: 200;
  251. }
  252. }
  253. .videoSmallWErap {
  254. position: relative;
  255. .playBtn {
  256. width: 18px !important;
  257. height: 18px !important;
  258. position: absolute;
  259. left: 50%;
  260. margin-left: -9px;
  261. top: 50%;
  262. margin-top: -9px;
  263. z-index: 200;
  264. img {
  265. width: 18px !important;
  266. height: 18px !important;
  267. }
  268. }
  269. }
  270. :global {
  271. .swiper-pagination-bullet-active {
  272. width: 10px !important;
  273. height: 4px;
  274. border-radius: 2px;
  275. }
  276. .swiper-pagination-bullet {
  277. width: 4px;
  278. height: 4px;
  279. border-radius: 2px;
  280. }
  281. .slide {
  282. border-radius: 10px 10px 0 0;
  283. overflow: hidden;
  284. }
  285. .topSwiper {
  286. width: 308px;
  287. height: 175px;
  288. .van-image {
  289. border-radius: 10px 10px 0 0;
  290. overflow: hidden;
  291. }
  292. video {
  293. border-radius: 10px 10px 0 0;
  294. overflow: hidden;
  295. width: 100%;
  296. height: 100%;
  297. object-fit: cover;
  298. }
  299. }
  300. .thumbs-swiper {
  301. .slide {
  302. width: 74px;
  303. height: 44px;
  304. img {
  305. display: block;
  306. width: 66px;
  307. height: 42px;
  308. object-fit: cover !important;
  309. }
  310. video {
  311. width: 66px;
  312. height: 42px;
  313. }
  314. }
  315. }
  316. .thumbs-swiper {
  317. box-sizing: border-box;
  318. margin-top: 8px;
  319. margin-left: 8px;
  320. margin-bottom: 8px;
  321. .slide {
  322. width: 74px;
  323. height: 46px;
  324. border-radius: 4px;
  325. overflow: hidden;
  326. background-clip: padding-box;
  327. border: 3px solid transparent;
  328. background-clip: padding-box, border-box;
  329. background-origin: padding-box, border-box;
  330. background-image: linear-gradient(225deg, #fff, #fff),
  331. linear-gradient(
  332. 225deg,
  333. rgba(0, 98, 255, 1),
  334. rgba(46, 216, 255, 1)
  335. );
  336. &:not(.swiper-slide-thumb-active) {
  337. background-image: linear-gradient(
  338. 225deg,
  339. transparent,
  340. transparent
  341. ),
  342. linear-gradient(225deg, transparent, transparent);
  343. }
  344. }
  345. }
  346. }
  347. .thumbsWrap {
  348. position: relative;
  349. .thumbsMore {
  350. z-index: 200;
  351. position: absolute;
  352. width: 23px;
  353. height: 46px;
  354. background: #ffffff;
  355. border-radius: 4px 0px 0px 4px;
  356. display: flex;
  357. flex-direction: column;
  358. align-items: center;
  359. justify-content: center;
  360. font-size: 11px;
  361. font-weight: 600;
  362. color: #131415;
  363. text-align: center;
  364. top: 0;
  365. right: 0px;
  366. .arrayIcon {
  367. width: 13px;
  368. height: 13px;
  369. }
  370. }
  371. }
  372. }
  373. .colorBg {
  374. width: 100%;
  375. position: absolute;
  376. top: -2px;
  377. z-index: 99;
  378. }
  379. .pTitle {
  380. position: relative;
  381. top: -2px;
  382. font-size: 17px;
  383. color: #fff;
  384. line-height: 43px;
  385. width: 200px;
  386. height: 43px;
  387. margin: 0 auto;
  388. background: url('./images/programTitle.png');
  389. background-size: 200px 43px;
  390. z-index: 100;
  391. // margin: 20px 15px 12px;
  392. font-weight: 600;
  393. text-align: center;
  394. }
  395. }
  396. }
  397. .bottomWrap {
  398. position: relative;
  399. .bottomBg {
  400. width: 100%;
  401. }
  402. .logo {
  403. width: 98px;
  404. height: 32px;
  405. position: absolute;
  406. left: 50%;
  407. margin-left: -49px;
  408. top: 0;
  409. }
  410. }
  411. }
  412. .iconEdit {
  413. font-size: 24px;
  414. }
  415. }
  416. .cellGroup {
  417. // margin-top: 12px;
  418. .cellTitle {
  419. padding: 15px 12px;
  420. .tag {
  421. font-size: 12px;
  422. background-color: #f2fffc;
  423. padding: 3px 6px 2px;
  424. border-radius: 3px;
  425. margin-right: 6px;
  426. flex-shrink: 0;
  427. }
  428. .title {
  429. font-size: 16px;
  430. font-weight: 600;
  431. color: #333333;
  432. line-height: 22px;
  433. max-width: 240px;
  434. }
  435. }
  436. .cellTimerSkeleton {
  437. display: flex;
  438. justify-content: flex-end;
  439. }
  440. .cellTimer {
  441. :global {
  442. .van-cell__title {
  443. flex: 0 auto;
  444. }
  445. .van-cell__title,
  446. .van-cell__value {
  447. color: var(--k-gray-3);
  448. font-size: 14px;
  449. }
  450. }
  451. .ing {
  452. color: var(--k-font-primary);
  453. }
  454. }
  455. }
  456. .pCellGroup {
  457. .imgType {
  458. width: 46px;
  459. height: 20px;
  460. margin-right: 5px;
  461. flex-shrink: 0;
  462. }
  463. .title {
  464. font-size: 16px;
  465. font-weight: 600;
  466. color: var(--k-gray-1);
  467. line-height: 22px;
  468. }
  469. .time {
  470. font-size: 14px;
  471. color: var(--k-gray-3);
  472. }
  473. .moreCell {
  474. padding-top: 15px;
  475. padding-bottom: 20px;
  476. }
  477. .valueClass {
  478. .item {
  479. margin-bottom: 15px;
  480. }
  481. text-align: left;
  482. font-size: 15px;
  483. color: var(--k-gray-1);
  484. .label {
  485. color: var(--k-gray-3);
  486. }
  487. .content {
  488. font-weight: 600;
  489. span {
  490. font-size: 14px;
  491. color: var(--k-font-primary);
  492. margin-left: 10px;
  493. }
  494. }
  495. }
  496. // .photoList {
  497. // display: flex;
  498. // margin-top: 15px;
  499. // }
  500. .photo {
  501. // position: relative;
  502. // width: 76px !important;
  503. // height: 76px !important;
  504. // margin-top: 0 !important;
  505. // & + .photo {
  506. // margin-left: 7px;
  507. // }
  508. video {
  509. width: inherit;
  510. height: inherit;
  511. border-radius: 4px;
  512. overflow: hidden;
  513. }
  514. .photoMore {
  515. position: absolute;
  516. top: 0;
  517. left: 0;
  518. bottom: 0;
  519. right: 0;
  520. background: rgba(0, 0, 0, 0.5);
  521. font-size: 14px;
  522. color: #fff;
  523. // font-weight: bold;
  524. display: flex;
  525. align-items: center;
  526. justify-content: center;
  527. border-radius: 2px;
  528. overflow: hidden;
  529. }
  530. }
  531. }
  532. .codeContainer {
  533. .timerBg {
  534. width: 131px;
  535. height: 27px;
  536. line-height: 27px;
  537. text-align: center;
  538. background: url('./images/timerBg.png');
  539. background-size: 131px 27px;
  540. position: absolute;
  541. left: 25px;
  542. top: 83px;
  543. font-weight: 600;
  544. color: #ffffff;
  545. font-size: 12px;
  546. }
  547. .codeImg {
  548. position: relative;
  549. width: 315px;
  550. height: 440px;
  551. z-index: 9;
  552. // background: url('./images/week/popup-week-banner.png') no-repeat top center;
  553. // background-size: contain;
  554. margin: 0 auto;
  555. background-color: #ffffff;
  556. border-radius: 8px;
  557. overflow: hidden;
  558. .popupWeekBanner {
  559. width: 100%;
  560. // position: absolute;
  561. top: 0;
  562. left: 0;
  563. z-index: -1;
  564. }
  565. &.teacherCodeImg {
  566. // background: url('./images/month/popup-week-banner.png') no-repeat top center;
  567. // background-size: contain;
  568. background-color: #ffffff;
  569. }
  570. .headerContantPopup {
  571. padding-top: 23px;
  572. padding-left: 18px;
  573. .trainTimer {
  574. &::before,
  575. &::after {
  576. display: none;
  577. }
  578. .point {
  579. margin-left: 4px;
  580. margin-right: 4px;
  581. width: 6px;
  582. height: 6px;
  583. }
  584. }
  585. }
  586. .codeTitle {
  587. text-align: center;
  588. padding-top: 13px;
  589. font-size: 24px;
  590. font-weight: bold;
  591. color: #ffffff;
  592. text-shadow: 1px 1px 7px #f4672a;
  593. max-width: 90%;
  594. padding-left: 5%;
  595. }
  596. .codeName {
  597. padding: 36px 8px 0;
  598. font-size: 18px;
  599. font-weight: 600;
  600. color: #ffffff;
  601. }
  602. .codeContent {
  603. position: relative;
  604. .schoolLogo {
  605. width: 52px;
  606. height: 52px;
  607. border-radius: 50%;
  608. overflow: hidden;
  609. border: 3px solid #fff;
  610. position: absolute;
  611. top: -26px;
  612. left: 50%;
  613. margin-left: -26px;
  614. }
  615. .schoolName {
  616. padding-top: 36px;
  617. text-align: center;
  618. font-weight: 600;
  619. color: #000000;
  620. line-height: 22px;
  621. font-size: 16px;
  622. }
  623. .shareName {
  624. padding-top: 4px;
  625. font-size: 14px;
  626. font-weight: 600;
  627. color: #1b93ff;
  628. line-height: 20px;
  629. text-align: center;
  630. padding-bottom: 12px;
  631. }
  632. .shareBottom {
  633. width: 194px;
  634. height: 38px;
  635. margin: 16px auto 0;
  636. display: block;
  637. }
  638. .codeQr {
  639. position: relative;
  640. margin: 0 auto 0;
  641. width: 126px;
  642. height: 126px;
  643. padding: 12px;
  644. // background: url('./images/popup-qrcode-bg.png') no-repeat center;
  645. // background-size: contain;
  646. border-radius: 11px;
  647. overflow: hidden;
  648. box-sizing: border-box;
  649. img {
  650. width: 100%;
  651. height: 100%;
  652. }
  653. .popupQrcodeBg {
  654. position: absolute;
  655. top: 0;
  656. left: 0;
  657. width: 126px;
  658. height: 126px;
  659. }
  660. }
  661. }
  662. .codeBtnText {
  663. margin: 20px auto 0;
  664. display: inline-block;
  665. background: linear-gradient(
  666. 132deg,
  667. rgba(199, 239, 243, 0.25) 0%,
  668. rgba(229, 206, 251, 0.25) 40%,
  669. rgba(147, 194, 254, 0.25) 100%
  670. );
  671. box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.62);
  672. border-radius: 18px;
  673. padding: 6px 16px;
  674. font-size: 14px;
  675. color: #000977;
  676. }
  677. .codeTips {
  678. padding-top: 10px;
  679. font-size: 13px;
  680. font-weight: 600;
  681. color: #f16437;
  682. line-height: 18px;
  683. text-align: center;
  684. }
  685. }
  686. .close {
  687. position: absolute;
  688. top: 12px;
  689. right: 15px;
  690. }
  691. .codeBottom {
  692. position: relative;
  693. margin-top: 32px;
  694. background: #ffffff;
  695. border-radius: 20px 20px 0px 0px;
  696. padding-bottom: 10px;
  697. }
  698. .title {
  699. font-size: 16px;
  700. font-weight: 600;
  701. color: #333333;
  702. line-height: 22px;
  703. padding: 15px 15px 0;
  704. i {
  705. display: inline-block;
  706. margin-right: 6px;
  707. width: 4px;
  708. height: 12px;
  709. background: #01c1b5;
  710. border-radius: 2px;
  711. }
  712. }
  713. .shareImg {
  714. width: 47px;
  715. height: 47px;
  716. }
  717. .shareText {
  718. padding-top: 6px;
  719. font-size: 14px;
  720. color: #333333;
  721. line-height: 20px;
  722. }
  723. }