* { margin: 0; padding: 0; box-sizing: border-box; } body { background: #f5f7f9; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif; min-height: 100vh; } /* 头部区域 */ .header-section { background: linear-gradient(135deg, #018fa5 0%, #0a7a8c 50%, #0b6b7c 100%); padding: 22px 16px 26px; color: #fff; border-radius: 0 0 20px 20px; position: relative; overflow: hidden; } .header-section::before { content: ''; position: absolute; top: -40px; right: -30px; width: 140px; height: 140px; background: rgba(138,202,188,0.15); border-radius: 50%; } .header-section::after { content: ''; position: absolute; bottom: -25px; left: 30px; width: 90px; height: 90px; background: rgba(138,202,188,0.1); border-radius: 50%; } .header-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; position: relative; z-index: 1; } .user-info { display: flex; align-items: center; gap: 12px; } .user-avatar { width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; font-size: 24px; backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.25); } .user-name { font-size: 17px; font-weight: 700; letter-spacing: 0.3px; } .user-desc { font-size: 12px; opacity: 0.85; margin-top: 2px; } .header-actions { display: flex; gap: 10px; position: relative; z-index: 1; } .icon-btn { width: 36px; height: 36px; border-radius: 12px; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s ease; backdrop-filter: blur(4px); } .icon-btn:active { transform: scale(0.92); background: rgba(255,255,255,0.28); } /* 搜索栏 */ .search-wrapper { margin-top: 16px; position: relative; z-index: 1; } .search-wrapper :deep(.van-search__content) { background: rgba(255,255,255,0.95) !important; border-radius: 10px !important; box-shadow: 0 2px 8px rgba(1,143,165,0.15); } .search-wrapper :deep(.van-field__control) { font-size: 13px; } .search-wrapper :deep(.van-search__action) { color: #8acabc; font-size: 14px; font-weight: 500; } /* 快捷功能区 - 专业风格 */ .quick-actions { padding: 0; margin: -14px 16px 0; background: #fff; border-radius: 14px; box-shadow: 0 4px 16px rgba(1,143,165,0.08), 0 1px 3px rgba(0,0,0,0.04); position: relative; z-index: 10; overflow: hidden; } /* 快捷功能顶部标题 */ .qa-header { padding: 16px 16px 0; display: flex; align-items: center; justify-content: space-between; } .qa-title { font-size: 15px; font-weight: 700; color: #333; display: flex; align-items: center; gap: 6px; } .qa-title-dot { width: 4px; height: 16px; border-radius: 2px; background: linear-gradient(180deg, #018fa5, #8acabc); } .qa-more { font-size: 12px; color: #999; display: flex; align-items: center; gap: 2px; } .qa-body { padding: 12px 10px 16px; } .qa-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; } .qa-item { display: flex; flex-direction: column; align-items: center; padding: 12px 4px 8px; border-radius: 10px; transition: all 0.2s ease; cursor: pointer; } .qa-item:active { background: #f0fafb; transform: scale(0.96); } .qa-icon-wrap { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; position: relative; overflow: hidden; } .qa-icon-wrap.primary { background: linear-gradient(135deg, #e6f5f8 0%, #d0ebe8 100%); } .qa-icon-wrap.success { background: linear-gradient(135deg, #eaf7ee 0%, #ddf0e4 100%); } .qa-icon-wrap.warning { background: linear-gradient(135deg, #fef6ec 0%, #fcebd6 100%); } .qa-icon-wrap.info { background: linear-gradient(135deg, #eef2fe 0%, #e0e8fc 100%); } .qa-icon-wrap.danger { background: linear-gradient(135deg, #feebeb 0%, #fcdedc 100%); } .qa-icon-wrap.purple { background: linear-gradient(135deg, #f3ebfb 0%, #e6daf4 100%); } .qa-icon-wrap.cyan { background: linear-gradient(135deg, #e6fbfb 0%, #ccf2f2 100%); } .qa-icon-wrap.gold { background: linear-gradient(135deg, #fdf6ea 0%, #fbeacc 100%); } .qa-icon-wrap .qa-icon-primary { color: #018fa5; } .qa-icon-wrap .qa-icon-success { color: #2ba245; } .qa-icon-wrap .qa-icon-warning { color: #e08c28; } .qa-icon-wrap .qa-icon-info { color: #4a6cf7; } .qa-icon-wrap .qa-icon-danger { color: #dc3545; } .qa-icon-wrap .qa-icon-purple { color: #7c3aed; } .qa-icon-wrap .qa-icon-cyan { color: #0891b2; } .qa-icon-wrap .qa-icon-gold { color: #b8860b; } .qa-label { font-size: 12px; color: #444; font-weight: 500; text-align: center; line-height: 1.3; } /* 快捷功能底部统计 */ .qa-stats { display: flex; padding: 12px 16px; gap: 0; border-top: 1px solid #f3f3f3; } .qa-stat { flex: 1; text-align: center; position: relative; } .qa-stat:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 20%; height: 60%; width: 1px; background: #eee; } .qa-stat-num { font-size: 18px; font-weight: 700; color: #018fa5; line-height: 1.2; } .qa-stat-lbl { font-size: 11px; color: #999; margin-top: 2px; } /* 公告栏 */ .notice-section { margin: 14px 16px 0; border-radius: 10px; overflow: hidden; } .notice-section :deep(.van-notice-bar) { border-radius: 10px; background: linear-gradient(90deg, #f0f9fa 0%, #e6f5f6 100%); color: #018fa5; } .notice-section :deep(.van-notice-bar .van-icon) { color: #018fa5; } /* 快速下单入口 */ .order-entry { margin: 14px 16px 0; background: linear-gradient(135deg, #018fa5 0%, #0a7a8c 100%); border-radius: 14px; padding: 18px 20px; color: #fff; position: relative; overflow: hidden; box-shadow: 0 4px 20px rgba(1,143,165,0.25); } .order-entry::before { content: ''; position: absolute; right: -20px; top: -20px; width: 110px; height: 110px; background: rgba(138,202,188,0.12); border-radius: 50%; } .order-entry-header { display: flex; justify-content: space-between; align-items: flex-start; position: relative; z-index: 1; } .order-entry-left { flex: 1; } .order-entry-title { font-size: 16px; font-weight: 700; margin-bottom: 4px; } .order-entry-desc { font-size: 12px; opacity: 0.82; margin-bottom: 14px; } .order-entry-btns { display: flex; gap: 8px; flex-wrap: wrap; } .order-entry-btns .van-button { font-size: 12px !important; font-weight: 600; background: rgba(255,255,255,0.15) !important; color: #fff !important; border: 1px solid rgba(255,255,255,0.35) !important; backdrop-filter: blur(4px); transition: all 0.2s ease; } .order-entry-btns .van-button:active { background: rgba(255,255,255,0.28) !important; transform: scale(0.96); } .order-entry-btns .van-button--primary:first-child { background: #fff !important; color: #018fa5 !important; border-color: transparent !important; } .order-entry-right { width: 56px; height: 56px; border-radius: 14px; flex-shrink: 0; background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; margin-left: 16px; } .order-entry-right van-icon { font-size: 32px; } /* 推荐护工 */ .nurse-section { margin-top: 14px; padding-bottom: 10px; } .section-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 16px 10px; } .section-title { font-size: 16px; font-weight: 700; color: #1a1a1a; display: flex; align-items: center; gap: 8px; } .section-more { font-size: 13px; color: #018fa5; display: flex; align-items: center; gap: 2px; font-weight: 500; } .nurse-list { padding: 0 16px; } .nurse-card { background: #fff; border-radius: 14px; padding: 14px; margin-bottom: 10px; box-shadow: 0 1px 8px rgba(1,143,165,0.05); display: flex; gap: 12px; transition: all 0.2s ease; border: 1px solid rgba(1,143,165,0.06); cursor: pointer; } .nurse-card:active { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(1,143,165,0.12); } .nurse-avatar { width: 58px; height: 58px; border-radius: 14px; flex-shrink: 0; background: linear-gradient(135deg, #e6f5f8 0%, #d0ebe8 100%); display: flex; align-items: center; justify-content: center; font-size: 28px; color: #018fa5; border: 1px solid rgba(1,143,165,0.1); } .nurse-info { flex: 1; min-width: 0; } .nurse-name-row { display: flex; justify-content: space-between; align-items: center; } .nurse-name { font-size: 15px; font-weight: 700; color: #333; } .nurse-rating { font-size: 13px; color: #e08c28; font-weight: 600; display: flex; align-items: center; gap: 2px; } .nurse-tags { display: flex; gap: 6px; margin-top: 7px; flex-wrap: wrap; } .nurse-tag { font-size: 11px; padding: 2px 9px; border-radius: 5px; font-weight: 500; } .nurse-tag.teal { background: linear-gradient(135deg, #e6f5f8 0%, #d0ebe8 100%); color: #018fa5; } .nurse-tag.orange { background: linear-gradient(135deg, #fef4ec 0%, #fde8d4 100%); color: #e08c28; } .nurse-tag.green { background: linear-gradient(135deg, #eaf7ee 0%, #ddf0e4 100%); color: #2ba245; } .nurse-tag.purple { background: linear-gradient(135deg, #f3ebfb 0%, #e6daf4 100%); color: #7c3aed; } .nurse-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; } .nurse-price { font-size: 16px; color: #dc3545; font-weight: 700; } .nurse-price span { font-size: 11px; font-weight: normal; } .nurse-exp { font-size: 11px; color: #aaa; } /* 底部安全距离 */ .bottom-safe { height: 72px; } /* 动画效果 */ @keyframes fadeInUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } } .quick-actions { animation: fadeInUp 0.35s ease-out; } .order-entry { animation: fadeInUp 0.4s ease-out 0.08s both; } .nurse-card:nth-child(1) { animation: fadeInUp 0.35s ease-out 0.04s both; } .nurse-card:nth-child(2) { animation: fadeInUp 0.35s ease-out 0.08s both; } .nurse-card:nth-child(3) { animation: fadeInUp 0.35s ease-out 0.12s both; } .nurse-card:nth-child(4) { animation: fadeInUp 0.35s ease-out 0.16s both; } /* 底部导航 */ :deep(.van-tabbar) { box-shadow: 0 -2px 14px rgba(0,0,0,0.05); } :deep(.van-tabbar-item--active) { color: #018fa5 !important; }