tools.scss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. page,
  2. body {
  3. width: 100%;
  4. height: 100%;
  5. background: #FAFAFC;
  6. }
  7. .calculator_box {
  8. width: 100%;
  9. padding: 24rpx;
  10. &_tips {
  11. font-family: PingFang SC, PingFang SC;
  12. font-weight: 400;
  13. font-size: 28rpx;
  14. color: #333333;
  15. margin-bottom: 24rpx;
  16. }
  17. &_wrap {
  18. margin: 32rpx 0 48rpx;
  19. display: flex;
  20. align-items: center;
  21. }
  22. &_card {
  23. background: #FFFFFF;
  24. border-radius: 16rpx;
  25. padding: 0 24rpx;
  26. &+.calculator_box_card {
  27. margin-top: 24rpx;
  28. }
  29. &_item {
  30. min-height: 108rpx;
  31. padding: 32rpx 0;
  32. &+.calculator_box_card_item {
  33. border-bottom: 2rpx solid #FAFAFC;
  34. }
  35. &_amount {
  36. font-family: PingFang SC, PingFang SC;
  37. font-weight: 400;
  38. font-size: 24rpx;
  39. color: #999999;
  40. margin-top: 10rpx;
  41. }
  42. &_label {
  43. position: relative;
  44. height: 44rpx;
  45. line-height: 44rpx;
  46. padding-left: 28rpx;
  47. font-family: PingFang SC, PingFang SC;
  48. font-weight: 400;
  49. font-size: 32rpx;
  50. color: #333333;
  51. &::after {
  52. content: '';
  53. position: absolute;
  54. top: 0%;
  55. left: 0;
  56. transform: translate(-50%, 50%);
  57. width: 6rpx;
  58. height: 24rpx;
  59. background: #FD910C;
  60. border-radius: 4rpx;
  61. }
  62. }
  63. &_input {
  64. display: flex;
  65. align-items: center;
  66. height: 60rpx;
  67. padding: 0 24rpx;
  68. background: #FAFAFC;
  69. border-radius: 8rpx;
  70. margin-top: 20rpx;
  71. &-unit {
  72. font-family: PingFang SC, PingFang SC;
  73. font-weight: 400;
  74. font-size: 28rpx;
  75. color: #000000;
  76. margin-left: 24rpx;
  77. }
  78. }
  79. &_select {
  80. flex: 1;
  81. display: flex;
  82. align-items: center;
  83. height: 44rpx;
  84. &-text {
  85. flex: 1;
  86. font-family: PingFang SC, PingFang SC;
  87. font-weight: 400;
  88. font-size: 26rpx;
  89. color: #333333;
  90. text-align: right;
  91. &--placeholder {
  92. color: #999999;
  93. }
  94. }
  95. &-arrow {
  96. margin-left: 20rpx;
  97. }
  98. }
  99. }
  100. }
  101. &_detail {
  102. &_total {
  103. font-family: PingFang SC, PingFang SC;
  104. font-weight: 500;
  105. font-size: 38rpx;
  106. color: #333333;
  107. margin: 60rpx 0 106rpx;
  108. }
  109. &_wrap {
  110. margin-top: 60rpx;
  111. }
  112. &_item {
  113. display: flex;
  114. align-items: center;
  115. justify-content: space-between;
  116. &+.calculator_box_detail_item {
  117. margin-top: 24rpx;
  118. font-family: PingFang SC, PingFang SC;
  119. font-weight: 400;
  120. font-size: 28rpx;
  121. color: #333333;
  122. }
  123. }
  124. }
  125. &_loading {
  126. position: absolute;
  127. top: 0;
  128. left: 0;
  129. right: 0;
  130. bottom: 0;
  131. display: flex;
  132. align-items: center;
  133. justify-content: center;
  134. background-size: 8rpx 8rpx;
  135. backdrop-filter: saturate(50%) blur(3rpx);
  136. background-image: radial-gradient(transparent 2rpx, #fff 2rpx);
  137. }
  138. }
  139. .cont-title {
  140. position: relative;
  141. font-family: PingFang SC, PingFang SC;
  142. font-weight: 500;
  143. font-size: 38rpx;
  144. color: #FD910C;
  145. }
  146. .cont-subtitle {
  147. position: absolute;
  148. left: 50%;
  149. bottom: -32rpx;
  150. transform: translate(-50%, 50%);
  151. font-family: PingFang SC, PingFang SC;
  152. font-weight: 400;
  153. font-size: 24rpx;
  154. color: #333333;
  155. }