健康同学微信公众号h5项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

268 line
8.0KB

  1. .optimize {
  2. min-height: 100vh;
  3. .expert-box {
  4. padding: 40px 32px;
  5. height: 400px;
  6. .van-swipe {
  7. height: 100%;
  8. }
  9. img {
  10. width: 100%;
  11. height: 100%;
  12. object-fit: contain;
  13. }
  14. .van-swipe-item {
  15. position: relative;
  16. p {
  17. position: absolute;
  18. right: 40px;
  19. bottom: 40px;
  20. font-size: 24px;
  21. color: #fff;
  22. padding: 10px 18px 10px 15px;
  23. background-color: #000;
  24. border-radius: 10px;
  25. }
  26. }
  27. }
  28. .title {
  29. display: flex;
  30. flex-wrap: wrap;
  31. align-items: center;
  32. align-content: space-between;
  33. justify-content: space-between;
  34. p {
  35. font-size: 26px;
  36. color: #fff;
  37. padding: 10px 30px;
  38. background-color: #000;
  39. border-radius: 40px;
  40. font-weight: bold;
  41. }
  42. a {
  43. font-size: 20px;
  44. color: #000;
  45. padding: 10px 30px;
  46. background-color: #dfdfdf;
  47. border-radius: 40px;
  48. font-weight: bold;
  49. }
  50. }
  51. .parenting {
  52. padding: 0 32px;
  53. ul {
  54. width: 100%;
  55. margin-top: 24px;
  56. display: flex;
  57. flex-wrap: wrap;
  58. align-items: center;
  59. align-content: space-between;
  60. justify-content: space-between;
  61. li {
  62. width: 30%;
  63. img {
  64. width: 100%;
  65. height: 200px;
  66. object-fit: contain;
  67. }
  68. p {
  69. text-align: center;
  70. font-size: 30px;
  71. color: #000;
  72. font-weight: bold;
  73. }
  74. span {
  75. text-align: center;
  76. font-size: 20px;
  77. color: grey;
  78. display: block;
  79. margin-top: 8px;
  80. }
  81. }
  82. }
  83. }
  84. .train {
  85. padding: 52px 32px;
  86. .main {
  87. width: 100%;
  88. overflow-x: scroll;
  89. ul {
  90. width: max-content;
  91. margin-top: 30px;
  92. display: flex;
  93. flex-wrap: wrap;
  94. align-items: center;
  95. justify-content: flex-start;
  96. li {
  97. width: 480px;
  98. background-color: #2ea7e0;
  99. padding: 40px;
  100. border-radius: 50px;
  101. display: flex;
  102. align-items: center;
  103. align-content: space-between;
  104. justify-content: space-between;
  105. & + li {
  106. margin-left: 30px;
  107. }
  108. .left {
  109. p {
  110. font-size: 38px;
  111. color: #000;
  112. font-weight: bold;
  113. }
  114. span {
  115. display: block;
  116. font-size: 30px;
  117. color: #000;
  118. }
  119. div {
  120. display: flex;
  121. flex-wrap: wrap;
  122. align-items: center;
  123. justify-content: flex-start;
  124. margin-top: 10px;
  125. h5 {
  126. padding: 8px 16px;
  127. background-color: #000;
  128. font-size: 20px;
  129. color: #c2813f;
  130. border-radius: 20px;
  131. }
  132. s {
  133. font-style: normal;
  134. font-size: 24px;
  135. color: #fff;
  136. display: block;
  137. margin-left: 16px;
  138. }
  139. }
  140. }
  141. img {
  142. height: 140px;
  143. object-fit: contain;
  144. }
  145. }
  146. }
  147. }
  148. }
  149. .psychology {
  150. padding-bottom: 40px;
  151. .title {
  152. padding: 0 32px;
  153. }
  154. .select {
  155. margin: 30px 0 0 32px;
  156. overflow-x: scroll;
  157. ul {
  158. width: max-content;
  159. display: flex;
  160. flex-wrap: wrap;
  161. align-items: center;
  162. justify-content: flex-start;
  163. li {
  164. img {
  165. width: 100px;
  166. height: 100px;
  167. object-fit: contain;
  168. }
  169. & + li {
  170. margin-left: 25px;
  171. }
  172. }
  173. }
  174. }
  175. .main {
  176. padding: 0 32px;
  177. margin-top: 30px;
  178. .top {
  179. background-color: #179b3b;
  180. border-radius: 60px;
  181. padding: 40px;
  182. position: relative;
  183. height: 280px;
  184. p {
  185. color: #fff;
  186. font-size: 54px;
  187. font-weight: bold;
  188. }
  189. span {
  190. color: #fff;
  191. font-size: 26px;
  192. font-weight: normal;
  193. }
  194. img {
  195. position: absolute;
  196. bottom: 0;
  197. right: 0;
  198. object-fit: contain;
  199. width: 55%;
  200. }
  201. }
  202. .bottom {
  203. padding: 40px 30px;
  204. border-radius: 60px;
  205. border: 5px solid #ecff9c;
  206. margin-top: -40px;
  207. z-index: 2;
  208. position: relative;
  209. background-color: #fff;
  210. h4 {
  211. padding: 0 20px;
  212. font-size: 32px;
  213. color: #000;
  214. span {
  215. color: #a3a3a3;
  216. margin: 0 6px;
  217. }
  218. }
  219. ul {
  220. width: 100%;
  221. display: flex;
  222. flex-wrap: wrap;
  223. align-items: center;
  224. justify-content: flex-start;
  225. margin-top: 20px;
  226. li {
  227. margin: 10px;
  228. color: #000;
  229. padding: 10px 20px;
  230. border-radius: 40px;
  231. background-color: #ecff9c;
  232. font-size: 22px;
  233. font-weight: bold;
  234. }
  235. }
  236. div {
  237. display: flex;
  238. flex-wrap: wrap;
  239. align-items: center;
  240. align-content: space-between;
  241. justify-content: space-between;
  242. margin-top: 40px;
  243. h5 {
  244. display: flex;
  245. flex-wrap: wrap;
  246. align-items: flex-end;
  247. justify-content: flex-start;
  248. img {
  249. width: 50px;
  250. object-fit: contain;
  251. }
  252. span {
  253. color: #000;
  254. font-size: 28px;
  255. margin-left: 10px;
  256. }
  257. }
  258. p {
  259. font-size: 54px;
  260. color: #179b3b;
  261. font-weight: bold;
  262. }
  263. }
  264. }
  265. }
  266. }
  267. }