appliance.scss 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. @media screen and (min-width: 768px) {
  2. .banner {
  3. width: 100%;
  4. height: 530px;
  5. img {
  6. width: 100%;
  7. height: 100%;
  8. display: block;
  9. }
  10. }
  11. .main {
  12. height: auto;
  13. -webkit-box-sizing: border-box;
  14. box-sizing: border-box;
  15. .appliance-title {
  16. width: 100%;
  17. height: 244px;
  18. -webkit-box-sizing: border-box;
  19. box-sizing: border-box;
  20. padding: 80px 0;
  21. h1 {
  22. font-size: 34px;
  23. line-height: 45px;
  24. color: #272727;
  25. text-align: center;
  26. font-weight: normal;
  27. }
  28. p {
  29. font-size: 16px;
  30. line-height: 30px;
  31. color: #999999;
  32. text-align: center;
  33. }
  34. }
  35. .appliance-content {
  36. width: 100%;
  37. height: auto;
  38. .appliance-li {
  39. width: 100%;
  40. height: 380px;
  41. margin-bottom: 80px;
  42. -webkit-transition: all 0.5s;
  43. transition: all 0.5s;
  44. &:hover {
  45. -webkit-transform: translateY(-10px);
  46. transform: translateY(-10px);
  47. -webkit-box-shadow: 0px 6px 30px rgba(39, 39, 39, 0.1);
  48. box-shadow: 0px 6px 30px rgba(39, 39, 39, 0.1);
  49. }
  50. &:last-child {
  51. margin-bottom: 0;
  52. }
  53. .appliance-lil {
  54. width: 570px;
  55. height: 100%;
  56. float: left;
  57. img {
  58. width: 570px;
  59. height: 100%;
  60. display: block;
  61. }
  62. }
  63. .appliance-lir {
  64. width: 630px;
  65. height: 380px;
  66. background: url(/img/appliance-lbg.png);
  67. background-size: cover;
  68. float: right;
  69. -webkit-box-sizing: border-box;
  70. box-sizing: border-box;
  71. padding: 48px 38px;
  72. .appliance-lir-top {
  73. width: 100%;
  74. height: 31px;
  75. font-size: 24px;
  76. color: #272727;
  77. text-align: left;
  78. margin-bottom: 30px;
  79. }
  80. .appliance-lir-text {
  81. width: 100%;
  82. -webkit-box-sizing: border-box;
  83. box-sizing: border-box;
  84. padding-left: 10px;
  85. p {
  86. font-size: 16px;
  87. color: #505050;
  88. text-align: justify;
  89. line-height: 35px;
  90. }
  91. }
  92. }
  93. }
  94. }
  95. }
  96. }
  97. @media screen and (max-width: 768px) {
  98. .banner {
  99. width: 100%;
  100. height: 2.08rem;
  101. img {
  102. width: 100%;
  103. height: 100%;
  104. display: block;
  105. }
  106. }
  107. .main {
  108. -webkit-box-sizing: border-box;
  109. box-sizing: border-box;
  110. .appliance-title {
  111. width: 100%;
  112. height: 2.44rem;
  113. -webkit-box-sizing: border-box;
  114. box-sizing: border-box;
  115. padding: 0.8rem 0;
  116. h1 {
  117. font-size: 0.34rem;
  118. line-height: 0.45rem;
  119. color: #272727;
  120. text-align: center;
  121. font-weight: normal;
  122. }
  123. p {
  124. font-size: 0.18rem;
  125. line-height: 0.3rem;
  126. color: #999999;
  127. text-align: center;
  128. }
  129. }
  130. .appliance-content {
  131. width: 100%;
  132. .appliance-li {
  133. margin: 0 auto;
  134. width: 5.7rem;
  135. margin-bottom: 0.4rem;
  136. .appliance-lil {
  137. width: 5.7rem;
  138. height: 3.8rem;
  139. img {
  140. width: 5.7rem;
  141. height: 3.8rem;
  142. display: block;
  143. }
  144. }
  145. .appliance-lir {
  146. background: #f7f7f7 url(/img/appliance-lbg.png) no-repeat right bottom;
  147. -webkit-box-sizing: border-box;
  148. background-size: 5.7rem;
  149. box-sizing: border-box;
  150. padding-bottom: 1.7rem;
  151. .appliance-lir-top {
  152. width: 100%;
  153. font-size: 0.3rem;
  154. color: #272727;
  155. text-align: left;
  156. padding-left: 0.16rem;
  157. padding-top: 0.32rem;
  158. margin-bottom: 0.26rem;
  159. }
  160. .appliance-lir-text {
  161. width: 100%;
  162. -webkit-box-sizing: border-box;
  163. box-sizing: border-box;
  164. padding: 0 0.44rem;
  165. p {
  166. font-size: 0.24rem;
  167. color: #505050;
  168. text-align: justify;
  169. line-height: 0.48rem;
  170. }
  171. }
  172. }
  173. }
  174. }
  175. }
  176. }