main.scss 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686
  1. @import "../../../../public/scss/reset.scss";
  2. @import "../../../../public/scss/unicom.scss";
  3. @font-face {
  4. font-family: "SourceHanSansSC-Regular";
  5. src: url("../../../../public/fonts/SourceHanSansSC/SourceHanSansSC-Regular.woff2") format("woff2"), url("../../../../public/fonts/SourceHanSansSC/SourceHanSansSC-Regular.woff") format("woff"), url("../../../../public/fonts/SourceHanSansSC/SourceHanSansSC-Regular.ttf") format("truetype"), url("../../../../public/fonts/SourceHanSansSC/SourceHanSansSC-Regular.eot") format("embedded-opentype"), url("../../../../public/fonts/SourceHanSansSC/SourceHanSansSC-Regular.svg") format("svg");
  6. }
  7. @font-face {
  8. font-family: "SourceHanSansSC-Medium";
  9. src: url("../../../../public/fonts/SourceHanSansSC/SourceHanSansSC-Medium.woff2") format("woff2"), url("../../../../public/fonts/SourceHanSansSC/SourceHanSansSC-Medium.woff") format("woff"), url("../../../../public/fonts/SourceHanSansSC/SourceHanSansSC-Medium.ttf") format("truetype"), url("../../../../public/fonts/SourceHanSansSC/SourceHanSansSC-Medium.eot") format("embedded-opentype"), url("../../../../public/fonts/SourceHanSansSC/SourceHanSansSC-Medium.svg") format("svg");
  10. }
  11. @font-face {
  12. font-family: "SourceHanSansSC-Light";
  13. src: url("../../../../public/fonts/SourceHanSansSC/SourceHanSansSC-Light.woff2") format("woff2"), url("../../../../public/fonts/SourceHanSansSC/SourceHanSansSC-Light.woff") format("woff"), url("../../../../public/fonts/SourceHanSansSC/SourceHanSansSC-Light.ttf") format("truetype"), url("../../../../public/fonts/SourceHanSansSC/SourceHanSansSC-Light.eot") format("embedded-opentype"), url("../../../../public/fonts/SourceHanSansSC/SourceHanSansSC-Light.svg") format("svg");
  14. }
  15. html,
  16. body {
  17. margin: 0;
  18. padding: 0;
  19. }
  20. body {
  21. font-size: 0.3rem;
  22. color: white;
  23. font-family: PingFangSC-Regular, sans-serif, "SourceHanSansCN-Regular", "Microsoft YaHei", "微软雅黑", STXihei, SimHei, "华文细黑";
  24. }
  25. .main {
  26. min-height: 25.8rem;
  27. background: #f60 url(../images/bg.png) no-repeat;
  28. }
  29. .float-business-button {
  30. position: fixed;
  31. top: 2rem;
  32. left: 0;
  33. width: 0.6rem;
  34. height: 2rem;
  35. background-color: #ff7d39;
  36. border-radius: 0 0.2rem 0.2rem 0;
  37. display: flex;
  38. align-items: center;
  39. justify-content: center;
  40. flex-direction: column;
  41. z-index: 100;
  42. .question {
  43. width: 0.34rem;
  44. height: 0.34rem;
  45. margin-left: 0.05rem;
  46. background: url(../images/question.png) no-repeat;
  47. background-size: 100% 100%;
  48. }
  49. .name {
  50. line-height: 0.32rem;
  51. margin-left: 0.05rem;
  52. padding: 0.1rem 0.15rem 0;
  53. }
  54. }
  55. .section-order {
  56. padding-top: 9rem;
  57. display: flex;
  58. align-items: center;
  59. justify-content: center;
  60. .btn-order {
  61. width: 5.94rem;
  62. height: 1.03rem;
  63. background: url(../images/btn-order.png) no-repeat;
  64. background-size: 100% 100%;
  65. }
  66. .btn-order_h {
  67. width: 5.94rem;
  68. height: 1.03rem;
  69. background: url(../images/order_h.png) no-repeat;
  70. background-size: 100% 100%;
  71. display: none;
  72. }
  73. .btn-channel_a {
  74. width: 5.94rem;
  75. height: 1.03rem;
  76. background: url(../images/channel.png) no-repeat;
  77. background-size: 100% 100%;
  78. display: none;
  79. }
  80. }
  81. .section-explain-flow {
  82. width: 7.32rem;
  83. height: 3.28rem;
  84. margin: 1rem auto 0;
  85. background: url(../images/特权说明@2x.png) no-repeat;
  86. background-size: 100% 100%;
  87. .title {
  88. height: 0.65rem;
  89. display: flex;
  90. align-items: center;
  91. justify-content: center;
  92. }
  93. .content {
  94. font-weight: 400;
  95. font-size: 0.24rem;
  96. line-height: 0.4rem;
  97. padding: 0.63rem 0.5rem 0;
  98. color: #333333;
  99. }
  100. }
  101. .section-rbt {
  102. width: 6.9rem;
  103. height: 11.137rem;
  104. margin: 0 auto;
  105. border-radius: 0.15rem;
  106. margin-top: 0.26rem;
  107. .rbt-list-box {
  108. .rbt-box-head {
  109. height: 0.58rem;
  110. overflow-x: scroll;
  111. .rbt-item-box {
  112. width: 12.483rem;
  113. font-size: 0.28rem;
  114. .item {
  115. float: left;
  116. width: 1.347rem;
  117. height: 0.58rem;
  118. display: flex;
  119. align-items: center;
  120. justify-content: center;
  121. background: #D35831;
  122. margin-right: 0.04rem;
  123. border-radius: 0.1rem 0.1rem 0 0;
  124. }
  125. .item-active {
  126. color: #C34523;
  127. background: #ffffff;
  128. }
  129. }
  130. }
  131. .rbt-box-body-container {
  132. background: #FFF;
  133. border-radius: 0 0 0.1rem 0.1rem;
  134. .flip-for-more {
  135. color: #3783FB;
  136. font-size: 0.3rem;
  137. padding: 0.43rem 0 0.48rem;
  138. display: flex;
  139. align-items: center;
  140. justify-content: center;
  141. img {
  142. width: 0.22rem;
  143. height: 0.26rem;
  144. margin: 0 0.11rem;
  145. }
  146. }
  147. }
  148. .rbt-box-body {
  149. // height: 9.15rem;
  150. height: 10.5rem;
  151. overflow-x: scroll;
  152. .rbt-item {
  153. width: 3.12rem;
  154. height: 6.216rem;
  155. float: left;
  156. margin: 0.27rem 0 0 0.22rem;
  157. .rbt-main {
  158. font-size: 0;
  159. position: relative;
  160. border-radius: 0.1rem;
  161. .rbt-cover {
  162. width: 3.12rem;
  163. border-radius: 0.1rem;
  164. }
  165. .rbt-play {
  166. width: 0.67rem;
  167. height: 0.67rem;
  168. position: absolute;
  169. top: 50%;
  170. left: 50%;
  171. transform: translate(-50%);
  172. }
  173. .btn {
  174. position: absolute;
  175. bottom: 0;
  176. right: 0;
  177. width: 1.52rem;
  178. height: 0.5rem;
  179. font-size: 0.3rem;
  180. border-radius: 0.1rem;
  181. background: #FF0082;
  182. display: flex;
  183. align-items: center;
  184. justify-content: center;
  185. }
  186. }
  187. .rbt-title {
  188. color: #010101;
  189. font-size: 0.3rem;
  190. overflow: hidden;
  191. text-overflow: ellipsis;
  192. display: flex;
  193. align-items: center;
  194. height: 1rem;
  195. }
  196. }
  197. .no-more {
  198. float: left;
  199. height: 1rem;
  200. width: 100%;
  201. color: #aaa9a9;
  202. text-align: center;
  203. justify-content: center;
  204. display: flex;
  205. align-items: center;
  206. font-size: 0.3rem;
  207. .line {
  208. height: 1px;
  209. width: 2rem;
  210. border-bottom: 1px solid #aaa9a9;
  211. }
  212. .title {
  213. margin: 0 0.2rem
  214. }
  215. }
  216. }
  217. }
  218. }
  219. .section-agr {
  220. width: 6.86rem;
  221. height: 10.86rem;
  222. position: fixed;
  223. top: 50%;
  224. left: 50%;
  225. color: #333;
  226. font-size: 0.24rem;
  227. transform: translate(-50%, -50%);
  228. background: #FFF5E5;
  229. border-radius: 0.16rem;
  230. z-index: 9991;
  231. .agr-title {
  232. height: 0.48rem;
  233. .close {
  234. position: absolute;
  235. top: 0.22rem;
  236. right: 0.22rem;
  237. width: 0.26rem;
  238. height: 0.25rem;
  239. background: url(../images/close.png) no-repeat;
  240. background-size: 100% 100%;
  241. }
  242. }
  243. .agr-content {
  244. height: 10.3rem;
  245. position: relative;
  246. overflow-x: scroll;
  247. .title {
  248. font-size: 0.36rem;
  249. text-align: center;
  250. margin: 0 auto 0.36rem;
  251. }
  252. .content {
  253. margin: 0 0.4rem 0.36rem;
  254. ul {
  255. li {
  256. line-height: 0.45rem;
  257. text-align: justify;
  258. }
  259. }
  260. }
  261. }
  262. .action {
  263. display: flex;
  264. align-items: center;
  265. justify-content: center;
  266. margin-top: 0.28rem;
  267. .btn {
  268. width: 3.36rem;
  269. height: 0.64rem;
  270. ;
  271. background: #FF0083;
  272. border-radius: 0.32rem;
  273. display: flex;
  274. align-items: center;
  275. justify-content: center;
  276. color: #FFFFFF;
  277. }
  278. }
  279. }
  280. .section-preview {
  281. position: fixed;
  282. top: 0;
  283. left: 0;
  284. right: 0;
  285. bottom: 0;
  286. z-index: 9990;
  287. background: red;
  288. .content {
  289. width: 100%;
  290. height: 100%;
  291. position: relative;
  292. .close {
  293. width: 1.2rem;
  294. height: 0.5rem;
  295. position: absolute;
  296. top: 0.39rem;
  297. left: 0.3rem;
  298. color: #FFF;
  299. font-size: 0.3rem;
  300. background: #FF0081;
  301. border-radius: 0.1rem;
  302. z-index: 9992;
  303. display: flex;
  304. align-items: center;
  305. justify-content: center;
  306. &:hover {
  307. opacity: 1;
  308. }
  309. span {
  310. font-size: 0.24rem;
  311. margin-right: 0.05rem;
  312. margin-left: -0.1rem;
  313. }
  314. }
  315. video {
  316. width: 100%;
  317. height: 100%;
  318. background: black;
  319. }
  320. .play {
  321. width: 1.35rem;
  322. height: 1.35rem;
  323. position: absolute;
  324. top: 50%;
  325. left: 50%;
  326. transform: translate(-50%, -50%);
  327. background: url(../images/icon-play.png) no-repeat;
  328. background-size: 100% 100%;
  329. }
  330. .dail {
  331. width: 5.48rem;
  332. height: 3rem;
  333. position: absolute;
  334. bottom: 2.39rem;
  335. left: 50%;
  336. transform: translate(-50%);
  337. background: url(../images/dail.png) no-repeat;
  338. background-size: 100% 100%;
  339. }
  340. .setting {
  341. width: 3rem;
  342. height: 0.6rem;
  343. background: #FF0081;
  344. border-radius: 0.1rem;
  345. position: absolute;
  346. bottom: 1.3rem;
  347. left: 50%;
  348. transform: translate(-50%);
  349. border-radius: 0.1rem;
  350. display: flex;
  351. align-items: center;
  352. justify-content: center;
  353. }
  354. .must-know {
  355. width: 1.24rem;
  356. height: 0.42rem;
  357. font-size: 0.28rem;
  358. font-weight: 500;
  359. color: #FFFFFF;
  360. position: absolute;
  361. bottom: 0.5rem;
  362. left: 50%;
  363. transform: translate(-50%);
  364. border-bottom: 0.01rem solid #FFFFFF;
  365. padding-bottom: 0.01rem;
  366. text-align: center;
  367. }
  368. }
  369. }
  370. .absolute-center {
  371. position: absolute;
  372. top: 50%;
  373. left: 50%;
  374. transform: translate(-50%, -50%);
  375. z-index: 9991;
  376. }
  377. .fixed-center {
  378. position: fixed;
  379. top: 50%;
  380. left: 50%;
  381. transform: translate(-50%, -50%);
  382. z-index: 9991;
  383. background: #FFF5E5;
  384. border-radius: 0.16rem;
  385. }
  386. input::-webkit-input-placeholder {
  387. color: #999999;
  388. font-size: 0.28rem;
  389. }
  390. input::-moz-placeholder {
  391. /* Mozilla Firefox 19+ */
  392. color: #999999;
  393. font-size: 0.28rem;
  394. }
  395. input:-moz-placeholder {
  396. /* Mozilla Firefox 4 to 18 */
  397. color: #999999;
  398. font-size: 0.28rem;
  399. }
  400. input:-ms-input-placeholder {
  401. /* Internet Explorer 10-11 */
  402. color: #999999;
  403. font-size: 0.28rem;
  404. }
  405. .sms-form {
  406. .form-group {
  407. border-radius: 0.18rem;
  408. padding: 0.35rem 0.3rem;
  409. .input-row {
  410. display: flex;
  411. align-items: center;
  412. justify-content: center;
  413. align-content: space-between;
  414. margin-bottom: 0.16rem;
  415. background: #FFFFFF;
  416. border-radius: 0.08rem;
  417. .smscode {
  418. width: 100%;
  419. }
  420. .sendcode {
  421. height: .64rem;
  422. min-width: 1.1rem;
  423. color: #FFFFFF;
  424. font-size: 0.24rem;
  425. padding: 0 0.2rem;
  426. word-break: keep-all;
  427. white-space: nowrap;
  428. border-radius: 0.1rem;
  429. background: #FF0083;
  430. margin-right: 0.04rem;
  431. outline: none;
  432. -webkit-appearance: none;
  433. display: flex;
  434. align-items: center;
  435. justify-content: center;
  436. }
  437. .sendcode-wait {}
  438. &:last-child {
  439. margin-bottom: 0rem;
  440. }
  441. }
  442. input {
  443. width: 100%;
  444. height: 0.72rem;
  445. line-height: 0.72rem;
  446. color: #333333;
  447. font-size: 0.3rem;
  448. outline: none;
  449. -webkit-appearance: none;
  450. min-width: 2.4rem;
  451. margin-bottom: 0.01rem;
  452. border: 0 solid #FFFFFF;
  453. border-radius: 0.1rem;
  454. padding-left: 0.3rem;
  455. background: none;
  456. }
  457. }
  458. .actions {
  459. width: 4.46rem;
  460. margin: 0 auto;
  461. display: flex;
  462. align-items: center;
  463. justify-content: space-between;
  464. .btn {
  465. width: 2.16rem;
  466. height: 0.64rem;
  467. font-size: 0.28rem;
  468. display: flex;
  469. align-items: center;
  470. justify-content: center;
  471. border-radius: 0.32rem
  472. }
  473. .btn-primary {
  474. color: white;
  475. background: #FAABD3;
  476. }
  477. .btn-info {
  478. color: white;
  479. background: #FF0083;
  480. }
  481. }
  482. }
  483. .section-login {
  484. width: 5.4rem;
  485. height: 3.31rem;
  486. background: #FFF5E5;
  487. border-radius: 0.16rem;
  488. }
  489. .section-message {
  490. width: 4.2rem;
  491. min-height: 2.58rem;
  492. background: #FFF5E5;
  493. border-radius: 0.16rem;
  494. .content {
  495. font-size: 0.28rem;
  496. color: #333333;
  497. min-height: 1rem;
  498. padding: 0.3rem;
  499. text-align: center;
  500. word-break: break-all;
  501. display: flex;
  502. align-items: center;
  503. justify-content: center;
  504. }
  505. .actions {
  506. width: 3.36rem;
  507. margin: 0 auto 0.3rem;
  508. display: flex;
  509. align-items: center;
  510. justify-content: space-between;
  511. .btn {
  512. width: 1.6rem;
  513. height: 0.64rem;
  514. font-size: 0.28rem;
  515. display: flex;
  516. align-items: center;
  517. justify-content: center;
  518. border-radius: 0.32rem
  519. }
  520. .btn-primary {
  521. color: white;
  522. background: #FAABD3;
  523. }
  524. .btn-info {
  525. color: white;
  526. background: #FF0083;
  527. }
  528. }
  529. }
  530. .section-setting {
  531. width: 5.4rem;
  532. // height: 2.42rem;
  533. background: #FFF5E5;
  534. border-radius: 0.16rem;
  535. .content {
  536. color: #333333;
  537. // height: 1.42rem;
  538. padding: 0 0.3rem;
  539. text-align: center;
  540. word-break: break-all;
  541. display: flex;
  542. align-items: center;
  543. justify-content: center;
  544. .form-group {
  545. margin: 0.36rem auto;
  546. background: #FFFFFF;
  547. border-radius: 0.08rem;
  548. display: flex;
  549. align-items: center;
  550. input {
  551. height: 0.72rem;
  552. line-height: 0.72rem;
  553. background: none;
  554. border-radius: 0.08rem;
  555. padding: 0 0 0 0.2rem;
  556. border: none;
  557. }
  558. .mobile {
  559. width: 4.80rem;
  560. }
  561. .code {
  562. width: 3.26rem;
  563. }
  564. .send {
  565. font-size: 0.24rem;
  566. min-width: 1.5rem;
  567. height: 0.64rem;
  568. color: white;
  569. background: #FF0083;
  570. border-radius: 0.08rem;
  571. margin-right: 0.04rem;
  572. padding: 0 0.2rem;
  573. display: flex;
  574. align-items: center;
  575. justify-content: center;
  576. }
  577. .sendcode-wait {
  578. background: #B5B5B5;
  579. }
  580. }
  581. .status {
  582. display: flex;
  583. flex-direction: column;
  584. align-items: center;
  585. margin: 0.45rem auto 0.35rem;
  586. .status-icon {
  587. width: 0.84rem;
  588. height: 0.84rem;
  589. background: url(../images/success.png) no-repeat;
  590. background-size: 100% 100%;
  591. }
  592. .status-name {
  593. margin-top: 0.24rem;
  594. }
  595. }
  596. }
  597. .actions {
  598. width: 4.46rem;
  599. margin: 0 auto;
  600. display: flex;
  601. align-items: center;
  602. justify-content: space-between;
  603. margin-bottom: 0.39rem;
  604. .btn {
  605. width: 2.16rem;
  606. height: 0.64rem;
  607. font-size: 0.28rem;
  608. display: flex;
  609. align-items: center;
  610. justify-content: center;
  611. border-radius: 0.32rem;
  612. background: #FAABD3;
  613. }
  614. .btn-primary {
  615. color: white;
  616. background: #FF0083;
  617. }
  618. .btn-lg {
  619. width: 3.36rem;
  620. margin: 0 auto;
  621. }
  622. }
  623. }
  624. .section-alert {
  625. width: unset;
  626. }
  627. .dialog-alert {
  628. width: 4.2rem;
  629. top: 50%;
  630. left: 50%;
  631. right: unset;
  632. transform: translate(-50%, -50%);
  633. z-index: 9998;
  634. position: fixed;
  635. animation: frames-top-center-01 300ms;
  636. min-height: auto;
  637. height: auto;
  638. color: #333;
  639. background: #FFF5E5;
  640. border-radius: 0.16rem;
  641. h1 {
  642. font-size: 0.3rem;
  643. margin-top: 0.4rem;
  644. }
  645. .content {
  646. font-size: 0.28rem;
  647. min-height: 0.8rem;
  648. margin: 0.1rem 0.5rem;
  649. word-break: break-all;
  650. display: flex;
  651. align-items: center;
  652. justify-content: center;
  653. }
  654. .actions {
  655. .btn {
  656. width: 3.36rem;
  657. height: 0.64rem;
  658. font-size: 0.28rem;
  659. background: #FF0083;
  660. border-radius: 0.32rem;
  661. }
  662. }
  663. }