style.scss 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605
  1. $theme-color: #1fe4dc;
  2. $font-color: #2d2d2d;
  3. $anima-time:0.2s;
  4. $anima-delay:0.15s;
  5. $border-color: #e7e7e7;
  6. .fdcheck{
  7. position: relative;
  8. cursor: pointer;
  9. &::before{
  10. content: '';
  11. border: #CCCCCC 1px solid;
  12. width: 14px;
  13. height: 14px;
  14. position: absolute;
  15. left: -20px;
  16. top: 50%;
  17. transform: translateY(-50%);
  18. display: inline-block;
  19. }
  20. }
  21. .check_active{
  22. &::before{
  23. content: '';
  24. background: #1fe4dc;
  25. border: #1fe4dc 1px solid;
  26. }
  27. &::after{
  28. left: -17px;
  29. top: 50%;
  30. position: absolute;
  31. display: table;
  32. border: 2px solid #000;
  33. border-top: 0;
  34. border-left: 0;
  35. transform: rotate(45deg) translate(-50%, -50%);
  36. opacity: 1;
  37. transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;
  38. width: 6px;
  39. height: 10px;
  40. content: " ";
  41. }
  42. }
  43. .btn {
  44. width: 88px;
  45. color: #2d2d2d;
  46. display: inline-block;
  47. font-size: 14px;
  48. text-align: center;
  49. border-radius: 2px;
  50. width: 88px;
  51. height: 34px;
  52. line-height: 34px;
  53. cursor: pointer;
  54. }
  55. .primary {
  56. background: $theme-color;
  57. }
  58. .cancel {
  59. background: #e6e6e6;
  60. margin-left: 10px;
  61. }
  62. .toast-layout {
  63. display: none;
  64. position: fixed;
  65. top: 0;
  66. left: 0;
  67. width: 100%;
  68. height: 100%;
  69. overflow: hidden;
  70. margin: 0;
  71. opacity:0;
  72. z-index: 88888888;
  73. transition: all $anima-time linear;
  74. .loading {
  75. svg {
  76. position: absolute;
  77. top: calc(50% - 14px);
  78. left: calc(50% - 14px);
  79. transform: translate(-50%, -50%);
  80. height: 50px;
  81. width: 50px;
  82. max-height: 50px;
  83. max-width: 50px;
  84. animation: rotateLoader 1s;
  85. animation-iteration-count: infinite;
  86. }
  87. }
  88. .toast-con {
  89. position: absolute;
  90. padding: 20px 0;
  91. top: 40%;
  92. left: 50%;
  93. transform: translate(-50%, -50%);
  94. background: #fff;
  95. border-radius: 6px;
  96. box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  97. .t-line {
  98. width: 100%;
  99. background: #e4e4e4;
  100. height: 1px;
  101. margin: 20px 0;
  102. }
  103. .iconfont {
  104. cursor: pointer;
  105. }
  106. .t-header{
  107. display: flex;
  108. justify-content: space-between;
  109. align-items: center;
  110. color: #969696;
  111. background: #f4f4f4;
  112. height: 54px;
  113. padding: 0 30px;
  114. }
  115. .pay-con {
  116. background: #fff;
  117. padding: 24px 30px;
  118. max-width: 95%;
  119. .capacity,
  120. .device,
  121. .mid,
  122. .validity,
  123. .amount {
  124. display: flex;
  125. padding-bottom: 32px;
  126. .attr {
  127. font-size: 14px;
  128. color: $font-color;
  129. }
  130. .attren {
  131. min-width: 140px;
  132. }
  133. .val {
  134. display: flex;
  135. align-items: center;
  136. margin-left: 20px;
  137. .time{
  138. color: #f9082a;
  139. font-size: 14px;
  140. }
  141. .a-price{
  142. color: #ff0000;
  143. font-size: 32px;
  144. span{
  145. font-size: 16px;
  146. font-weight: bold;
  147. }
  148. }
  149. .dec{
  150. color: #2d2d2d;
  151. font-size: 12px;
  152. margin-top: 10px;
  153. }
  154. .tag {
  155. height: 100%;
  156. font-size: 0;
  157. margin-right: 20px;
  158. display: flex;
  159. align-items: center;
  160. border: 1px solid #e7e7e7;
  161. position: relative;
  162. cursor: pointer;
  163. .year {
  164. min-width: 82px;
  165. height: 48px;
  166. line-height: 48px;
  167. text-align: center;
  168. display: inline-block;
  169. background: #ededed;
  170. color: #777777;
  171. font-size: 14px;
  172. flex-shrink: 0;
  173. }
  174. .price {
  175. background: #fff;
  176. height: 48px;
  177. width: 134px;
  178. line-height: 48px;
  179. display: inline-block;
  180. font-size: 18px;
  181. color: #ff0000;
  182. text-align: center;
  183. .per {
  184. font-size: 12px;
  185. color: #777777;
  186. }
  187. }
  188. img {
  189. position: absolute;
  190. bottom: 0;
  191. right: 0;
  192. width: 14px;
  193. }
  194. }
  195. .tag-renew{
  196. width: 140px;
  197. box-sizing: border-box;
  198. height: 40px;
  199. .tag-item{
  200. width: 100%;
  201. background: #f4f4f9;
  202. color: #2d2d2d;
  203. font-size: 16px;
  204. text-align: center;
  205. font-weight: bold;
  206. box-sizing: border-box;
  207. height: 38px;
  208. line-height: 38px;
  209. display: inline-block;
  210. vertical-align: middle;
  211. }
  212. img{
  213. display: none;
  214. }
  215. .iconfont{
  216. color: #777;
  217. vertical-align: middle;
  218. font-size: 30px;
  219. font-weight: normal;
  220. margin-right: 13px;
  221. }
  222. }
  223. .tag-active {
  224. border: 1px solid $theme-color;
  225. box-sizing: border-box;
  226. img{
  227. display: inline-block;
  228. }
  229. }
  230. }
  231. .body {
  232. margin-left: 20px;
  233. .pay-tag {
  234. cursor: pointer;
  235. border: 1px solid #e7e7e7;
  236. width: 200px;
  237. line-height: 36px;
  238. height: 36px;
  239. margin-bottom: 20px;
  240. position: relative;
  241. &:last-of-type{
  242. margin-bottom: 0;
  243. }
  244. span {
  245. margin-left: 36px;
  246. display: inline-block;
  247. text-align: center;
  248. padding-left: 60px;
  249. }
  250. img {
  251. position: absolute;
  252. }
  253. .t-icon {
  254. width: 36px;
  255. height: 35px;
  256. padding: 6px;
  257. left: 0;
  258. border-right: 1px solid #e7e7e7;
  259. }
  260. .t-click {
  261. right: 0;
  262. bottom: 0;
  263. display: none;
  264. }
  265. }
  266. .paypal-con{
  267. position: relative;
  268. .form-con{
  269. opacity: 0;
  270. input[type='text']{
  271. width: 1px;
  272. height: 1px;
  273. position: absolute;
  274. top: 0;
  275. left: 0;
  276. opacity: 0;
  277. }
  278. input[type='submit']{
  279. width: 100%;
  280. position: absolute;
  281. top: 0;
  282. left: 0;
  283. height: 100%;
  284. opacity: 0;
  285. }
  286. }
  287. }
  288. .tag-active {
  289. border: 1px solid $theme-color;
  290. span {
  291. color: #000;
  292. }
  293. .t-icon {
  294. border-right: 1px solid $theme-color;
  295. }
  296. .t-click {
  297. display: inline-block;
  298. }
  299. }
  300. }
  301. }
  302. .amount{
  303. .val{
  304. display: block;
  305. position: relative;
  306. top: -16px;
  307. .price-img{
  308. width: 180px;
  309. box-shadow: 0 0 10px rgba(0,0,0,0.2);
  310. margin: 18px 0 12px;
  311. }
  312. .scanicon{
  313. position: absolute;
  314. left: 210px;
  315. width: 200px;
  316. top: 30px;
  317. height: auto;
  318. }
  319. .dec{
  320. text-align: center;
  321. }
  322. }
  323. }
  324. }
  325. .binding-con{
  326. position: relative;
  327. height: 295px;
  328. border-top: 1px solid #e4e4e4;
  329. border-bottom: 1px solid #e4e4e4;
  330. .binding-body{
  331. position: absolute;
  332. top: 32px;
  333. left: 50%;
  334. transform: translateX(-50%);
  335. width: 420px;
  336. .toclient{
  337. color: #202020;
  338. margin-bottom: 24px;
  339. font-size: 14px;
  340. }
  341. .b-input{
  342. width: 100%;
  343. input{
  344. width: 100%;
  345. color: #969696;
  346. height: 40px;
  347. padding: 0 20px 0 10px;
  348. line-height: 40px;
  349. font-size: 14px;
  350. border: solid 1px #e7e7e7;
  351. }
  352. .notbing{
  353. border: 1px solid #ff0000;
  354. }
  355. }
  356. .bind-error{
  357. color: #ff0000;
  358. font-size: 14px;
  359. text-align: center;
  360. height: 30px;
  361. margin-top: 5px;
  362. }
  363. p{
  364. color: $font-color;
  365. font-size: 14px;
  366. line-height: 2;
  367. }
  368. }
  369. .cooperation{
  370. top: 0!important;
  371. width: 550px;
  372. .toclient{
  373. margin-top: 15px;
  374. margin-bottom: 7px;
  375. display: flex;
  376. justify-content: space-between;
  377. }
  378. .auth-list{
  379. display: flex;
  380. flex-wrap: wrap;
  381. margin-left: 20px;
  382. >li{
  383. margin-bottom: 10px;
  384. width: 25%;
  385. }
  386. }
  387. }
  388. .binding-success{
  389. position: absolute;
  390. top: 50%;
  391. left: 50%;
  392. transform: translate(-50%, -50%);
  393. width: 420px;
  394. text-align: center;
  395. img{
  396. width: 64px;
  397. }
  398. p{
  399. font-size: 16px;
  400. &:first-of-type{
  401. margin-bottom: 10px;
  402. }
  403. }
  404. }
  405. }
  406. .bind-btn{
  407. text-align: center;
  408. span{
  409. display: inline-block;
  410. margin: 18px auto;
  411. background: $theme-color;
  412. min-width: 100px;
  413. padding: 0 10px;
  414. height: 34px;
  415. line-height: 34px;
  416. font-size: 14px;
  417. cursor: pointer;
  418. }
  419. }
  420. .coo-btn{
  421. text-align: right;
  422. padding-right: 30px;
  423. >span{
  424. text-align: center;
  425. }
  426. .default{
  427. background-color: #E6E6E6;
  428. }
  429. }
  430. .invoice-con{
  431. background: #fff;
  432. padding: 30px;
  433. input {
  434. appearance: none;
  435. line-height: 36px;
  436. height: 36px;
  437. border: solid 1px $border-color;
  438. padding-left: 10px;
  439. &:focus {
  440. border: solid 1px $theme-color;
  441. }
  442. }
  443. .btn {
  444. text-align: center;
  445. cursor: pointer;
  446. }
  447. .parmary {
  448. background-color: $theme-color;
  449. width: 126px;
  450. height: 36px;
  451. line-height: 36px;
  452. margin-top: 20px;
  453. }
  454. .choose {
  455. background-color: #ddd;
  456. color: #fff;
  457. width: 100px;
  458. line-height: 26px;
  459. height: 26px;
  460. font-size: 12px;
  461. margin: 12px 0 20px;
  462. }
  463. .edit-invoice {
  464. .select-con {
  465. div {
  466. position: relative;
  467. cursor: pointer;
  468. width: 200px;
  469. line-height: 36px;
  470. height: 36px;
  471. margin: 10px 25px 10px 0;
  472. border: solid 1px $border-color;
  473. color: #a0a0a0;
  474. padding: 0 10px;
  475. display: inline-block;
  476. img {
  477. display: none;
  478. position: absolute;
  479. bottom: 0;
  480. right: 0;
  481. }
  482. }
  483. .tag-active {
  484. border: solid 1px $theme-color;
  485. color: #000;
  486. img {
  487. display: inline-block;
  488. }
  489. }
  490. }
  491. .input-con {
  492. input {
  493. width: 316px;
  494. line-height: 36px;
  495. height: 36px;
  496. margin: 10px 25px 10px 0;
  497. }
  498. }
  499. }
  500. .open-edu{
  501. margin-bottom: 10px;
  502. span{
  503. font-size: 14px;
  504. margin-left: 10px;
  505. }
  506. }
  507. }
  508. .show-invoice{
  509. background: #fff;
  510. padding: 30px;
  511. .invoice-p,.address-p{
  512. p{
  513. font-size: 14px;
  514. color: #969696;
  515. margin-bottom: 8px;
  516. &:first-of-type{
  517. margin-bottom: 10px;
  518. color: $font-color;
  519. }
  520. }
  521. }
  522. .address-p{
  523. margin-top: 20px;
  524. }
  525. }
  526. .edit-address {
  527. .input-con {
  528. input {
  529. width: 200px;
  530. line-height: 36px;
  531. height: 36px;
  532. margin: 10px 25px 10px 0;
  533. }
  534. }
  535. .address-input {
  536. input {
  537. width: 660px;
  538. }
  539. }
  540. }
  541. .t-line {
  542. width: 100%;
  543. background: #e4e4e4;
  544. height: 1px;
  545. margin: 20px 0;
  546. }
  547. .top {
  548. padding: 0 36px;
  549. display: flex;
  550. justify-content: space-between;
  551. align-items: center;
  552. color: #969696;
  553. span {
  554. font-size: 16px;
  555. }
  556. .iconfont {
  557. cursor: pointer;
  558. }
  559. }
  560. .detail {
  561. padding: 0 36px;
  562. img {
  563. width: 30px;
  564. display: inline-block;
  565. vertical-align: middle;
  566. }
  567. span {
  568. margin-left: 10px;
  569. font-size: 16px;
  570. color: #2d2d2d;
  571. display: inline-block;
  572. vertical-align: middle;
  573. }
  574. }
  575. .bottom {
  576. padding: 0 36px;
  577. float: right;
  578. }
  579. .mid-bottom {
  580. float: none;
  581. text-align: center;
  582. }
  583. }
  584. .recharge-con,.bind-con{
  585. padding: 0;
  586. border-radius: 4px;
  587. overflow: hidden;
  588. top: 50%;
  589. }
  590. .bind-con{
  591. .t-header{
  592. background: #fff;
  593. }
  594. }
  595. }
  596. .toast-active{
  597. display: block!important;
  598. opacity: 1!important;
  599. }