nc-payment.scss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725
  1. .container {
  2. width: 100%;
  3. height: 100%;
  4. & > view {
  5. width: 100%;
  6. height: 100%;
  7. }
  8. }
  9. .payment-wrap {
  10. .header {
  11. height: .66rem;
  12. display: flex;
  13. align-items: center;
  14. border-bottom: .01rem solid #E6E6E6;
  15. }
  16. .body {
  17. flex: 1;
  18. height: 0;
  19. padding: .15rem 0;
  20. box-sizing: border-box;
  21. display: flex;
  22. }
  23. .info-wrap {
  24. flex: 1;
  25. width: 0;
  26. margin-right: .15rem;
  27. display: flex;
  28. flex-direction: column;
  29. .info {
  30. flex: 1;
  31. height: 0;
  32. background-color: #F7F8FA;
  33. padding-bottom: .15rem;
  34. box-sizing: border-box;
  35. /deep/ .uni-scroll-view-content {
  36. margin: 0 .15rem;
  37. width: calc(100% - .3rem);
  38. box-sizing: border-box;
  39. }
  40. .payment-money {
  41. text-align: right;
  42. font-size: .2rem;
  43. border-bottom: .01rem solid #E6E6E6;
  44. line-height: .6rem;
  45. }
  46. .title {
  47. line-height: .6rem;
  48. font-size: .16rem;
  49. }
  50. .uni-flex {
  51. flex-wrap: wrap;
  52. }
  53. .type-item {
  54. padding: .2rem .10rem;
  55. background: #fff;
  56. border: .01rem solid #e6e6e6;
  57. display: flex;
  58. align-items: center;
  59. font-size: .16rem;
  60. margin: 0 .1rem .1rem 0;
  61. width: calc((100% - 0.86rem) / 3);
  62. line-height: 1;
  63. cursor: pointer;
  64. position: relative;
  65. border-radius: .02rem;
  66. .name {
  67. flex: 1;
  68. width: 0;
  69. overflow: hidden;
  70. text-overflow: ellipsis;
  71. white-space: nowrap;
  72. }
  73. &:nth-child(3n+3){
  74. margin-right: 0;
  75. }
  76. .iconfont {
  77. color: $primary-color;
  78. font-size: .3rem;
  79. margin-right: .1rem;
  80. }
  81. .text {
  82. color: #FE2278;
  83. margin-left: .05rem;
  84. }
  85. .iconxuanzhong {
  86. position: absolute;
  87. display: none;
  88. }
  89. &.active {
  90. border-color: $primary-color;
  91. .iconxuanzhong {
  92. display: block;
  93. right: -.11rem;
  94. bottom: -.01rem;
  95. }
  96. }
  97. &.disabled {
  98. background: #f5f5f5;
  99. cursor: not-allowed;
  100. }
  101. }
  102. .pay-type {
  103. .type-item {
  104. padding: .15rem .1rem;
  105. }
  106. .pay-icon {
  107. color: #fff;
  108. background: #F0F0F0;
  109. width: .3rem;
  110. height: .3rem;
  111. display: flex;
  112. align-items: center;
  113. justify-content: center;
  114. font-size: .16rem;
  115. border-radius: .05rem;
  116. }
  117. }
  118. }
  119. .button-wrap {
  120. padding-top: .15rem;
  121. display: flex;
  122. justify-content: flex-end;
  123. align-items: center;
  124. .scancode {
  125. color: $primary-color;
  126. }
  127. button {
  128. margin: 0 0 0 .1rem;
  129. min-width: 1rem;
  130. }
  131. .print-ticket {
  132. flex: 1;
  133. width: 0;
  134. display: flex;
  135. align-items: center;
  136. }
  137. }
  138. }
  139. .bill-wrap {
  140. width: 3rem;
  141. border: .01rem solid #E6E6E6;
  142. .title {
  143. text-align: center;
  144. font-size: .2rem;
  145. border-bottom: .01rem solid #E6E6E6;
  146. line-height: .6rem;
  147. }
  148. .body {
  149. padding: 0;
  150. margin: 0 .15rem;
  151. display: block;
  152. height: auto;
  153. .block-title {
  154. position: relative;
  155. text-align: center;
  156. width: 100%;
  157. height: .35rem;
  158. margin-top: .2rem;
  159. text {
  160. padding: 0 .2rem;
  161. background: #fff;
  162. position: absolute;
  163. left: 50%;
  164. top: 50%;
  165. z-index: 1;
  166. transform: translate(-50%, -50%);
  167. font-size: .16rem;
  168. }
  169. &::before{
  170. content: "";
  171. position: absolute;
  172. width: 100%;
  173. top: 50%;
  174. left: 0;
  175. border-top: .01rem dashed #E6E6E6;
  176. }
  177. }
  178. .bill-info {
  179. display: flex;
  180. justify-content: space-between;
  181. line-height: 1;
  182. align-items: center;
  183. margin-top: .20rem;
  184. .text {
  185. color: #FE2278;
  186. }
  187. }
  188. }
  189. }
  190. .remark-info {
  191. padding: 0.1rem;
  192. background-color: rgba($color: $primary-color, $alpha: 0.1);
  193. color: $primary-color;
  194. margin-top: 0.1rem;
  195. font-size: 0.12rem;
  196. }
  197. }
  198. .pay-result {
  199. .body {
  200. flex: 1;
  201. height: 0;
  202. text-align: center;
  203. &.status {
  204. display: flex;
  205. align-items: center;
  206. justify-content: center;
  207. flex-direction: column;
  208. .iconfont {
  209. font-size: 1rem;
  210. color: $primary-color;
  211. }
  212. .msg {
  213. margin-top: 0.1rem;
  214. font-size: .16rem;
  215. color: $uni-color-primary;
  216. }
  217. }
  218. }
  219. .footer {
  220. height: .66rem;
  221. display: flex;
  222. align-items: center;
  223. border-top: .01rem solid #E6E6E6;
  224. justify-content: center;
  225. button {
  226. margin: 0 0 0 .15rem;
  227. width: auto;
  228. min-width: 1.6rem;
  229. height: .45rem;
  230. line-height: .45rem;
  231. }
  232. }
  233. }
  234. .money-wrap {
  235. background: #fff;
  236. border-radius: .05rem;
  237. .head {
  238. height: .6rem;
  239. line-height: .6rem;
  240. text-align: center;
  241. font-weight: bold;
  242. position: relative;
  243. text {
  244. font-size: .16rem;
  245. }
  246. .iconguanbi1 {
  247. position: absolute;
  248. right: .15rem;
  249. font-size: .22rem;
  250. cursor: pointer;
  251. }
  252. }
  253. .content-wrap {
  254. display: flex;
  255. border: .01rem solid #e6e6e6;
  256. height: .6rem;
  257. align-items: center;
  258. margin: 0 .2rem;
  259. padding: 0 .15rem;
  260. .unit {
  261. font-size: .25rem;
  262. }
  263. .money {
  264. margin-left: .05rem;
  265. font-size: .2rem;
  266. }
  267. }
  268. .keyboard-wrap {
  269. width: 4rem;
  270. padding: 0 .2rem .3rem .2rem;
  271. margin-top: .1rem;
  272. }
  273. }
  274. .coupon-wrap {
  275. background: #fff;
  276. width: 6rem;
  277. border-radius: .05rem;
  278. .head {
  279. height: .6rem;
  280. line-height: .6rem;
  281. text-align: center;
  282. font-weight: bold;
  283. position: relative;
  284. text {
  285. font-size: .16rem;
  286. }
  287. .iconguanbi1 {
  288. position: absolute;
  289. right: .15rem;
  290. font-size: .22rem;
  291. cursor: pointer;
  292. }
  293. }
  294. .body {
  295. height: 3rem;
  296. }
  297. .list {
  298. display: flex;
  299. padding: .1rem .15rem;
  300. flex-wrap: wrap;
  301. .item {
  302. margin: 0 .1rem .1rem 0;
  303. padding: .1rem 0;
  304. border: .01rem solid #E6E6E6;
  305. width: calc((100% - .14rem) / 2);
  306. cursor: pointer;
  307. display: flex;
  308. position: relative;
  309. .iconxuanzhong {
  310. position: absolute;
  311. display: none;
  312. right: -.01rem;
  313. bottom: -.01rem;
  314. font-size: .3rem;
  315. }
  316. &.active {
  317. border-color: $primary-color;
  318. .iconxuanzhong {
  319. display: block;
  320. color: $primary-color;
  321. }
  322. }
  323. &:nth-child(2n+2) {
  324. margin-right: 0;
  325. }
  326. .money {
  327. display: flex;
  328. align-items: center;
  329. justify-content: center;
  330. min-height: .6rem;
  331. min-width: 1rem;
  332. font-size: .2rem;
  333. line-height: 1;
  334. .unit {
  335. font-size: .16rem;
  336. margin-top: .05rem;
  337. font-weight: bold;
  338. }
  339. }
  340. .info {
  341. padding: 0 .1rem;
  342. flex: 1;
  343. display: flex;
  344. flex-direction: column;
  345. justify-content: center;
  346. .title {
  347. font-weight: bold;
  348. }
  349. .time,.limit {
  350. font-size: .12rem;
  351. color: #999;
  352. line-height: 1;
  353. margin-top: .05rem;
  354. }
  355. }
  356. }
  357. }
  358. }
  359. .safe-verify-popup {
  360. width: 4rem;
  361. height: 3.1rem;
  362. background-color: #fff;
  363. border-radius: .1rem;
  364. .header {
  365. height: .6rem;
  366. line-height: .6rem;
  367. text-align: center;
  368. position: relative;
  369. .type-wrap {
  370. display: flex;
  371. .item {
  372. margin-left: .15rem;
  373. font-size: .16rem;
  374. cursor: pointer;
  375. &.active {
  376. font-size: .18rem;
  377. color: $primary-color;
  378. font-weight: bold;
  379. }
  380. }
  381. }
  382. .iconguanbi1 {
  383. position: absolute;
  384. right: .15rem;
  385. top: 0;
  386. font-size: .22rem;
  387. cursor: pointer;
  388. font-weight: bold;
  389. }
  390. }
  391. .content {
  392. padding: 0 .3rem;
  393. margin-top: .2rem;
  394. }
  395. .tips {
  396. color: #999;
  397. }
  398. .mobile {
  399. font-size: .25rem;
  400. font-weight: bold;
  401. margin-top: .05rem;
  402. }
  403. .sms-code {
  404. display: flex;
  405. align-items: center;
  406. margin-top: .15rem;
  407. border-bottom: .01rem solid #eee;
  408. padding: .15rem 0;
  409. input {
  410. flex: 1;
  411. margin: 0 .1rem 0 0;
  412. padding: 0;
  413. border-bottom: none;
  414. font-size: .14rem;
  415. }
  416. .send-tip {
  417. color: $primary-color;
  418. font-size: .13rem;
  419. cursor: pointer;
  420. &.disabled {
  421. color: #999;
  422. cursor: not-allowed;
  423. }
  424. }
  425. }
  426. .placeholder {
  427. font-size: .14rem;
  428. }
  429. .primary-btn {
  430. margin-top: .3rem;
  431. line-height: .4rem;
  432. }
  433. .scancode-wrap {
  434. text-align: center;
  435. .input-wrap {
  436. display: flex;
  437. input {
  438. width: 0;
  439. flex: 1;
  440. height: 0.5rem;
  441. border: 0.01rem solid #cccccc;
  442. text-align: center;
  443. padding: 0 .1rem;
  444. box-sizing: border-box;
  445. transition: all .3s;
  446. &.focus {
  447. border-color: $primary-color;
  448. box-shadow: 0 0 .02rem .02rem rgba($primary-color, .3);
  449. }
  450. }
  451. .primary-btn {
  452. margin: 0 0 0 .1rem;
  453. line-height: .5rem;
  454. width: .7rem;
  455. }
  456. }
  457. image {
  458. width: 3rem;
  459. padding: .2rem .4rem;
  460. box-sizing: border-box;
  461. }
  462. }
  463. }
  464. .third-popup {
  465. width: 4rem;
  466. height: 5rem;
  467. background-color: #fff;
  468. border-radius: .1rem;
  469. display: flex;
  470. flex-direction: column;
  471. &.member {
  472. height: 3.3rem;
  473. }
  474. .head {
  475. height: .8rem;
  476. line-height: .8rem;
  477. text-align: center;
  478. position: relative;
  479. text {
  480. font-size: .25rem;
  481. }
  482. .iconguanbi1 {
  483. position: absolute;
  484. right: .15rem;
  485. font-size: .22rem;
  486. cursor: pointer;
  487. font-weight: bold;
  488. }
  489. }
  490. .money {
  491. text-align: center;
  492. font-size: .18rem;
  493. color: $primary-color;
  494. }
  495. .scan-code-type {
  496. display: flex;
  497. width: 100%;
  498. margin-top: .2rem;
  499. background-color: #f5f5f5;
  500. .type-item {
  501. flex: 1;
  502. text-align: center;
  503. line-height: .5rem;
  504. font-size: .16rem;
  505. cursor: pointer;
  506. border-bottom: .03rem solid #f5f5f5;
  507. position: relative;
  508. &.active {
  509. border-bottom: .03rem solid $primary-color;
  510. }
  511. &:last-child::after {
  512. content: " ";
  513. position: absolute;
  514. left: 0;
  515. top: 20%;
  516. width: .01rem;
  517. height: 60%;
  518. background: #ddd;
  519. }
  520. }
  521. }
  522. .content-wrap {
  523. flex: 1;
  524. height: 0;
  525. display: flex;
  526. align-items: center;
  527. justify-content: center;
  528. .qrcode-wrap {
  529. display: flex;
  530. justify-content: center;
  531. .empty {
  532. padding: 1rem 0;
  533. text-align: center;
  534. }
  535. .qrcode-item {
  536. height: 1.3rem;
  537. width: 1.3rem;
  538. padding: .1rem;
  539. box-shadow: 0 .02rem .1rem 0 rgba(0,0,0,.1);
  540. display: flex;
  541. align-items: center;
  542. justify-content: center;
  543. position: relative;
  544. .qrcode {
  545. width: 100%;
  546. }
  547. .logo {
  548. width: .25rem;
  549. position: absolute !important;
  550. z-index: 5;
  551. left: 50%;
  552. top: 50%;
  553. transform: translate(-50%, -50%);
  554. }
  555. &:nth-child(2){
  556. margin-left: .2rem;
  557. }
  558. }
  559. }
  560. .scancode-wrap {
  561. input {
  562. width: 3rem;
  563. height: 0.5rem;
  564. border: 0.01rem solid #cccccc;
  565. text-align: center;
  566. padding: 0 .1rem;
  567. box-sizing: border-box;
  568. transition: all .3s;
  569. &.focus {
  570. border-color: $primary-color;
  571. box-shadow: 0 0 .02rem .02rem rgba($primary-color, .3);
  572. }
  573. }
  574. image {
  575. width: 3rem;
  576. padding: .2rem .4rem;
  577. box-sizing: border-box;
  578. }
  579. }
  580. }
  581. }
  582. .remark-wrap {
  583. width: 6rem;
  584. background-color: #fff;
  585. border-radius: 0.04rem;
  586. box-shadow: 0 0.01rem 0.12rem 0 rgba(0, 0, 0, 0.1);
  587. .header{
  588. display: flex;
  589. justify-content: space-between;
  590. align-items: center;
  591. padding: 0 0.15rem;
  592. height: 0.45rem;
  593. line-height: .45rem;
  594. border-bottom: 0.01rem solid #e8eaec;
  595. .iconfont{
  596. font-size: $uni-font-size-lg;
  597. }
  598. }
  599. .body {
  600. padding: 0.15rem 0.15rem 0.1rem;
  601. textarea {
  602. border: 0.01rem solid #e6e6e6;
  603. width: 100%;
  604. padding: 0.1rem;
  605. box-sizing: border-box;
  606. font-size: 0.14rem;
  607. }
  608. .placeholder-class {
  609. font-size: 0.14rem;
  610. }
  611. }
  612. .footer {
  613. height: 0.5rem;
  614. padding-bottom: .05rem;
  615. display: flex;
  616. align-items: center;
  617. justify-content: center;
  618. button {
  619. width: 95%;
  620. }
  621. }
  622. }