product-kestos.scss 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. @media screen and (min-width: 768px) {
  2. .main {
  3. .about {
  4. .cover {
  5. img {
  6. display: block;
  7. width: 470px;
  8. height: 480px;
  9. }
  10. }
  11. .info {
  12. width: 660px;
  13. padding-top: 65px;
  14. .name {
  15. font-size: 50px;
  16. color: #7d8bb0;
  17. font-weight: bold;
  18. }
  19. .subname {
  20. font-size: 30px;
  21. margin-top: 15px;
  22. }
  23. .line {
  24. width: 36px;
  25. height: 7px;
  26. background: #7d8bb0;
  27. margin: 20px 0 30px;
  28. }
  29. .description {
  30. font-size: 20px;
  31. text-align: justify;
  32. word-break: break-all;
  33. line-height: 36px;
  34. p {
  35. margin-top: 24px;
  36. }
  37. }
  38. }
  39. }
  40. .therapy {
  41. .content {
  42. img {
  43. display: block;
  44. width: 100%;
  45. margin-top: 3px;
  46. &:first-child {
  47. margin-top: 0;
  48. }
  49. }
  50. }
  51. }
  52. .program {
  53. .content {
  54. img {
  55. display: block;
  56. width: 100%;
  57. }
  58. }
  59. }
  60. .device {
  61. .content {
  62. .swiper-container {
  63. width: 100%;
  64. img {
  65. display: block;
  66. width: 100%;
  67. }
  68. }
  69. }
  70. }
  71. }
  72. }
  73. @media screen and (max-width: 768px) {
  74. .main {
  75. .about {
  76. .content {
  77. display: -webkit-box;
  78. display: -ms-flexbox;
  79. display: flex;
  80. -webkit-box-orient: vertical;
  81. -webkit-box-direction: reverse;
  82. -ms-flex-direction: column-reverse;
  83. flex-direction: column-reverse;
  84. -webkit-box-align: center;
  85. -ms-flex-align: center;
  86. align-items: center;
  87. .cover {
  88. margin-top: 0.4rem;
  89. img {
  90. display: block;
  91. width: 5.46rem;
  92. height: 5.57rem;
  93. }
  94. }
  95. .info {
  96. width: 6.5rem;
  97. margin: 0 auto;
  98. .name {
  99. font-size: 0.34rem;
  100. color: #7d8bb0;
  101. text-align: center;
  102. font-weight: bold;
  103. }
  104. .subname {
  105. font-size: 0.26rem;
  106. margin-top: 0.16rem;
  107. text-align: center;
  108. }
  109. .line {
  110. width: 0.4rem;
  111. height: 0.06rem;
  112. background: #7d8bb0;
  113. margin: 0.32rem auto;
  114. }
  115. .description {
  116. text-align: justify;
  117. word-break: break-all;
  118. color: #333333;
  119. text-align: center;
  120. font-size: 0.26rem;
  121. line-height: 0.48rem;
  122. }
  123. }
  124. }
  125. }
  126. .therapy {
  127. width: 6.86rem;
  128. margin: 0 auto;
  129. .content {
  130. img {
  131. display: block;
  132. width: 100%;
  133. margin-top: 0.32rem;
  134. &:first-child {
  135. margin-top: 0;
  136. }
  137. }
  138. }
  139. }
  140. .program {
  141. width: 6.86rem;
  142. margin: 0 auto;
  143. .content {
  144. img {
  145. display: block;
  146. width: 100%;
  147. }
  148. }
  149. }
  150. .device {
  151. .scroll-box {
  152. img {
  153. width: 2.74rem;
  154. height: 2.53rem;
  155. margin-right: 0.24rem;
  156. &:first-child {
  157. margin-left: 0.32rem;
  158. }
  159. &:last-child {
  160. margin-right: 0.32rem;
  161. }
  162. }
  163. }
  164. }
  165. }
  166. }