优惠券分享

index-01.css 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624
  1. html,
  2. body,
  3. div,
  4. h3, h4, h5, h6, p,
  5. span, em, i,
  6. ::before,
  7. ::after{
  8. padding: 0;
  9. margin: 0;
  10. -webkit-box-sizing: border-box;
  11. box-sizing: border-box;
  12. -webkit-tap-highlight-color: transparent;
  13. }
  14. *{-webkit-overflow-scrolling: touch;}
  15. button{
  16. border: none;
  17. background:none;
  18. outline:none;
  19. }
  20. ol, ul{
  21. list-style: none;
  22. padding: 0;
  23. margin: 0;
  24. }
  25. body{
  26. font-size: 14px;
  27. color: #333;
  28. }
  29. em, i{
  30. font-style: normal;
  31. }
  32. a{
  33. text-decoration: none;
  34. }
  35. .clearfix::before,
  36. .clearfix::after{
  37. content: "";
  38. display: block;
  39. height: 0;
  40. line-height: 0;
  41. visibility: hidden;
  42. clear: both;
  43. }
  44. .elli{
  45. display: box;
  46. overflow: hidden;
  47. text-overflow: ellipsis;
  48. display: -webkit-box;
  49. -webkit-line-clamp: 2;
  50. -webkit-box-orient: vertical;
  51. }
  52. #copy_1,#copyName_1,#copy1{
  53. outline: none;
  54. border: 0px;
  55. color: rgba(0,0,0,0.0);
  56. position: absolute;
  57. left:-2000px;
  58. background-color: transparent;
  59. }
  60. #copy_2,#copyName_2,#copy2{
  61. position: absolute;
  62. left:-2000px;
  63. color: rgba(0,0,0,0);
  64. background-color: transparent;
  65. }
  66. .btn1,.btn2{
  67. float: left;
  68. width: 65%;
  69. height: 50px;
  70. color: #fff;
  71. font-size: 16px;
  72. vertical-align: middle;
  73. }
  74. .btn2 i{
  75. display: inline-block;
  76. width: 30px;
  77. height: 30px;
  78. vertical-align: middle;
  79. background: url(img/money.png) no-repeat;
  80. background-size:100% ;
  81. margin-right: 5px;
  82. }
  83. .btn1{
  84. background:linear-gradient(90deg,#FEC800,#FD9D03);
  85. }
  86. .btn2{
  87. background:linear-gradient(90deg,#FE6735,#FF2D23);
  88. }
  89. /*弹层*/
  90. .mask,.mask_two,.maskYzm{
  91. background: rgba(0,0,0,0.59);
  92. position: fixed;
  93. top: 0;
  94. left: 0;
  95. width: 100%;
  96. height: 100%;
  97. display: flex;
  98. justify-content: center;
  99. align-items: center;
  100. visibility:hidden;
  101. }
  102. .content,.content_two,.maskYzm .yzmCon{
  103. width: 80%;
  104. background: #fff;
  105. border-radius:4px;
  106. text-align: center;
  107. }
  108. .content_two{
  109. height: 80%;
  110. overflow: hidden;
  111. /*overflow-y: scroll;*/
  112. }
  113. .con_tit{
  114. width: 100%;
  115. }
  116. .con_tit,.con_tit_two{
  117. display: block;
  118. width: 80%;
  119. height: 7%;
  120. font-size:18px;
  121. font-family:PingFangSC-Semibold;
  122. color:rgba(56,56,56,1);
  123. line-height:25px;
  124. margin: auto;
  125. padding-top: 12px;
  126. padding-bottom: 20px;
  127. padding-left: 15px;
  128. padding-right: 15px;
  129. border-radius:4px;
  130. }
  131. .con_tit_two{
  132. /*position: fixed;
  133. top: 57px;
  134. z-index: 999;*/
  135. background: #fff;
  136. vertical-align: middle;
  137. width: 94%;
  138. padding: 0.2rem;
  139. }
  140. .course_item{
  141. height: 100%;
  142. padding: 0 6%;
  143. text-indent: -1em;
  144. margin-left: 1em;
  145. overflow-y: scroll;
  146. -webkit-overflow-scrolling: touch;
  147. z-index: 999;
  148. background: #fff;
  149. margin-top: 0.2rem;
  150. padding-bottom: 0.4rem;
  151. }
  152. .course_item img{
  153. width:200px;
  154. height:200px;
  155. margin-top: 13px;
  156. margin-bottom: 20px;
  157. }
  158. .mask .con_tit img{
  159. display: block;
  160. float:right;
  161. width: 11px;
  162. height: 11px;
  163. margin-top: 6px;
  164. }
  165. .mask .con_con{
  166. display: block;
  167. width:231px;
  168. height:52px;
  169. font-size:15px;
  170. font-family:PingFangSC-Regular;
  171. color:rgba(51,51,51,1);
  172. line-height:21px;
  173. margin: auto;
  174. }
  175. .mask .content #close_know{
  176. display: block;
  177. width:126px;
  178. height:37px;
  179. background:linear-gradient(-138deg,rgba(245,132,72,1),rgba(249,93,66,1));
  180. border-radius:9px;
  181. font-size:0.3rem;
  182. font-family:PingFangSC-Regular;
  183. color: #FFFFFF;
  184. line-height: 37px;
  185. margin:auto;
  186. margin-bottom: 15px;
  187. }
  188. .mask .con_course{
  189. display: block;
  190. width:79px;
  191. /*height:18px;*/
  192. font-size:13px;
  193. font-family:PingFangSC-Regular;
  194. color:rgba(255,115,0,1);
  195. line-height:18px;
  196. margin: auto;
  197. margin-bottom: 12px;
  198. }
  199. .p_text{
  200. text-align: left;
  201. margin-left: 0.4rem;
  202. }
  203. #download{
  204. display: block;
  205. width:109px;
  206. height:32px;
  207. background:linear-gradient(-119deg,rgba(245,132,72,1),rgba(249,93,66,1));
  208. border-radius:9px;
  209. font-size:0.3rem;
  210. font-family:PingFangSC-Regular;
  211. color:rgba(255,255,255,1);
  212. line-height:32px;
  213. margin: 0 auto;
  214. /*margin-top: 18px;*/
  215. margin-bottom: 46px;
  216. padding-left: 12px;
  217. box-sizing: border-box;
  218. }
  219. .save_money p:nth-of-type(1){
  220. display: block;
  221. width:91px;
  222. height:25px;
  223. font-size:18px;
  224. font-family:PingFangSC-Medium;
  225. color:rgba(255,255,255,1);
  226. line-height:25px;
  227. margin: auto;
  228. }
  229. .save_money p:nth-of-type(2){
  230. display: block;
  231. width:66px;
  232. height:42px;
  233. font-size:30px;
  234. font-family:PingFangSC-Medium;
  235. color:rgba(255,255,255,1);
  236. line-height:42px;
  237. margin: auto;
  238. }
  239. .make_money,.save_money{
  240. width:200px;
  241. height:134px;
  242. margin: auto;
  243. background: url(images/005.png) no-repeat;
  244. background-size: 100% 100%;
  245. padding-top: 34px;
  246. box-sizing: border-box;
  247. margin-top: 13px;
  248. margin-bottom: 20px;
  249. }
  250. .make_money p:nth-of-type(1){
  251. display: block;
  252. width:55px;
  253. height:25px;
  254. font-size:18px;
  255. font-family:PingFangSC-Medium;
  256. color:rgba(255,255,255,1);
  257. line-height:25px;
  258. margin: auto;
  259. }
  260. .make_money p:nth-of-type(2){
  261. display: block;
  262. width:101px;
  263. height:28px;
  264. font-size:20px;
  265. font-family:PingFangSC-Medium;
  266. color:rgba(255,255,255,1);
  267. line-height:28px;
  268. margin: auto;
  269. }
  270. /*弹层 结束*/
  271. #copy_1,#copy_2{
  272. position: absolute;
  273. left: -1000rem;
  274. }
  275. .download-wrapper {
  276. display: flex;
  277. display: -webkit-flex;
  278. width: 100%;
  279. height: 1.12rem;
  280. align-items: center;
  281. justify-content: center;
  282. padding: 0.2rem;
  283. background: #F4F4F4;
  284. position: fixed;
  285. top: 0;
  286. left: 0;
  287. z-index: 500;
  288. }
  289. .download-wrapper .img-box{
  290. flex: 0 0 0.72rem;
  291. margin-right: 12px;
  292. border-radius: 6px;
  293. overflow: hidden;
  294. }
  295. .download-wrapper .img-box img{
  296. width: 100%;
  297. height: 100%;
  298. }
  299. .download-wrapper .content{
  300. flex: 1;
  301. }
  302. .download-wrapper .content .title{
  303. font-size: 16px;
  304. font-weight: 500;
  305. line-height: 20px;
  306. }
  307. .download-wrapper .content .text{
  308. font-size: 10px;
  309. color: #666;
  310. line-height: 14px;
  311. }
  312. .download-wrapper a{
  313. flex: 0 0 1.6rem;
  314. height: 0.56rem;
  315. line-height: 0.56rem;
  316. text-align: center;
  317. background: linear-gradient(-90deg, #FF6900, #FFA500);
  318. border-radius: 28px;
  319. border: 0 none;
  320. font-size: 14px;
  321. color: #FFFFFF;
  322. }
  323. /*. download-wrapper .img-box,
  324. .download-wrapper .content,
  325. .download-wrapper button{
  326. } */
  327. .swiper-container{
  328. width: 7.5rem;
  329. height: 7.5rem;
  330. overflow: hidden;
  331. position: relative;
  332. /*padding-top: 0.92rem;*/
  333. margin-top: 1.12rem;
  334. }
  335. .swiper-wrapper{
  336. width: 100%;
  337. height: 100%;
  338. }
  339. .swiper-slide img{
  340. width: 100%;
  341. /*height: 100%;*/
  342. }
  343. .swiper-pagination-bullet{
  344. width: 3px;
  345. height: 3px;
  346. border-radius: 50%;
  347. display: inline-block;
  348. margin-left: 10px;
  349. background: #CFCFCF;
  350. }
  351. .swiper-pagination-bullet.swiper-pagination-bullet-active{
  352. width: 8px;
  353. background: #fff;
  354. border-radius: 0;
  355. }
  356. .details-wrapper{
  357. display: flex;
  358. display: -webkit-flex;
  359. flex-direction: column;
  360. width: 100%;
  361. padding: 0 0.2rem;
  362. margin-bottom: 50px;
  363. }
  364. .details-wrapper .price{
  365. margin-top: 16px;
  366. font-size: 0px;
  367. font-weight: normal;
  368. }
  369. .details-wrapper .price span{
  370. color: #FF1E00;
  371. font-size: 12px;
  372. font-weight: normal;
  373. }
  374. .details-wrapper .price em{
  375. line-height: 30px;
  376. font-size: 22px;
  377. color: #FF1E00;
  378. }
  379. span.icon.icon-price{
  380. display: inline-block;
  381. vertical-align: top;
  382. width: 1.28rem;
  383. height: 0.28rem;
  384. line-height: 0.28rem;
  385. margin-top: 9px;
  386. margin-left: 10px;
  387. background: url('img/icon-price.png') no-repeat center center;
  388. -webkit-background-size: 100% 100%;
  389. background-size: 100% 100%;
  390. font-size: 10px;
  391. color: #fff;
  392. padding: 0px 5px;
  393. }
  394. .details-wrapper .info{
  395. display: flex;
  396. display: -webkit-flex;
  397. justify-content: space-between;
  398. align-items: center;
  399. height: 18px;
  400. margin: 9px 0 5px;
  401. color: #878787;
  402. font-size: 13px;
  403. }
  404. .details-wrapper .info .before-price > span{
  405. text-decoration: line-through;
  406. }
  407. .details-wrapper .desc{
  408. font-size: 15px;
  409. line-height: 20px;
  410. }
  411. .btn-wrapper{
  412. position: fixed;
  413. bottom: 0;
  414. left: 0;
  415. width: 100%;
  416. height: 50px;
  417. }
  418. .btn-wrapper .btn{
  419. width: 100%;
  420. height: 100%;
  421. border: 0 none;
  422. font-size: 16px;
  423. color: #fff;
  424. background: linear-gradient(90deg, #FF9000, #FF5000);
  425. }
  426. .btn-wrapper .btn em{
  427. font-weight: 500;
  428. }
  429. /*.step-wrapper{
  430. margin: 30px auto;
  431. font-size: 14px;
  432. line-height: 20px;
  433. padding-left: 0.2rem;
  434. }
  435. .inviting-pic{
  436. width: 5.6rem;
  437. height: 7.76rem;
  438. box-shadow: 0 4px 13px rgba(0, 0, 0, 0.15);
  439. margin: 0 auto;
  440. border-radius: 10px;
  441. }*/
  442. .weui-mask_transparent {
  443. position: fixed;
  444. z-index: 1000;
  445. top: 0;
  446. right: 0;
  447. left: 0;
  448. bottom: 0;
  449. }
  450. .weui-toast {
  451. position: fixed;
  452. z-index: 5000;
  453. width: 7.6em;
  454. min-height: 7.6em;
  455. top: 180px;
  456. left: 50%;
  457. margin-left: -3.8em;
  458. background: rgba(17, 17, 17, 0.7);
  459. text-align: center;
  460. border-radius: 5px;
  461. color: #FFFFFF;
  462. }
  463. .hide{
  464. display: none;
  465. opacity: 0;
  466. }
  467. .show{
  468. display: block;
  469. opacity: 1;
  470. }
  471. .weui-icon-success-no-circle {
  472. display: inline-block;
  473. vertical-align: middle;
  474. margin: 22px 0 0;
  475. width: 39px;
  476. height: 30px;
  477. background: url(img/getIt.png) no-repeat 0 0;
  478. -webkit-background-size: 39px 30px;
  479. background-size: 39px 30px;
  480. }
  481. .weui-toast__content {
  482. margin: 6px 0 15px;
  483. }
  484. .alert-info {
  485. position: absolute;
  486. top: 9.35rem;
  487. right: 0;
  488. left: 0;
  489. bottom: 0;
  490. text-align: center;
  491. z-index: 9999;
  492. }
  493. .alert-info p {
  494. display: inline-block;
  495. height: 38px;
  496. color: #fff;
  497. font-size: 14px;
  498. line-height: 38px;
  499. padding: 0 10px;
  500. background-color: rgba(0, 0, 0, 0.7);
  501. border-radius: 5px;
  502. }
  503. /*注册弹框*/
  504. #registerMask,#registerSuccess{
  505. width: 100%;
  506. height: 100vh;
  507. position: fixed;
  508. top: 0;
  509. left: 0;
  510. background: rgba(0,0,0,0.4);
  511. z-index: 501;
  512. visibility: hidden;
  513. }
  514. #registerSuccess .content h3{
  515. font-size: 0.36rem;
  516. line-height: 0.5rem;
  517. padding-top: 0.44rem;
  518. padding-bottom: 0.33rem;
  519. }
  520. #registerSuccess .content .con{
  521. color: #262626;
  522. font-size: 0.28rem;
  523. line-height: 0.4rem;
  524. margin-bottom: 0.56rem;
  525. }
  526. #registerSuccess .content .copyTkl{
  527. padding: 0;
  528. margin: 0;
  529. width: 1.92rem;
  530. height: 0.48rem;
  531. background: #FA2C36;
  532. border-radius: 0.1rem;
  533. color: #FFFFFF;
  534. font-size: 0.28rem;
  535. line-height: 0.48rem;
  536. }
  537. #registerMask .content,#registerSuccess .content{
  538. width: 5rem;
  539. min-height: 5.68rem;
  540. background: #FFFFFF;
  541. position: absolute;
  542. top: 3.26rem;
  543. left: 0;
  544. right: 0;
  545. margin: auto;
  546. padding: 0 0.32rem;
  547. box-sizing: border-box;
  548. }
  549. #registerSuccess .content{
  550. min-height: 4.26rem;
  551. }
  552. #registerMask .content .h3{
  553. font-size: 0.3rem;
  554. line-height: 0.42rem;
  555. padding-top: 0.7rem;
  556. padding-bottom: 0.34rem;
  557. }
  558. #registerMask .content .inputItem{
  559. display: flex;
  560. align-items: center;
  561. height: 0.8rem;
  562. border-bottom: 0.02rem solid #333333;
  563. }
  564. #registerMask .content .inputItem img{
  565. width: 0.32rem;
  566. height: 0.45rem;
  567. }
  568. #registerMask .content .inputItem:nth-of-type(2) img{
  569. width: 0.32rem;
  570. height: 0.41rem;
  571. }
  572. #registerMask .content .inputItem input{
  573. flex: 1;
  574. width: 2.4rem;
  575. font-size: 0.26rem;
  576. line-height: 0.36rem;
  577. margin-left: 0.16rem;
  578. border: none;
  579. outline:none;
  580. }
  581. #registerMask .content .inputItem .yzmButton{
  582. width: 1.4rem;
  583. height: 0.38rem;
  584. border: 0.01rem solid #4A4A4A;
  585. border-radius: 0.19rem;
  586. color: #4A4A4A;
  587. font-size: 0.22rem;
  588. line-height: 0.4rem;
  589. padding: 0;
  590. margin: 0;
  591. }
  592. #registerMask .content .confirm{
  593. width: 4.3rem;
  594. height: 0.64rem;
  595. background: #FA2E36;
  596. border-radius: 0.06rem;
  597. color: #FFFFFF;
  598. font-size: 0.28rem;
  599. line-height: 0.64rem;
  600. margin-top: 0.92rem;
  601. }
  602. #registerMask .content .close,#registerSuccess .content .close{
  603. width: 0.6rem;
  604. height: 0.6rem;
  605. position: absolute;
  606. bottom: -1.1rem;
  607. left: 0;
  608. right: 0;
  609. margin: auto;
  610. }