/* src/app/pages/health-community/health-community.page.scss */ ion-content { --background: #f5f6fa; padding-top: 20px; /* 确保内容区有合适的顶部间距 */ } ion-list { margin: 0; padding: 0; } ion-item { --padding-start: 16px; --padding-end: 16px; --border-radius: 8px; --box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); margin-bottom: 10px; background: white; padding-top: 10px; padding-bottom: 10px; display: flex; align-items: center; } ion-thumbnail img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; } ion-label h2 { font-size: 18px; font-weight: bold; margin-bottom: 4px; } ion-label p { font-size: 14px; color: #6c757d; margin: 2px 0; } ion-fab-button { --background: #4a90e2; --color: white; --border-radius: 50%; }