quickBuy.css 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. html,
  2. body {
  3. background: #f5f5f5;
  4. font-family: PingFangSC-Regular;
  5. color: #333333;
  6. }
  7. .container {
  8. width: 100%;
  9. height: 100%;
  10. }
  11. .banner {
  12. width: 100%;
  13. height: 240rpx;
  14. background: #28AFF0;
  15. box-sizing: border-box;
  16. padding: 0 44rpx 0 32rpx;
  17. display: flex;
  18. justify-content: space-between;
  19. }
  20. .banner > view {
  21. display: flex;
  22. flex-direction: column;
  23. font-size: 36rpx;
  24. color: #FFFFFF;
  25. margin-top: 48rpx;
  26. }
  27. .banner > view > text:last-child {
  28. font-size: 24rpx;
  29. margin-top: 8rpx;
  30. }
  31. .banner image {
  32. width: 240rpx;
  33. height: 150rpx;
  34. margin-top: 32rpx;
  35. }
  36. .content {
  37. width: 710rpx;
  38. margin: 0 auto;
  39. position: relative;
  40. top: -60rpx;
  41. }
  42. .content > view {
  43. width: 100%;
  44. background: #FFFFFF;
  45. }
  46. .content > .detail {
  47. box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.03);
  48. border-radius: 4px;
  49. box-sizing: border-box;
  50. padding: 32rpx 42rpx;
  51. font-size: 30rpx;
  52. line-height: 60rpx;
  53. margin-bottom: 24rpx;
  54. }
  55. .content > .detail > view {
  56. display: flex;
  57. justify-content: space-between;
  58. }
  59. .content > .detail > view > text:last-child {
  60. color: #808080;
  61. }
  62. .content > .time {
  63. margin-bottom: 24rpx;
  64. }
  65. .content > .time > view {
  66. display: flex;
  67. justify-content: space-between;
  68. align-items: center;
  69. box-sizing: border-box;
  70. padding: 38rpx 30rpx;
  71. font-size: 32rpx;
  72. position: relative;
  73. }
  74. .content > .time > .month image {
  75. width: 14rpx;
  76. height: 24rpx;
  77. margin-left: 22rpx;
  78. }
  79. .content > .time > .month > view > text {
  80. color: #808080;
  81. }
  82. .line {
  83. width: 680rpx;
  84. height: 2rpx;
  85. background: #eeeeee;
  86. transform: scaleY(0.5);
  87. position: absolute;
  88. top: 0;
  89. right: 0;
  90. }
  91. .salary,.inputSalary{
  92. display: flex;
  93. justify-content: space-between;
  94. box-sizing: border-box;
  95. padding: 38rpx 30rpx;
  96. position: relative;
  97. }
  98. .salary image {
  99. width: 28rpx;
  100. height: 28rpx;
  101. margin-left: 32rpx;
  102. }
  103. .inputSalary > .inputBox {
  104. width: 340rpx;
  105. }
  106. .inputSalary input {
  107. text-align: right;
  108. }
  109. .buyFund,
  110. .buySheBao {
  111. box-sizing: border-box;
  112. padding: 38rpx 30rpx;
  113. display: flex;
  114. justify-content: space-between;
  115. align-items: center;
  116. font-size: 32rpx;
  117. }
  118. switch {
  119. transform: scale(1.1);
  120. }
  121. .content>.btn {
  122. margin-top: 48rpx;
  123. background: #f5f5f5;
  124. }
  125. .content>.btn > view {
  126. width: 100%;
  127. height: 90rpx;
  128. font-family: PingFangSC-Medium;
  129. font-size: 32rpx;
  130. color: #3296FB;
  131. text-align: center;
  132. line-height: 90rpx;
  133. border-radius: 45rpx;
  134. margin-bottom: 30rpx;
  135. background: #FFFFFF;
  136. }
  137. .content>.btn > view:first-child{
  138. background: #3296FB;
  139. color: #FFFFFF;
  140. }
  141. .modal {
  142. position: fixed;
  143. top: 0;
  144. width: 750rpx;
  145. height: 100%;
  146. background: rgba(0, 0, 0, 0.56);
  147. z-index: 999;
  148. display: flex;
  149. flex-direction: column;
  150. }
  151. .modal > view:first-child {
  152. flex: 1;
  153. }
  154. .modal > .detail {
  155. width: 100%;
  156. position: absolute;
  157. bottom: -500px;
  158. background: #f8f8f8;
  159. }
  160. .modal > .detail .header {
  161. display: flex;
  162. justify-content: space-between;
  163. align-items: center;
  164. padding: 26rpx 20rpx 26rpx 32rpx;
  165. background: #ffffff;
  166. }
  167. .modal > .detail .header > view {
  168. font-family: PingFangSC-Medium;
  169. font-size: 32rpx;
  170. display: flex;
  171. align-items: center;
  172. }
  173. .modal > .detail .header > view > view {
  174. width: 6rpx;
  175. height: 32rpx;
  176. background: #3296fb;
  177. margin-right: 22rpx;
  178. }
  179. .modal > .detail .header > image {
  180. width: 48rpx;
  181. height: 48rpx;
  182. }
  183. .modal > .detail > .box {
  184. width: 100%;
  185. height: 692rpx;
  186. box-sizing: border-box;
  187. padding-bottom:68rpx;
  188. background: #ffffff;
  189. }
  190. .modal > .detail > .-X{
  191. height: 760rpx;
  192. padding-bottom:136rpx;
  193. }
  194. .modal > .detail > .box .item {
  195. box-sizing: border-box;
  196. padding: 0 60rpx;
  197. display: flex;
  198. flex-direction: column;
  199. font-family: PingFangSC-Regular;
  200. font-size: 26rpx;
  201. color: #666666;
  202. line-height: 40rpx;
  203. }
  204. .modal > .detail > .box .item > .blue {
  205. font-family: PingFangSC-Semibold;
  206. font-size: 34rpx;
  207. color: #3296FB;
  208. line-height: 52rpx;
  209. margin-top: 50rpx;
  210. }
  211. .modal > .detail > .box .item > .black {
  212. font-family: PingFangSC-Regular;
  213. font-size: 30rpx;
  214. color: #333333;
  215. line-height: 48rpx;
  216. margin-top: 12rpx;
  217. }
  218. .modal > .detail > .box .line{
  219. width: 100%;
  220. height: 2rpx;
  221. background: #eeeeee;
  222. }