_id.scss 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982
  1. .mobileMain {
  2. position: relative;
  3. width: 100%;
  4. min-height: calc(100vh - 64px);
  5. margin: 0 !important;
  6. }
  7. .mobileWeb {
  8. margin-bottom: 30px !important;
  9. }
  10. .learn-detail-wrapper {
  11. position: relative;
  12. width: 1000px;
  13. .el-breadcrumb__inner {
  14. font-size: 16px;
  15. color: #999;
  16. }
  17. .el-breadcrumb__item:last-child .el-breadcrumb__inner {
  18. color: #333;
  19. }
  20. .learn-video {
  21. height: 278px;
  22. margin-top: 20px;
  23. .purchased {
  24. background: #fff;
  25. border-radius: 6px;
  26. height: 278px;
  27. display: flex;
  28. align-items: center;
  29. .video {
  30. width: 398px;
  31. height: 224px;
  32. border-radius: 10px;
  33. display: flex;
  34. justify-content: center;
  35. align-items: center;
  36. margin-left: 16px;
  37. position: relative;
  38. cursor: pointer;
  39. overflow: hidden;
  40. background: rgba(0,0,0,0.40);
  41. .play {
  42. width: 54px;
  43. height: 54px;
  44. border-radius: 50%;
  45. position: absolute;
  46. z-index: 1;
  47. }
  48. .bg-img {
  49. position: absolute;
  50. left: 0;
  51. top: 0;
  52. right: 0;
  53. bottom: 0;
  54. height: 100%;
  55. width: 100%;
  56. }
  57. }
  58. .intro {
  59. margin-right: 20px;
  60. margin-left: 16px;
  61. flex: 1;
  62. height: 224px;
  63. .title {
  64. display: flex;
  65. align-items: center;
  66. justify-content: space-between;
  67. .text {
  68. font-size: 20px;
  69. color: #222;
  70. line-height: 28px;
  71. width: 440px;
  72. font-family: PingFangSC, PingFangSC-Medium;
  73. }
  74. .collect-share{
  75. display: flex;
  76. margin-left: 45px;
  77. .common {
  78. display: flex;
  79. flex-direction: column;
  80. justify-content: center;
  81. align-items: center;
  82. margin-left: 24px;
  83. cursor: pointer;
  84. .icon {
  85. width: 21px;
  86. height: 21px;
  87. display: inline-block;
  88. }
  89. .txt {
  90. font-size: 12px;
  91. font-family: PingFangSC, PingFangSC-Medium;
  92. color: #666;
  93. }
  94. }
  95. }
  96. }
  97. .lectruer {
  98. margin-top: 25px;
  99. color: rgb(197, 193, 193);
  100. font-size: 14px;
  101. font-family: PingFangSC, PingFangSC-Medium;
  102. display: flex;
  103. align-items: center;
  104. .line {
  105. margin: 0 10px;
  106. display: inline-block;
  107. }
  108. .txt {
  109. color: #308eff;
  110. }
  111. }
  112. .price {
  113. margin-top: 49px;
  114. font-family: PingFangSC, PingFangSC-Medium;
  115. .new {
  116. color: #F60;
  117. font-size: 22px;
  118. display: inline-block;
  119. }
  120. .first-letter:first-letter {
  121. font-size: 14px;
  122. }
  123. .old {
  124. font-size: 14px;
  125. text-decoration: line-through;
  126. color: #999;
  127. margin-left: 8px;
  128. }
  129. }
  130. .btns {
  131. display: flex;
  132. align-items: center;
  133. justify-content: space-between;
  134. margin-top: 37px;
  135. .el-button {
  136. padding: 0;
  137. width: 130px;
  138. height: 44px;
  139. border-radius: 6px;
  140. border: 1px solid #308EFF;
  141. color: #308EFF;
  142. font-size: 14px;
  143. font-family: PingFangSC, PingFangSC-Medium;
  144. }
  145. .go-buy {
  146. color: #fff;
  147. .icon {
  148. width: 18px;
  149. height: 18px;
  150. display: inline-block;
  151. vertical-align: sub;
  152. margin-right: -4px;
  153. }
  154. }
  155. .brief {
  156. span {
  157. font-family: PingFangSC, PingFangSC-Medium;
  158. background: #efefef;
  159. border-radius: 3px;
  160. padding: 6px 14px;
  161. color: #666;
  162. font-size: 12px;
  163. font-weight: 500;
  164. }
  165. }
  166. }
  167. }
  168. }
  169. }
  170. .learn-content {
  171. margin-top: 12px;
  172. display: flex;
  173. .con-left {
  174. width: 739px;
  175. .learn-tabs {
  176. position: relative;
  177. width: 100%;
  178. height: 50px;
  179. display: flex;
  180. align-items: center;
  181. background: #fff;
  182. border-radius: 5px;
  183. .tabs-item:hover {
  184. color: #222;
  185. font-size: 15px;
  186. }
  187. .tabs-item {
  188. position: relative;
  189. width: 79px;
  190. height: 50px;
  191. line-height: 50px;
  192. font-size: 16px;
  193. font-family: PingFangSC, PingFangSC-Regular;
  194. font-weight: 400;
  195. text-align: center;
  196. color: #666;
  197. cursor: pointer;
  198. &.active {
  199. font-size: 15px;
  200. font-family: PingFangSC, PingFangSC-Semibold;
  201. font-weight: 600;
  202. color: #222;
  203. &:after {
  204. position: absolute;
  205. content: " ";
  206. width: 15px;
  207. height: 3px;
  208. bottom: 1px;
  209. left: calc(50% - 7.5px);
  210. background: #308eff;
  211. border-radius: 2px;
  212. }
  213. }
  214. }
  215. }
  216. .introduction {
  217. margin-top: 12px;
  218. background: #fff;
  219. padding: 16px;
  220. border-radius: 6px;
  221. p {
  222. font-family: PingFangSC, PingFangSC-Medium;
  223. line-height: 25px;
  224. font-size: 16px;
  225. color: #333;
  226. // 文字超过内容宽度处理
  227. word-wrap: break-word;
  228. word-break: break-all;
  229. overflow: hidden;
  230. }
  231. img {
  232. margin: 12px 0;
  233. }
  234. }
  235. .catalog {
  236. background: #fff;
  237. margin-top: 12px;
  238. padding: 20px;
  239. .catalog-item {
  240. margin-bottom: 24px;
  241. }
  242. .li {
  243. display: flex;
  244. justify-content: space-between;
  245. align-items: center;
  246. height: 59px;
  247. border-bottom: 1px solid #e9ecee;
  248. .is-charge {
  249. width: 33px;
  250. height: 18px;
  251. border-radius: 3px;
  252. border: 1px solid;
  253. font-size: 12px;
  254. display: inline-block;
  255. text-align: center;
  256. line-height: 18px;
  257. margin-right: 6px;
  258. }
  259. .free {
  260. border-color:#308EFF;
  261. color: #308EFF;
  262. }
  263. .charge {
  264. border-color:#f25637;
  265. color: #f25637;
  266. }
  267. .txt {
  268. font-size: 16px;
  269. color: #333;
  270. font-family: PingFangSC, PingFangSC-Semibold;
  271. font-weight: 400;
  272. }
  273. .is-publish {
  274. font-size: 14px;
  275. font-weight: 400;
  276. font-family: PingFangSC, PingFangSC-Regular;
  277. }
  278. .publish {
  279. color: #308eff;
  280. }
  281. .unpublish {
  282. color: #666;
  283. }
  284. .timer {
  285. min-width: 90px;
  286. text-align: right;
  287. display:inline-block;
  288. color: #666;
  289. font-family: PingFangSC, PingFangSC-Regular;
  290. font-size: 16px;
  291. margin-left: 8px;
  292. img {
  293. width: 16px;
  294. height: 16px;
  295. vertical-align: top;
  296. margin-right: 4px;
  297. }
  298. }
  299. }
  300. .title {
  301. font-size: 16px;
  302. font-family: PingFangSC, PingFangSC-Semibold;
  303. font-weight: 600;
  304. color: #222;
  305. }
  306. }
  307. .questions {
  308. background: #fff;
  309. padding-top: 6px;
  310. border-radius: 6px;
  311. margin-top: 12px;
  312. .el-collapse-item__arrow {
  313. transform: rotate(-90deg);
  314. }
  315. .el-collapse-item__arrow.is-active {
  316. transform: rotate(90deg);
  317. }
  318. .el-collapse-item__header {
  319. background: #f4f5f9;
  320. padding-left: 20px;
  321. font-family: PingFangSC, PingFangSC-Semibold;
  322. color: #222;
  323. font-size: 14px;
  324. font-weight: 600;
  325. }
  326. .el-collapse-item__content {
  327. font-size: 15px;
  328. font-family: PingFangSC, PingFangSC-Semibold;
  329. font-weight: 400;
  330. color: #222;
  331. line-height: 24px;
  332. }
  333. }
  334. }
  335. .con-right {
  336. width: 250px;
  337. margin-left: 12px;
  338. .r-lectruer {
  339. background: #fff;
  340. min-height: 302px;
  341. border-radius: 6px;
  342. .lectruer-img {
  343. display: flex;
  344. flex-direction: column;
  345. justify-content: center;
  346. align-items: center;
  347. width: 218px;
  348. height: 159px;
  349. margin: 0 auto;
  350. border-bottom: 1px solid #e9ecee;
  351. .l-img {
  352. display: flex;
  353. flex-direction: column;
  354. align-items: center;
  355. img {
  356. width: 70px;
  357. height: 70px;
  358. border-radius: 50%;
  359. background: #f4f5f9;
  360. display: block;
  361. }
  362. span {
  363. width: 53px;
  364. height: 22px;
  365. text-align: center;
  366. line-height: 22px;
  367. display: inline-block;
  368. color: #fff;
  369. background: #308EFF;
  370. border-radius: 22px;
  371. font-size: 12px;
  372. font-family: PingFangSC, PingFangSC-Regular;
  373. margin-top:-6px;
  374. }
  375. }
  376. .name {
  377. font-size: 13px;
  378. color: #222;
  379. font-family: PingFangSC, PingFangSC-Semibold;
  380. font-weight: 600;
  381. margin-top: 10px;
  382. }
  383. .job {
  384. font-size: 12px;
  385. color: #999;
  386. font-family: PingFangSC, PingFangSC-Semibold;
  387. font-weight: 400;
  388. margin-top: 12px;
  389. }
  390. }
  391. .lectruer-info {
  392. font-size: 12px;
  393. color: #666;
  394. font-family: PingFangSC, PingFangSC-Regular;
  395. font-weight: 400;
  396. line-height: 18px;
  397. padding: 16px;
  398. }
  399. }
  400. .class-consult {
  401. background: #fff;
  402. margin-top: 12px;
  403. border-radius: 6px;
  404. min-height: 128px;
  405. .consult {
  406. margin-top: 8px;
  407. display: flex;
  408. flex-direction: column;
  409. align-items: center;
  410. .show-ewm {
  411. position: relative;
  412. width: 222px;
  413. height: 34px;
  414. .ewm {
  415. width: 100px;
  416. height: 132px;
  417. position: absolute;
  418. right: -125px;
  419. top: -52px;
  420. background: #fff;
  421. display: none;
  422. }
  423. .img {
  424. width: 100px;
  425. height: 100px;
  426. margin-top: 5px;
  427. }
  428. .text {
  429. font-size: 13px;
  430. font-family: PingFangSC, PingFangSC-Regular;
  431. text-align: center;
  432. color: #666;
  433. display: block;
  434. }
  435. }
  436. .show-ewm:hover {
  437. .ewm {
  438. display: block;
  439. }
  440. }
  441. .el-button {
  442. width: 222px;
  443. height: 34px;
  444. border-radius: 5px;
  445. font-size: 13px;
  446. font-weight: 500;
  447. font-family: PingFangSC, PingFangSC-Regular;
  448. color: #308eff;
  449. border-color: #308eff;
  450. padding: 0;
  451. margin: 0 auto;
  452. img {
  453. width: 16px;
  454. height: 16px;
  455. vertical-align: sub;
  456. }
  457. }
  458. .info {
  459. font-size: 12px;
  460. color: #666;
  461. line-height: 18px;
  462. font-family: PingFangSC, PingFangSC-Regular;
  463. font-weight: 400;
  464. padding: 14px;
  465. }
  466. }
  467. }
  468. .course-learn {
  469. border-radius: 6px;
  470. background: #fff;
  471. margin-top: 12px;
  472. ul {
  473. display: flex;
  474. flex-wrap: wrap;
  475. }
  476. li {
  477. display: flex;
  478. flex-direction: column;
  479. align-items: center;
  480. width: 50px;
  481. margin: 0 0 20px 10px;
  482. img {
  483. width: 34px;
  484. height: 34px;
  485. }
  486. span {
  487. color: #666;
  488. font-size: 12px;
  489. font-weight: 400;
  490. font-family: PingFangSC, PingFangSC-Regular;
  491. margin-top: 8px;
  492. }
  493. }
  494. }
  495. }
  496. .header-txt {
  497. font-size: 16px;
  498. color: #222;
  499. font-family: PingFangSC, PingFangSC-Regular;
  500. position: relative;
  501. display: block;
  502. padding-left: 16px;
  503. height: 44px;
  504. line-height: 44px;
  505. font-weight: 500;
  506. display: flex;
  507. justify-content: space-between;
  508. }
  509. .header-txt:after {
  510. content: '';
  511. position: absolute;
  512. left: 0;
  513. top: 15px;
  514. width: 2px;
  515. height: 14px;
  516. background: #308eff;
  517. display: block;
  518. }
  519. }
  520. }
  521. .learn-detail-wrapper-mobile {
  522. position: relative;
  523. width: 100%;
  524. padding-bottom: calc(1.4rem + constant(safe-area-inset-bottom));
  525. padding-bottom: calc(1.4rem + env(safe-area-inset-bottom));
  526. // padding-bottom: constant(safe-area-inset-bottom);
  527. // padding-bottom: env(safe-area-inset-bottom);
  528. display: flex;
  529. flex-direction: column;
  530. .video-container {
  531. width: 100%;
  532. height: 4.2rem;
  533. border: 1px solid green;
  534. position: relative;
  535. background: rgba(0,0,0,.5);
  536. .player {
  537. width: 100%;
  538. height: 4.2rem;
  539. }
  540. .video-cover {
  541. background-size: cover;
  542. background-position: center;
  543. height: 4.2rem;
  544. .play {
  545. width: 1.04rem;
  546. height: 1.04rem;
  547. position: absolute;
  548. top: 50%;
  549. left: 50%;
  550. -webkit-transform: translate(-50%, -50%);
  551. transform: translate(-50%, -50%);
  552. }
  553. }
  554. }
  555. .tabs {
  556. height: 44px;
  557. background: #fff;
  558. border-bottom: 1px solid #f4f4f4;
  559. display: flex;
  560. span {
  561. display: flex;
  562. justify-content: center;
  563. align-items: center;
  564. flex: 1;
  565. position: relative;
  566. font-size: 0.3rem;
  567. font-family: PingFangSC, PingFangSC-Regular;
  568. font-weight: 400;
  569. text-align: right;
  570. color: #888;
  571. text-align: center;
  572. }
  573. span.active {
  574. color: #222;
  575. font-weight: 600;
  576. }
  577. span.active:after {
  578. content: '';
  579. width: 0.3rem;
  580. height: 0.06rem;
  581. background: #308eff;
  582. position: absolute;
  583. bottom: 0;
  584. left: 50%;
  585. -webkit-transform: translate(-50%, 0);
  586. transform: translate(-50%, 0);
  587. }
  588. }
  589. .intro-info {
  590. margin-top: 0.24rem;
  591. background: #fff;
  592. padding: 0 0.24rem;
  593. .title {
  594. display: flex;
  595. justify-content: space-between;
  596. padding: 0.24rem 0;
  597. align-items: center;
  598. .text {
  599. font-size: 0.32rem;
  600. font-family: PingFangSC, PingFangSC-Semibold;
  601. font-weight: 600;
  602. color: #222;
  603. }
  604. .icon {
  605. width: 0.44rem;
  606. height: 0.44rem;
  607. display: inline-block;
  608. }
  609. }
  610. .info {
  611. font-size: 0.24rem;
  612. font-family: PingFangSC, PingFangSC-Regular;
  613. font-weight: 400;
  614. color: #666;
  615. line-height: 0.4rem;
  616. }
  617. .msg {
  618. display: flex;
  619. justify-content: space-between;
  620. align-items: center;
  621. padding: 0.24rem 0;
  622. .now-price {
  623. font-size: 0.3rem;
  624. font-family: PingFangSC, PingFangSC-Semibold;
  625. font-weight: 600;
  626. color: #f60;
  627. }
  628. .old-price {
  629. font-size: 0.24rem;
  630. font-family: PingFangSC, PingFangSC-Regular;
  631. font-weight: 400;
  632. text-decoration: line-through;
  633. color: #999;
  634. margin-left: 0.08rem;
  635. }
  636. .look {
  637. font-size: 0.24rem;
  638. font-family: PingFangSC, PingFangSC-Regular;
  639. font-weight: 400;
  640. color: #666;
  641. margin-right: 0.32rem;
  642. }
  643. .right {
  644. display: flex;
  645. align-items: center;
  646. .img {
  647. width: 0.4rem;
  648. height: 0.4rem;
  649. border: 0.04rem solid #fff;
  650. border-radius: 50%;
  651. background: #f4f4f4;
  652. margin-left: -0.2rem;
  653. background: #f4f4f4;
  654. color: #bbb;
  655. display: inline-block;
  656. max-width: inherit;
  657. }
  658. .text {
  659. vertical-align:top;
  660. font-size: 0.24rem;
  661. font-family: PingFangSC, PingFangSC-Regular;
  662. line-height: 0.16rem;
  663. text-align: center;
  664. }
  665. }
  666. }
  667. }
  668. .lecturer {
  669. display: flex;
  670. align-items: center;
  671. justify-content: space-between;
  672. background: #fff;
  673. margin: 0.24rem;
  674. padding: 0 0.24rem;
  675. height: 1.76rem;
  676. border-radius: 0.08rem;
  677. .picture {
  678. position: relative;
  679. width: 0.92rem;
  680. height: 0.92rem;
  681. margin-top: -0.24rem;
  682. img {
  683. width: 0.92rem;
  684. height: 0.92rem;
  685. border-radius: 50%;
  686. }
  687. span {
  688. width: 0.84rem;
  689. height: 0.4rem;
  690. display: block;
  691. line-height: 0.4rem;
  692. text-align: center;
  693. background: #308eff;
  694. color: #fff;
  695. border-radius: 0.2rem;
  696. font-size: 0.24rem;
  697. font-family: PingFangSC, PingFangSC-Semibold;
  698. position: absolute;
  699. left: 0.06rem;
  700. bottom: -0.28rem;
  701. }
  702. }
  703. .info {
  704. flex: 1;
  705. margin-left: 0.24rem;
  706. margin-right: 0.2rem;
  707. .name {
  708. font-size: 0.3rem;
  709. font-family: PingFangSC, PingFangSC-Semibold;
  710. font-weight: 600;
  711. color: #222;
  712. }
  713. p {
  714. font-size: 0.24rem;
  715. font-family: PingFangSC, PingFangSC-Regular;
  716. font-weight: 400;
  717. color: #666;
  718. line-height: 0.36rem;
  719. overflow: hidden;
  720. text-overflow: ellipsis;
  721. display: -webkit-box;
  722. -webkit-line-clamp: 3; //行数
  723. -webkit-box-orient: vertical;
  724. }
  725. }
  726. .go {
  727. width: 0.28rem;
  728. height: 0.28rem;
  729. }
  730. }
  731. .directory {
  732. margin-top: 0.24rem;
  733. .item {
  734. display: flex;
  735. justify-content: space-between;
  736. align-items: center;
  737. margin-bottom: 0.24rem;
  738. .title {
  739. display: flex;
  740. flex-direction: column;
  741. }
  742. .text {
  743. font-size: 0.3rem;
  744. font-family: PingFangSC, PingFangSC-Regular;
  745. font-weight: 400;
  746. color: #333;
  747. }
  748. .timer {
  749. font-size: 0.22rem;
  750. font-family: PingFangSC, PingFangSC-Regular;
  751. font-weight: 400;
  752. color: #999;
  753. }
  754. .is-free {
  755. width: 44px;
  756. height: 24px;
  757. border-radius: 0.06rem;
  758. font-size: 0.22rem;
  759. font-family: PingFangSC, PingFangSC-Medium;
  760. font-weight: 500;
  761. display: flex;
  762. justify-content: center;
  763. align-items: center;
  764. }
  765. .free {
  766. border: 1px solid #27bb6f;
  767. color: #27bb6f;
  768. }
  769. .charge {
  770. width: 46px;
  771. height: 26px;
  772. background: rgba(48,142,255,0.11);
  773. color: #308EFF;
  774. }
  775. }
  776. }
  777. .board {
  778. margin-top: 0.24rem;
  779. }
  780. .course-intro {
  781. background: #fff;
  782. margin-top: 0.24rem;
  783. margin: 0.24rem;
  784. border-radius: 0.16rem;
  785. .img-info {
  786. padding: 0.24rem;
  787. font-size: 0.28rem;
  788. font-family: PingFangSC, PingFangSC-Regular;
  789. font-weight: 400;
  790. color: #222;
  791. line-height: 0.48rem;
  792. word-wrap:break-word;
  793. word-break:normal;
  794. }
  795. }
  796. .common-title {
  797. font-size: 0.32rem;
  798. font-family: PingFangSC, PingFangSC-Semibold;
  799. font-weight: 600;
  800. color: #222;
  801. padding: 0.24rem;
  802. display: block;
  803. position: relative;
  804. }
  805. .common-title:before {
  806. content: '';
  807. width: 0.04rem;
  808. height: 0.28rem;
  809. background: #308EFF;
  810. position: absolute;
  811. left: 0;
  812. top: 0.28rem;
  813. }
  814. .questions {
  815. background:#fff;
  816. margin-bottom: 0.4rem;
  817. }
  818. .pay-content {
  819. position: fixed;
  820. bottom: 0;
  821. left: 0;
  822. right: 0;
  823. // height: 1.4rem;
  824. box-shadow: 0px -0.5px 0px 0px #e6e6e6 inset;
  825. background: #fff;
  826. display: flex;
  827. height: calc(1.4rem + constant(safe-area-inset-bottom));
  828. height: calc(1.4rem + env(safe-area-inset-bottom));
  829. // height: constant(safe-area-inset-bottom);
  830. // height: env(safe-area-inset-bottom);
  831. .btn-study {
  832. display: flex;
  833. align-self: center;
  834. padding: 0 0.4rem;
  835. width: 100vw;
  836. .btn {
  837. width: 100%;
  838. display: flex;
  839. justify-content: center;
  840. align-items: center;
  841. height: 0.84rem;
  842. background: #308eff;
  843. border-radius: 0.16rem;
  844. font-size: 0.3rem;
  845. font-family: PingFangSC, PingFangSC-Medium;
  846. font-weight: 500;
  847. color: #fff;
  848. }
  849. }
  850. .btn-buy {
  851. width: 100%;
  852. display: flex;
  853. justify-content: space-between;
  854. align-items: center;
  855. padding: 0 0.24rem;
  856. .service {
  857. display: flex;
  858. flex-direction: column;
  859. align-items: center;
  860. img {
  861. width: 0.5rem;
  862. height: 0.46rem;
  863. }
  864. span {
  865. font-size: 0.23rem;
  866. font-family: PingFangSC, PingFangSC-Regular;
  867. font-weight: 400;
  868. color: #666;
  869. }
  870. }
  871. .price {
  872. display: flex;
  873. align-items: center;
  874. .new-price {
  875. font-size: 0.38rem;
  876. font-family: PingFangSC, PingFangSC-Semibold;
  877. font-weight: 600;
  878. color: #f60;
  879. margin-right: 0.24rem;
  880. }
  881. .btn {
  882. display: flex;
  883. justify-content: center;
  884. align-items: center;
  885. width: 2.4rem;
  886. height: 0.84rem;
  887. background: #308eff;
  888. border-radius: 0.16rem;
  889. font-size: 0.3rem;
  890. font-family: PingFangSC, PingFangSC-Medium;
  891. font-weight: 500;
  892. color: #fff;
  893. }
  894. }
  895. }
  896. }
  897. // .image-list {
  898. // width: 100%;
  899. // height: calc(100vw * 9 / 16);
  900. // .image-swiper {
  901. // position: relative;
  902. // width: 100%;
  903. // height: 100%;
  904. // display: flex;
  905. // justify-content: center;
  906. // }
  907. // .swiper-wrapper {
  908. // width: 100%;
  909. // height: 100%;
  910. // .swiper-slide {
  911. // width: 100%;
  912. // height: 100%;
  913. // img {
  914. // width: 100%;
  915. // height: 100%;
  916. // object-fit: scale-down;
  917. // }
  918. // }
  919. // }
  920. // .swiper-pagination {
  921. // position: absolute;
  922. // bottom: 10px;
  923. // left: auto !important;
  924. // }
  925. // }
  926. // .learn-info {
  927. // width: 100%;
  928. // height: 105px;
  929. // padding: 15px 10px;
  930. // background: #ffffff;
  931. // border-radius: 10px 10px 0px 0px;
  932. // .learn-title {
  933. // width: 100%;
  934. // height: 25px;
  935. // line-height: 25px;
  936. // font-size: 18px;
  937. // font-family: PingFangSC, PingFangSC-Semibold;
  938. // font-weight: 600;
  939. // color: #222222;
  940. // overflow: hidden;
  941. // text-overflow: ellipsis;
  942. // white-space: nowrap;
  943. // }
  944. // .userinfo-wrapper {
  945. // margin-top: 15px;
  946. // width: 100%;
  947. // height: 34px;
  948. // display: flex;
  949. // align-items: center;
  950. // justify-content: space-between;
  951. // .left-info {
  952. // display: flex;
  953. // align-items: center;
  954. // .avatar {
  955. // width: 34px;
  956. // height: 34px;
  957. // border-radius: 50%;
  958. // overflow: hidden;
  959. // }
  960. // .nickname {
  961. // margin-left: 9px;
  962. // height: 20px;
  963. // line-height: 20px;
  964. // font-size: 14px;
  965. // font-family: PingFangSC, PingFangSC-Medium;
  966. // font-weight: 500;
  967. // color: #222222;
  968. // }
  969. // }
  970. // }
  971. // }
  972. // .learn-content {
  973. // margin-top: 10px;
  974. // width: 100%;
  975. // background: #ffffff;
  976. // .ql-editor {
  977. // padding: 20px 12px 30px;
  978. // }
  979. // }
  980. }