product-mesobiolift.scss 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. @media screen and (min-width: 768px) {
  2. .main {
  3. .about {
  4. margin-top: 100px;
  5. .container {
  6. position: relative;
  7. }
  8. .cover {
  9. position: absolute;
  10. left: 0;
  11. top: 0;
  12. width: 680px;
  13. height: 452px;
  14. }
  15. .content {
  16. -webkit-box-sizing: border-box;
  17. box-sizing: border-box;
  18. .title {
  19. font-size: 24px;
  20. font-weight: bold;
  21. padding: 10px 0 20px;
  22. text-align: center;
  23. }
  24. .subtitle {
  25. font-size: 16px;
  26. text-align: center;
  27. }
  28. .title,
  29. .subtitle,
  30. .section {
  31. padding-left: 735px;
  32. }
  33. .section {
  34. height: 427px;
  35. padding-left: 735px;
  36. padding-top: 52px;
  37. padding-right: 40px;
  38. margin-top: 53px;
  39. background: url(/img/product-mesobiolift-about-bg.png) no-repeat;
  40. background-position: 20px 26px;
  41. background-color: #f7f7f7;
  42. .description {
  43. line-height: 32px;
  44. }
  45. ul {
  46. li {
  47. line-height: 40px;
  48. }
  49. }
  50. }
  51. }
  52. }
  53. .service {
  54. margin-top: 180px;
  55. &.one {
  56. .content {
  57. background-image: url(/img/service-title-bg-one.png);
  58. }
  59. .cover {
  60. height: 578px;
  61. }
  62. }
  63. &.two {
  64. .content {
  65. background-image: url(/img/service-title-bg-two.png);
  66. }
  67. .cover {
  68. height: 700px;
  69. }
  70. }
  71. .cover {
  72. width: 567px;
  73. background-color: pink;
  74. }
  75. .content {
  76. width: 560px;
  77. -webkit-box-sizing: border-box;
  78. box-sizing: border-box;
  79. padding-top: 113px;
  80. background-repeat: no-repeat;
  81. background-position: left top;
  82. .title {
  83. font-size: 24px;
  84. font-weight: bold;
  85. }
  86. .line {
  87. height: 3px;
  88. width: 32px;
  89. background-color: #f7f7f7;
  90. margin: 32px 0;
  91. }
  92. .description {
  93. font-size: 16px;
  94. line-height: 40px;
  95. }
  96. .detail {
  97. margin-top: 32px;
  98. li {
  99. line-height: 40px;
  100. }
  101. .text {
  102. color: #999;
  103. }
  104. }
  105. }
  106. }
  107. }
  108. }
  109. @media screen and (max-width: 768px) {
  110. .main {
  111. .container {
  112. display: -webkit-box;
  113. display: -ms-flexbox;
  114. display: flex;
  115. -webkit-box-pack: center;
  116. -ms-flex-pack: center;
  117. justify-content: center;
  118. -webkit-box-align: center;
  119. -ms-flex-align: center;
  120. align-items: center;
  121. -webkit-box-orient: vertical;
  122. -webkit-box-direction: reverse;
  123. -ms-flex-direction: column-reverse;
  124. flex-direction: column-reverse;
  125. }
  126. .about {
  127. margin-top: 1.2rem;
  128. .cover {
  129. width: 6.14rem;
  130. height: 4.08rem;
  131. margin-top: 0.4rem;
  132. img {
  133. display: block;
  134. width: 100%;
  135. height: 100%;
  136. }
  137. }
  138. .content {
  139. -webkit-box-sizing: border-box;
  140. box-sizing: border-box;
  141. width: 5.82rem;
  142. text-align: center;
  143. .title {
  144. font-size: 0.3rem;
  145. font-weight: bold;
  146. text-align: center;
  147. }
  148. .subtitle {
  149. font-size: 0.26rem;
  150. text-align: center;
  151. color: #999;
  152. margin: 0.16rem 0 0.4rem;
  153. }
  154. .section {
  155. .description {
  156. line-height: 0.4rem;
  157. font-size: 0.26rem;
  158. }
  159. ul {
  160. margin-top: 0.24rem;
  161. li {
  162. line-height: 0.48rem;
  163. font-size: 0.26rem;
  164. }
  165. }
  166. }
  167. }
  168. }
  169. .service {
  170. margin-top: 1.2rem;
  171. &.one {
  172. .content {
  173. background-image: url(/img/service-title-bg-one.png);
  174. }
  175. }
  176. &.two {
  177. .content {
  178. background-image: url(/img/service-title-bg-two.png);
  179. }
  180. }
  181. .cover {
  182. width: 5.68rem;
  183. margin-top: 0.32rem;
  184. img {
  185. display: block;
  186. width: 100%;
  187. }
  188. }
  189. .content {
  190. -webkit-box-sizing: border-box;
  191. box-sizing: border-box;
  192. background-repeat: no-repeat;
  193. background-position: center top;
  194. background-size: 2rem;
  195. text-align: center;
  196. width: 6rem;
  197. .title {
  198. font-size: 24px;
  199. font-weight: bold;
  200. text-align: center;
  201. margin-top: 0.85rem;
  202. }
  203. .line {
  204. height: 0.03rem;
  205. width: 0.4rem;
  206. background-color: #f7f7f7;
  207. margin: 0.4rem auto 0.32rem;
  208. }
  209. .description {
  210. font-size: 0.26rem;
  211. line-height: 0.4rem;
  212. }
  213. .detail {
  214. margin-top: 0.32rem;
  215. font-size: 0.24rem;
  216. li {
  217. line-height: 0.48rem;
  218. font-size: 0.26rem;
  219. }
  220. .text {
  221. color: #999;
  222. font-size: 0.26rem;
  223. }
  224. }
  225. }
  226. }
  227. }
  228. }