product-intradermik.scss 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  1. @media screen and (min-width: 768px) {
  2. .main {
  3. margin-top: -80px;
  4. .title {
  5. font-size: 24px;
  6. font-weight: bold;
  7. }
  8. .about {
  9. margin-bottom: 180px;
  10. .cover {
  11. width: 614px;
  12. height: 412px;
  13. background-color: pink;
  14. }
  15. .container {
  16. position: relative;
  17. }
  18. .content {
  19. position: absolute;
  20. bottom: 0;
  21. right: 0;
  22. width: 518px;
  23. .title {
  24. font-size: 34px;
  25. text-transform: uppercase;
  26. }
  27. .detail {
  28. font-size: 14px;
  29. line-height: 40px;
  30. text-align: justify;
  31. }
  32. .tags {
  33. margin-top: 36px;
  34. display: -webkit-box;
  35. display: -ms-flexbox;
  36. display: flex;
  37. .tag {
  38. padding: 8px 14px;
  39. font-size: 16px;
  40. color: #0688d2;
  41. background: #eff9ff;
  42. }
  43. }
  44. .line {
  45. margin: 32px 0;
  46. width: 32px;
  47. height: 2px;
  48. background: #d8d8d8;
  49. }
  50. }
  51. }
  52. .service {
  53. margin: 80px 0;
  54. .cover {
  55. width: 640px;
  56. height: 480px;
  57. -webkit-box-sizing: border-box;
  58. box-sizing: border-box;
  59. }
  60. &.one {
  61. .content {
  62. background-image: url(/img/product-intradermik-service-bg-01.png);
  63. }
  64. }
  65. &.two {
  66. .content {
  67. background-image: url(/img/product-intradermik-service-bg-02.png);
  68. }
  69. }
  70. &.three {
  71. .content {
  72. background-image: url(/img/product-intradermik-service-bg-03.png);
  73. }
  74. }
  75. &.four {
  76. .content {
  77. background-image: url(/img/product-intradermik-service-bg-04.png);
  78. }
  79. }
  80. .content {
  81. width: 560px;
  82. height: 480px;
  83. -webkit-box-sizing: border-box;
  84. box-sizing: border-box;
  85. background: rgba(0, 0, 0, 0.39);
  86. padding: 70px 60px 0;
  87. background-repeat: no-repeat;
  88. background-position: center;
  89. background-size: 560px;
  90. .title {
  91. color: #fff;
  92. margin-bottom: 20px;
  93. }
  94. .mb24 {
  95. margin-bottom: 40px;
  96. }
  97. .mb56 {
  98. margin-bottom: 56px;
  99. }
  100. .lh40 {
  101. line-height: 40px;
  102. }
  103. .lh28 {
  104. line-height: 28px;
  105. }
  106. .subtitle {
  107. font-size: 16px;
  108. color: #fff;
  109. }
  110. .detail {
  111. color: #fff;
  112. font-size: 16px;
  113. li {
  114. margin-top: 32px;
  115. }
  116. .label {
  117. margin-bottom: 16px;
  118. }
  119. }
  120. }
  121. }
  122. }
  123. }
  124. @media screen and (max-width: 768px) {
  125. .main {
  126. .container {
  127. display: -webkit-box;
  128. display: -ms-flexbox;
  129. display: flex;
  130. -webkit-box-pack: center;
  131. -ms-flex-pack: center;
  132. justify-content: center;
  133. -webkit-box-align: center;
  134. -ms-flex-align: center;
  135. align-items: center;
  136. -webkit-box-orient: vertical;
  137. -webkit-box-direction: reverse;
  138. -ms-flex-direction: column-reverse;
  139. flex-direction: column-reverse;
  140. }
  141. .title {
  142. font-size: 0.48rem;
  143. font-weight: bold;
  144. }
  145. .about {
  146. margin-top: 0.8rem;
  147. .cover {
  148. width: 6.14rem;
  149. height: 4.12rem;
  150. float: unset !important;
  151. margin-top: 0.48rem;
  152. img {
  153. display: block;
  154. width: 100%;
  155. height: 100%;
  156. }
  157. }
  158. .container {
  159. position: relative;
  160. }
  161. .content {
  162. width: 6.14rem;
  163. float: unset !important;
  164. .title {
  165. font-size: 0.48rem;
  166. text-transform: uppercase;
  167. text-align: center;
  168. }
  169. .detail {
  170. font-size: 0.24rem;
  171. line-height: 0.4rem;
  172. text-align: justify;
  173. }
  174. .tags {
  175. margin-top: 0.32rem;
  176. display: -webkit-box;
  177. display: -ms-flexbox;
  178. display: flex;
  179. -webkit-box-pack: center;
  180. -ms-flex-pack: center;
  181. justify-content: center;
  182. .tag {
  183. padding: 0.08rem 0.41rem;
  184. font-size: 0.24rem;
  185. color: #3da5b8;
  186. background: #e6fcff;
  187. }
  188. }
  189. .line {
  190. width: 0.4rem;
  191. height: 0.03rem;
  192. background: #d8d8d8;
  193. margin: 0.32rem auto;
  194. }
  195. }
  196. }
  197. .service {
  198. margin: 1.2rem 0;
  199. .cover {
  200. width: 6.14rem;
  201. height: 4.66rem;
  202. -webkit-box-sizing: border-box;
  203. box-sizing: border-box;
  204. float: unset !important;
  205. margin-top: 0.48rem;
  206. img {
  207. display: block;
  208. width: 100%;
  209. height: 100%;
  210. }
  211. }
  212. .content {
  213. width: 6.14rem;
  214. float: unset !important;
  215. -webkit-box-sizing: border-box;
  216. box-sizing: border-box;
  217. background-repeat: no-repeat;
  218. background-position: center;
  219. text-align: center;
  220. .title {
  221. margin-bottom: 0.4rem;
  222. }
  223. .mb24 {
  224. margin-bottom: 0.4rem;
  225. }
  226. .mb56 {
  227. margin-bottom: 0.56rem;
  228. }
  229. .lh40 {
  230. line-height: 0.4rem;
  231. }
  232. .lh28 {
  233. line-height: 0.4rem;
  234. }
  235. .subtitle {
  236. font-size: 0.26rem;
  237. }
  238. .detail {
  239. font-size: 0.26rem;
  240. li {
  241. margin-top: 0.32rem;
  242. }
  243. .label {
  244. margin-bottom: 0.16rem;
  245. }
  246. }
  247. }
  248. }
  249. }
  250. }