components.scss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. .ptc-wrapper {
  2. @include media-breakpoint-up(md) {
  3. background: #fff;
  4. &:only-of-type {
  5. min-height: 1084px;
  6. }
  7. .ptc-block {
  8. margin-bottom: 0;
  9. }
  10. }
  11. }
  12. .ptc-inner {
  13. @include media-breakpoint-up(md) {
  14. margin: auto;
  15. padding: 0 36px;
  16. width: 750px;
  17. }
  18. }
  19. .ptc-inner-md {
  20. @include media-breakpoint-up(md) {
  21. margin: auto;
  22. width: 1168px;
  23. }
  24. }
  25. .ptc-title {
  26. padding: 36px 24px;
  27. line-height: 56px;
  28. font-size: 40px;
  29. font-weight: 600;
  30. color: #333;
  31. @include media-breakpoint-up(lg) {
  32. padding-left: 0;
  33. }
  34. }
  35. .ptc-block {
  36. margin-bottom: 24px;
  37. padding: 48px 36px;
  38. background: #fff;
  39. &:last-child {
  40. margin-bottom: 0;
  41. }
  42. @include media-breakpoint-up(md) {
  43. padding: 64px 0;
  44. }
  45. }
  46. .ptc-button-group {
  47. margin: 48px 36px 0;
  48. .ptc-button + .ptc-button {
  49. margin-top: 36px;
  50. }
  51. @include media-breakpoint-up(md) {
  52. margin: 0;
  53. padding: 32px 0 64px;
  54. }
  55. }
  56. .ptc-button {
  57. display: flex;
  58. justify-content: center;
  59. align-items: center;
  60. width: 100%;
  61. height: 92px;
  62. background: $primary-color;
  63. border-radius: 8px;
  64. font-size: 32px;
  65. font-weight: 600;
  66. color: #fff;
  67. &:active {
  68. background: $primary-color-lighten;
  69. }
  70. &--stroke {
  71. background: none;
  72. border: 2Px solid $primary-color;
  73. color: $primary-color;
  74. &:active {
  75. background: #f2f5fb;
  76. }
  77. }
  78. &--loading {
  79. pointer-events: none;
  80. opacity: 0.75;
  81. position: relative;
  82. &::before {
  83. content: '';
  84. margin-right: 8px;
  85. margin-top: -4px;
  86. animation: rotate 2s linear infinite;
  87. @include icon('@img/loading2.svg', 48px);
  88. }
  89. }
  90. }
  91. .ptc-form {
  92. &-item {
  93. margin-top: 36px;
  94. }
  95. }
  96. .ptc-input {
  97. display: block;
  98. padding-left: 28px;
  99. width: 100%;
  100. height: 100px;
  101. border-radius: 8px;
  102. border: 2px solid #d9d9d9;
  103. font-size: 32px;
  104. color: #333;
  105. }
  106. .ptc-cell {
  107. + .ptc-cell {
  108. margin-top: 84px;
  109. }
  110. }
  111. .ptc-label {
  112. margin-bottom: 48px;
  113. line-height: 44px;
  114. font-size: 32px;
  115. color: #999;
  116. }
  117. .ptc-value {
  118. font-size: 32px;
  119. color: #1A1A1A;
  120. line-height: 44px;
  121. }
  122. .ptc-tag {
  123. display: inline-block;
  124. margin-left: 32px;
  125. padding: 0 24px;
  126. line-height: 52px;
  127. font-size: 28px;
  128. font-weight: 600;
  129. color: #fff;
  130. background: $danger-color;
  131. border-radius: 30px 4px 30px 4px;
  132. }
  133. .ptc-select {
  134. position: relative;
  135. padding: 0 114px 0 34px;
  136. line-height: 84px;
  137. border-radius: 8px;
  138. border: 2px solid #D9D9D9;
  139. font-size: 32px;
  140. color: #1a1a1a;
  141. &__placeholder {
  142. color: $placeholder-color;
  143. }
  144. &::after {
  145. content: '';
  146. position: absolute;
  147. top: 50%;
  148. right: 34px;
  149. transform: translateY(-50%);
  150. width: 44px;
  151. height: 44px;
  152. background: #eee;
  153. }
  154. }
  155. .ptc-comboinput {
  156. display: flex;
  157. .ptc-input {
  158. flex: 1;
  159. border-radius: 8px 0 0 8px;
  160. border-right: 0;
  161. }
  162. .ptc-button {
  163. padding: 0 16px;
  164. height: auto;
  165. width: auto;
  166. border-radius: 0 8px 8px 0;
  167. font-size: 28px;
  168. }
  169. }