components.scss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. .ptc-wrapper {
  2. @include media-breakpoint-up(md) {
  3. background: #fff;
  4. &:only-child {
  5. min-height: 1112px;
  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. background: #f7f7f7;
  32. @include media-breakpoint-up(lg) {
  33. padding-left: 0;
  34. }
  35. }
  36. .ptc-block {
  37. margin-bottom: 24px;
  38. padding: 48px 36px;
  39. background: #fff;
  40. @include media-breakpoint-up(md) {
  41. padding: 64px 0;
  42. }
  43. }
  44. .ptc-button-group {
  45. margin: 48px 36px 0;
  46. .ptc-button + .ptc-button {
  47. margin-top: 36px;
  48. }
  49. @include media-breakpoint-up(md) {
  50. margin: 0;
  51. padding: 32px 0 64px;
  52. }
  53. }
  54. .ptc-button {
  55. display: block;
  56. width: 100%;
  57. height: 92px;
  58. background: $primary-color;
  59. border-radius: 8px;
  60. font-size: 32px;
  61. font-weight: 600;
  62. color: #fff;
  63. &:active {
  64. background: $primary-color-lighten;
  65. }
  66. &--stroke {
  67. background: none;
  68. border: 2Px solid $primary-color;
  69. color: $primary-color;
  70. &:active {
  71. background: #f2f5fb;
  72. }
  73. }
  74. }
  75. .ptc-form {
  76. &-item {
  77. margin-top: 36px;
  78. }
  79. }
  80. .ptc-input {
  81. display: block;
  82. padding-left: 28px;
  83. width: 100%;
  84. height: 100px;
  85. border-radius: 8px;
  86. border: 2px solid #d9d9d9;
  87. font-size: 32px;
  88. color: #333;
  89. }
  90. .ptc-cell {
  91. + .ptc-cell {
  92. margin-top: 84px;
  93. }
  94. }
  95. .ptc-label {
  96. margin-bottom: 48px;
  97. line-height: 44px;
  98. font-size: 32px;
  99. color: #999;
  100. }
  101. .ptc-value {
  102. font-size: 32px;
  103. color: #1A1A1A;
  104. line-height: 44px;
  105. }
  106. .ptc-tag {
  107. display: inline-block;
  108. margin-left: 32px;
  109. padding: 0 24px;
  110. line-height: 52px;
  111. font-size: 28px;
  112. font-weight: 600;
  113. color: #fff;
  114. background: $danger-color;
  115. border-radius: 30px 4px 30px 4px;
  116. }
  117. .ptc-select {
  118. position: relative;
  119. padding: 0 114px 0 34px;
  120. line-height: 84px;
  121. border-radius: 8px;
  122. border: 2px solid #D9D9D9;
  123. font-size: 32px;
  124. color: #1a1a1a;
  125. &__placeholder {
  126. color: $placeholder-color;
  127. }
  128. &::after {
  129. content: '';
  130. position: absolute;
  131. top: 50%;
  132. right: 34px;
  133. transform: translateY(-50%);
  134. width: 44px;
  135. height: 44px;
  136. background: #eee;
  137. }
  138. }
  139. .ptc-comboinput {
  140. display: flex;
  141. .ptc-input {
  142. flex: 1;
  143. border-radius: 8px 0 0 8px;
  144. border-right: 0;
  145. }
  146. .ptc-button {
  147. padding: 0 16px;
  148. height: auto;
  149. width: auto;
  150. border-radius: 0 8px 8px 0;
  151. font-size: 28px;
  152. }
  153. }