main.scss 18 KB

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