index.wxss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. .container {
  2. width: 100%;
  3. align-items: stretch;
  4. padding: 0;
  5. box-sizing: border-box;
  6. }
  7. .banner-swiper {
  8. width: 100%;
  9. height: 380rpx;
  10. flex-shrink: 0;
  11. }
  12. .banner-item {
  13. width: 100%;
  14. height: 100%;
  15. position: relative;
  16. }
  17. .banner-image {
  18. width: 100%;
  19. height: 100%;
  20. }
  21. .banner-content {
  22. position: absolute;
  23. bottom: 0;
  24. left: 0;
  25. right: 0;
  26. padding: 30rpx;
  27. background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  28. color: white;
  29. }
  30. .banner-title {
  31. font-size: 32rpx;
  32. font-weight: bold;
  33. display: block;
  34. margin-bottom: 10rpx;
  35. }
  36. .banner-desc {
  37. font-size: 24rpx;
  38. opacity: 0.9;
  39. }
  40. .feature-section {
  41. background: white;
  42. margin: 20rpx;
  43. border-radius: 20rpx;
  44. padding: 30rpx;
  45. box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
  46. }
  47. .feature-title {
  48. font-size: 32rpx;
  49. font-weight: bold;
  50. color: #333;
  51. margin-bottom: 30rpx;
  52. padding-left: 10rpx;
  53. border-left: 6rpx solid #007AFF;
  54. }
  55. .feature-grid {
  56. display: flex;
  57. justify-content: space-around;
  58. flex-wrap: wrap;
  59. }
  60. .feature-item {
  61. display: flex;
  62. flex-direction: column;
  63. align-items: center;
  64. width: 33.33%;
  65. padding: 20rpx 0;
  66. }
  67. .feature-icon {
  68. width: 100rpx;
  69. height: 100rpx;
  70. margin-bottom: 15rpx;
  71. }
  72. .feature-text {
  73. font-size: 26rpx;
  74. color: #333;
  75. }
  76. .intro-section {
  77. background: white;
  78. margin: 20rpx;
  79. border-radius: 20rpx;
  80. padding: 30rpx;
  81. box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
  82. }
  83. .intro-title {
  84. font-size: 32rpx;
  85. font-weight: bold;
  86. color: #333;
  87. margin-bottom: 30rpx;
  88. padding-left: 10rpx;
  89. border-left: 6rpx solid #007AFF;
  90. }
  91. .intro-content {
  92. display: flex;
  93. flex-direction: column;
  94. }
  95. .intro-item {
  96. display: flex;
  97. align-items: center;
  98. padding: 25rpx 0;
  99. border-bottom: 1rpx solid #f0f0f0;
  100. }
  101. .intro-item:last-child {
  102. border-bottom: none;
  103. }
  104. .intro-icon {
  105. width: 80rpx;
  106. height: 80rpx;
  107. margin-right: 25rpx;
  108. flex-shrink: 0;
  109. }
  110. .intro-text {
  111. flex: 1;
  112. display: flex;
  113. flex-direction: column;
  114. }
  115. .intro-subtitle {
  116. font-size: 28rpx;
  117. font-weight: bold;
  118. color: #333;
  119. margin-bottom: 8rpx;
  120. }
  121. .intro-desc {
  122. font-size: 24rpx;
  123. color: #999;
  124. }
  125. .hospital-section {
  126. background: white;
  127. margin: 20rpx;
  128. border-radius: 20rpx;
  129. padding: 30rpx;
  130. box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
  131. margin-bottom: 30rpx;
  132. }
  133. .hospital-title {
  134. display: flex;
  135. justify-content: space-between;
  136. align-items: center;
  137. margin-bottom: 25rpx;
  138. padding-left: 10rpx;
  139. border-left: 6rpx solid #007AFF;
  140. font-size: 32rpx;
  141. font-weight: bold;
  142. color: #333;
  143. }
  144. .hospital-more {
  145. font-size: 24rpx;
  146. color: #007AFF;
  147. font-weight: normal;
  148. }
  149. .hospital-scroll {
  150. width: 100%;
  151. white-space: nowrap;
  152. }
  153. .hospital-list {
  154. display: inline-flex;
  155. padding: 10rpx 0;
  156. }
  157. .hospital-item {
  158. display: inline-flex;
  159. flex-direction: column;
  160. width: 280rpx;
  161. margin-right: 20rpx;
  162. background: #f8f8f8;
  163. border-radius: 15rpx;
  164. overflow: hidden;
  165. flex-shrink: 0;
  166. }
  167. .hospital-item:last-child {
  168. margin-right: 0;
  169. }
  170. .hospital-image {
  171. width: 100%;
  172. height: 160rpx;
  173. }
  174. .hospital-info {
  175. padding: 20rpx;
  176. display: flex;
  177. flex-direction: column;
  178. }
  179. .hospital-name {
  180. font-size: 26rpx;
  181. font-weight: bold;
  182. color: #333;
  183. margin-bottom: 8rpx;
  184. overflow: hidden;
  185. text-overflow: ellipsis;
  186. white-space: nowrap;
  187. }
  188. .hospital-address {
  189. font-size: 22rpx;
  190. color: #999;
  191. margin-bottom: 10rpx;
  192. overflow: hidden;
  193. text-overflow: ellipsis;
  194. white-space: nowrap;
  195. }
  196. .hospital-rating {
  197. display: flex;
  198. justify-content: space-between;
  199. align-items: center;
  200. }
  201. .rating-text {
  202. font-size: 22rpx;
  203. color: #FF6B35;
  204. font-weight: bold;
  205. }
  206. .distance-text {
  207. font-size: 22rpx;
  208. color: #007AFF;
  209. }