index.wxss 3.6 KB

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