product-kestos.scss 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. @media screen and (min-width: 768px) {
  2. .main {
  3. .service {
  4. margin-top: 140px;
  5. .container {
  6. display: -webkit-box;
  7. display: -ms-flexbox;
  8. display: flex;
  9. -webkit-box-pack: justify;
  10. -ms-flex-pack: justify;
  11. justify-content: space-between;
  12. }
  13. .item {
  14. width: 558px;
  15. }
  16. .cover {
  17. width: 558px;
  18. height: 418px;
  19. img {
  20. display: block;
  21. width: 100%;
  22. height: 100%;
  23. }
  24. }
  25. .content {
  26. .title {
  27. font-size: 24px;
  28. font-weight: bold;
  29. margin: 40px 0 16px;
  30. }
  31. .detail {
  32. text-align: justify;
  33. line-height: 32px;
  34. .mr40 {
  35. margin-right: 40px;
  36. }
  37. span {
  38. color: #505050;
  39. margin-right: 25px;
  40. &::before {
  41. content: '';
  42. display: inline-block;
  43. vertical-align: -5px;
  44. width: 20px;
  45. height: 20px;
  46. background: url(/img/icon-right.png) no-repeat center;
  47. background-size: 20px;
  48. margin-right: 8px;
  49. }
  50. }
  51. }
  52. }
  53. }
  54. .about {
  55. height: 600px;
  56. background: url(/img/product-kestos-bg-about.png) no-repeat center;
  57. background-size: auto 600px;
  58. padding-top: 128px;
  59. text-align: center;
  60. -webkit-box-sizing: border-box;
  61. box-sizing: border-box;
  62. margin-top: 140px;
  63. .title {
  64. font-size: 24px;
  65. color: #fff;
  66. }
  67. .line {
  68. width: 32px;
  69. height: 2px;
  70. background-color: #fff;
  71. margin: 64px auto;
  72. }
  73. .description {
  74. width: 804px;
  75. font-size: 16px;
  76. line-height: 48px;
  77. margin: 0 auto;
  78. color: #fff;
  79. }
  80. }
  81. }
  82. .footer {
  83. margin-top: 0;
  84. }
  85. }
  86. @media screen and (max-width: 768px) {
  87. .main {
  88. .service {
  89. .container {
  90. display: -webkit-box;
  91. display: -ms-flexbox;
  92. display: flex;
  93. -webkit-box-pack: justify;
  94. -ms-flex-pack: justify;
  95. justify-content: space-between;
  96. -webkit-box-orient: vertical;
  97. -webkit-box-direction: normal;
  98. -ms-flex-direction: column;
  99. flex-direction: column;
  100. -webkit-box-align: center;
  101. -ms-flex-align: center;
  102. align-items: center;
  103. }
  104. .item {
  105. width: 5.58rem;
  106. }
  107. .cover {
  108. width: 5.58rem;
  109. height: 4.18rem;
  110. margin-top: 1.2rem;
  111. img {
  112. display: block;
  113. width: 100%;
  114. height: 100%;
  115. }
  116. }
  117. .content {
  118. .title {
  119. font-size: 0.34rem;
  120. font-weight: bold;
  121. margin: 0.32rem 0 0.16rem;
  122. }
  123. .detail {
  124. text-align: justify;
  125. line-height: 0.48rem;
  126. font-size: 0.26rem;
  127. .mr40 {
  128. margin-right: 0.4rem;
  129. }
  130. li {
  131. margin-top: 0.24rem;
  132. }
  133. span {
  134. color: #505050;
  135. margin-right: 0.25rem;
  136. font-size: 0.24rem;
  137. &::before {
  138. content: '';
  139. display: inline-block;
  140. vertical-align: -0.06rem;
  141. width: 0.32rem;
  142. height: 0.32rem;
  143. background: url(/img/icon-right.png) no-repeat center;
  144. background-size: 0.32rem;
  145. margin-right: 0.08rem;
  146. }
  147. }
  148. }
  149. }
  150. }
  151. .about {
  152. background: url(/img/product-kestos-bg-about.png) no-repeat center;
  153. background-size: cover;
  154. text-align: center;
  155. -webkit-box-sizing: border-box;
  156. box-sizing: border-box;
  157. margin-top: 1.2rem;
  158. padding: 0.24rem 0;
  159. .title {
  160. font-size: 0.26rem;
  161. color: #fff;
  162. }
  163. .line {
  164. width: 0.32rem;
  165. height: 0.02rem;
  166. background-color: #fff;
  167. margin: 0.16rem auto;
  168. }
  169. .description {
  170. width: 6.12rem;
  171. font-size: 0.24rem;
  172. line-height: 0.48rem;
  173. margin: 0 auto;
  174. color: #fff;
  175. text-align: center;
  176. }
  177. }
  178. }
  179. .footer {
  180. margin-top: 0;
  181. }
  182. }