detail.module.less 18 KB

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