payment.wxss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. /* pages/payment/payment.wxss */
  2. .payment {
  3. background-color: #FAFCFF;
  4. padding: 40rpx 40rpx 0;
  5. position: absolute;
  6. top: 0;
  7. left: 0;
  8. height: 100%;
  9. }
  10. .payment .card {
  11. background-color: #FFF;
  12. padding: 10rpx 40rpx;
  13. position: relative;
  14. border-radius: 10rpx;
  15. box-shadow: 0 2rpx 20rpx 0 rgba(0, 0, 0, 0.1);
  16. }
  17. .payment .card .box {
  18. position: relative;
  19. z-index: 2;
  20. }
  21. .payment .card .box .item {
  22. display: flex;
  23. align-items: center;
  24. justify-content: space-between;
  25. padding: 30rpx 0;
  26. border-bottom: 2rpx solid rgba(174, 203, 228, 0.3);
  27. font-size: 28rpx;
  28. color: #686B78;
  29. }
  30. .payment .card .box .item:last-child {
  31. border: none;
  32. }
  33. .payment .card .box .item text:last-child {
  34. display: inline-block;
  35. width: calc(100% - 160rpx);
  36. text-align: right;
  37. }
  38. .payment .card .box picker {
  39. width: 100%;
  40. height: 100%;
  41. }
  42. .payment .card .box .picker {
  43. width: 100%;
  44. height: 100%;
  45. color: #0091FF;
  46. font-weight: bold;
  47. display: flex;
  48. align-items: center;
  49. justify-content: space-between;
  50. }
  51. .payment .card .box .picker .icon-up {
  52. display: inline-block;
  53. width: 18rpx;
  54. height: 12rpx;
  55. margin-left: 20rpx;
  56. transform: rotate(270deg);
  57. }
  58. .payment .card .bg {
  59. position: absolute;
  60. left: 0;
  61. bottom: 0;
  62. right: 0;
  63. width: 100%;
  64. height: 98rpx;
  65. }
  66. .payment .amount .box {
  67. margin: 40rpx 0;
  68. }
  69. .payment .amount .title {
  70. font-size: 28rpx;
  71. font-weight: bold;
  72. color: #686B78;
  73. display: flex;
  74. align-items: center;
  75. }
  76. .payment .amount .title::before {
  77. content: "";
  78. display: inline-block;
  79. width: 6rpx;
  80. height: 16rpx;
  81. background: rgba(0, 145, 255, 1);
  82. border-radius: 2rpx;
  83. margin-right: 12rpx;
  84. }
  85. .payment .amount .input {
  86. height: 72rpx;
  87. margin: 20rpx 0 40rpx;
  88. border-bottom: 2rpx solid #CFD2D5;
  89. display: flex;
  90. align-items: center;
  91. }
  92. .payment .amount .input text {
  93. font-size: 36rpx;
  94. font-family: Gotham-Book, Gotham;
  95. font-weight: normal;
  96. color: rgba(66, 70, 86, 1);
  97. margin: 0 20rpx;
  98. }
  99. .payment .amount .input input {
  100. display: inline-block;
  101. }
  102. .payment .amount .tags {
  103. display: flex;
  104. justify-content: space-between;
  105. }
  106. .payment .amount .tags button {
  107. margin: 0;
  108. width: 140rpx;
  109. height: 60rpx;
  110. background: rgba(240, 242, 246, 1);
  111. border-radius: 4rpx;
  112. border: none;
  113. font-size: 24rpx;
  114. color: rgba(104, 107, 120, 1);
  115. display: flex;
  116. align-items: center;
  117. justify-content: center;
  118. }
  119. .payment .amount .tags .tag.disabled {
  120. background:rgba(244,247,249,1);
  121. color:rgba(224,225,227,1);
  122. }
  123. .payment .amount .tags .tag.active {
  124. background:rgba(0,145,255,1);
  125. color: #FFF;
  126. }
  127. .payment .btn-big {
  128. margin: 40rpx auto 40rpx;
  129. }
  130. .payment .tips {
  131. margin: 0;
  132. font-size: 24rpx;
  133. color: rgba(255, 113, 113, 1);
  134. line-height: 34rpx;
  135. }
  136. .payment .nav {
  137. font-size: 24rpx;
  138. color: rgba(0, 145, 255, 1);
  139. height: 114rpx;
  140. line-height: 114rpx;
  141. text-align: center;
  142. display: flex;
  143. align-items: center;
  144. justify-content: center;
  145. }
  146. .payment .nav .line {
  147. font-size: 16rpx;
  148. color: #CFD2D5;
  149. margin: 0 40rpx;
  150. }