health-encyclopedia.css 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498
  1. page {
  2. background-color: #F2F2F2;
  3. }
  4. .wrap {
  5. width: 100%;
  6. display: flex;
  7. flex-direction: column;
  8. padding-top: calc(88rpx + var(--status-bar-height));
  9. }
  10. .header {
  11. width: 100%;
  12. height: calc(88rpx + var(--status-bar-height));
  13. position: fixed;
  14. top: 0;
  15. left: 0;
  16. z-index: 9999999;
  17. display: flex;
  18. flex-direction: column;
  19. box-sizing: border-box;
  20. padding: var(--status-bar-height) 0 0;
  21. background-color: #fff;
  22. }
  23. .header-bottom {
  24. width: 100%;
  25. height: 88rpx;
  26. display: flex;
  27. align-items: center;
  28. padding: 0 24rpx;
  29. box-sizing: border-box;
  30. }
  31. .search-bar {
  32. flex: 1;
  33. height: 68rpx;
  34. border: 1px solid #F2501A;
  35. box-sizing: border-box;
  36. border-radius: 100rpx;
  37. display: flex;
  38. align-items: center;
  39. }
  40. .search-input {
  41. flex: 1;
  42. font-size: 24rpx;
  43. }
  44. .search-btn {
  45. width: 120rpx;
  46. height: 60rpx;
  47. line-height: 60rpx;
  48. display: flex;
  49. justify-content: center;
  50. align-items: center;
  51. border-radius: 100rpx;
  52. background-color: #F2501A;
  53. margin-right: 2rpx;
  54. color: #F8F8F8;
  55. font-size: 24rpx;
  56. }
  57. .placeholder {
  58. color: #919191;
  59. }
  60. .search-icon {
  61. width: 26rpx;
  62. height: 26rpx;
  63. margin-left: 24rpx;
  64. margin-right: 12rpx;
  65. }
  66. .header-right {
  67. display: flex;
  68. align-items: center;
  69. margin-left: 50rpx;
  70. }
  71. .header-right button {
  72. background: initial;
  73. border-radius: initial;
  74. display: flex;
  75. align-items: center;
  76. margin-right: 30rpx;
  77. }
  78. .header-right button:last-child {
  79. margin-right: 0;
  80. }
  81. .header-right button:first-child image {
  82. width: 44rpx;
  83. }
  84. .header-right button:nth-child(2) image {
  85. width: 36rpx;
  86. }
  87. .content-box {
  88. width: 100%;
  89. display: flex;
  90. flex-direction: column;
  91. padding: 30rpx 24rpx;
  92. box-sizing: border-box;
  93. }
  94. .health-nav-list {
  95. width: 100%;
  96. display: flex;
  97. flex-wrap: wrap;
  98. border-radius: 16rpx;
  99. background-color: #FFFFFF;
  100. padding: 30rpx 28rpx 0;
  101. box-sizing: border-box;
  102. }
  103. .health-nav-item {
  104. width: 33.3333%;
  105. display: flex;
  106. flex-direction: column;
  107. align-items: center;
  108. color: #333333;
  109. font-size: 30rpx;
  110. margin-bottom: 30rpx;
  111. }
  112. .health-nav-item-img {
  113. width: 66rpx;
  114. height: 66rpx;
  115. margin-bottom: 22rpx;
  116. }
  117. .swiper-box {
  118. width: 100%;
  119. margin: 30rpx 0;
  120. }
  121. .swiper {
  122. width: 100%;
  123. height: 240rpx;
  124. border-radius: 16rpx;
  125. }
  126. .banner-img {
  127. width: 100%;
  128. height: 240rpx;
  129. border-radius: 16rpx;
  130. }
  131. .tag-box {
  132. width: 100%;
  133. background-color: #FFFFFF;
  134. border-radius: 16rpx;
  135. padding: 24rpx;
  136. box-sizing: border-box;
  137. margin-bottom: 30rpx;
  138. display: flex;
  139. flex-direction: column;
  140. align-items: center;
  141. }
  142. .tag-list {
  143. width: 100%;
  144. display: flex;
  145. justify-content: space-between;
  146. flex-wrap: wrap;
  147. }
  148. .tag-item {
  149. width: calc(50% - 11rpx);
  150. background-color: #F8F9FC;
  151. border-radius: 50rpx;
  152. min-height: 60rpx;
  153. display: flex;
  154. align-items: center;
  155. justify-content: center;
  156. color: #202020;
  157. font-size: 24rpx;
  158. margin-bottom: 24rpx;
  159. font-weight: 500;
  160. }
  161. .refresh-row {
  162. display: flex;
  163. align-items: center;
  164. color: #919191;
  165. font-size: 22rpx;
  166. }
  167. .refresh-row>image {
  168. width: 20rpx;
  169. height: 20rpx;
  170. margin-right: 12rpx;
  171. }
  172. .health-menu-list {
  173. width: 100%;
  174. display: flex;
  175. flex-wrap: wrap;
  176. border-radius: 16rpx;
  177. background-color: #FFFFFF;
  178. padding: 40rpx 0 0;
  179. box-sizing: border-box;
  180. margin-bottom: 30rpx;
  181. }
  182. .health-menu-item {
  183. width: 20%;
  184. display: flex;
  185. flex-direction: column;
  186. align-items: center;
  187. color: #202020;
  188. font-size: 24rpx;
  189. margin-bottom: 32rpx;
  190. }
  191. .health-menu-item-img {
  192. height: 48rpx;
  193. margin-bottom: 18rpx;
  194. }
  195. .health-menu-item:last-child {
  196. color: #919191;
  197. }
  198. .health-consult-box {
  199. width: 100%;
  200. display: flex;
  201. align-items: center;
  202. border-radius: 16rpx;
  203. background-color: #FFFFFF;
  204. padding: 22rpx 24rpx 30rpx;
  205. box-sizing: border-box;
  206. }
  207. .health-consult-sidebar {
  208. flex: 1;
  209. display: flex;
  210. justify-content: space-between;
  211. align-items: center;
  212. }
  213. .health-consult-column {
  214. flex: 1;
  215. display: flex;
  216. flex-direction: column;
  217. margin-right: 20rpx;
  218. }
  219. .health-consult-img {
  220. width: 84rpx;
  221. margin-right: 20rpx;
  222. }
  223. .health-consult-name {
  224. color: #202020;
  225. font-size: 32rpx;
  226. }
  227. .health-consult-msg {
  228. color: #919191;
  229. font-size: 24rpx;
  230. }
  231. .health-consult-btn {
  232. border-radius: 100rpx;
  233. background-color: #F2501A;
  234. width: 140rpx;
  235. height: 60rpx;
  236. display: flex;
  237. align-items: center;
  238. justify-content: center;
  239. color: #F8F8F8;
  240. font-size: 24rpx;
  241. }
  242. .product-bottom {
  243. width: 100%;
  244. display: flex;
  245. flex-direction: column;
  246. }
  247. .tab-list {
  248. width: 100%;
  249. white-space: nowrap;
  250. }
  251. .child {
  252. width: 25%;
  253. display: inline-block;
  254. }
  255. .child-column {
  256. width: 100%;
  257. height: 140rpx;
  258. display: flex;
  259. flex-direction: column;
  260. align-items: center;
  261. justify-content: center;
  262. }
  263. .child-column-name {
  264. color: #202020;
  265. font-size: 34rpx;
  266. font-weight: bold;
  267. }
  268. .child-column-msg {
  269. color: #202020;
  270. font-size: 26rpx;
  271. position: relative;
  272. display: flex;
  273. align-items: center;
  274. }
  275. .border-img {
  276. width: 15rpx;
  277. display: none;
  278. margin-right: -10rpx !important;
  279. margin-bottom: -30rpx !important;
  280. }
  281. .child.active .child-column view {
  282. color: #F2501A;
  283. }
  284. .child.active .border-img {
  285. /* opacity: 1; */
  286. display: block;
  287. }
  288. .product-list {
  289. width: 100%;
  290. display: flex;
  291. flex-direction: column;
  292. background-color: #FFFFFF;
  293. border-radius: 16rpx;
  294. overflow: hidden;
  295. }
  296. .product-item {
  297. width: 100%;
  298. display: flex;
  299. align-items: center;
  300. padding: 24rpx;
  301. box-sizing: border-box;
  302. border-bottom: 1px solid #F9F6F6;
  303. }
  304. .product-item:last-child {
  305. border-bottom: none;
  306. }
  307. .product-item-column-img {
  308. width: 220rpx;
  309. height: 180rpx;
  310. border-radius: 16rpx;
  311. margin-right: 24rpx;
  312. }
  313. .product-item-sidebar {
  314. flex: 1;
  315. height: 160rpx;
  316. display: flex;
  317. flex-direction: column;
  318. justify-content: space-between;
  319. }
  320. .product-item-sidebar-top {
  321. width: 100%;
  322. display: -webkit-box;
  323. -webkit-line-clamp: 2;
  324. overflow: hidden;
  325. text-overflow: ellipsis;
  326. -webkit-box-orient: vertical;
  327. }
  328. .product-tag-img {
  329. width: 106rpx;
  330. margin-right: 6rpx;
  331. vertical-align: middle;
  332. }
  333. .product-item-column-name {
  334. color: #202020;
  335. font-size: 28rpx;
  336. font-weight: bold;
  337. }
  338. .product-item-row-between {
  339. width: 100%;
  340. display: flex;
  341. justify-content: space-between;
  342. align-items: center;
  343. }
  344. .look-num {
  345. color: #919191;
  346. font-size: 26rpx;
  347. }
  348. .collect-btn {
  349. display: flex;
  350. align-items: center;
  351. font-size: 26rpx;
  352. color: #919191;
  353. background-color: initial;
  354. border-radius: initial;
  355. }
  356. .collect-btn>image {
  357. width: 35rpx;
  358. margin-right: 8rpx;
  359. }
  360. .mask {
  361. position: fixed;
  362. left: 0;
  363. right: 0;
  364. top: 0;
  365. height: 100vh;
  366. background-color: rgba(0, 0, 0, 0.38);
  367. z-index: 9999999;
  368. }
  369. .window {
  370. position: fixed;
  371. width: 100%;
  372. bottom: 0;
  373. left: 0;
  374. overflow: hidden;
  375. background-color: #fff;
  376. z-index: 99999999;
  377. display: flex;
  378. flex-direction: column;
  379. align-items: center;
  380. border-radius: 40rpx 40rpx 0 0;
  381. padding: 36rpx 24rpx 50rpx;
  382. box-sizing: border-box;
  383. }
  384. .window-bottom {
  385. width: 100%;
  386. }
  387. .window-bottom button {
  388. color: #FFFFFF;
  389. font-size: 26rpx;
  390. width: 100%;
  391. height: 80rpx;
  392. line-height: 80rpx;
  393. border-radius: 100rpx;
  394. background-color: #F2501A;
  395. }
  396. .window-label {
  397. font-size: 32rpx;
  398. color: #202020;
  399. margin-bottom: 60rpx;
  400. }
  401. .itemBox {
  402. width: 100%;
  403. display: flex;
  404. flex-wrap: wrap;
  405. justify-content: space-between;
  406. margin-bottom: 120rpx;
  407. padding: 0 24rpx;
  408. box-sizing: border-box;
  409. }
  410. .fang {
  411. width: calc(50% - 11rpx);
  412. height: 62rpx;
  413. line-height: 62rpx;
  414. display: flex;
  415. justify-content: center;
  416. align-items: center;
  417. border-radius: 100rpx;
  418. color: #202020;
  419. font-size: 24rpx;
  420. font-weight: bold;
  421. margin-bottom: 24rpx;
  422. background-color: #F8F9FC;
  423. box-sizing: border-box;
  424. }
  425. .selected {
  426. background-color: #FEEEE6 !important;
  427. border: 1px solid #E63D23 !important;
  428. color: #F2501A !important;
  429. }