.search-page { min-height: 100vh; background: #f5f5f5; // 搜索输入框样式 .search-input-wrapper { flex: 1; display: flex; align-items: center; background: #f5f5f5; border-radius: 20px; padding: 0 12px; .search-icon { color: #999; margin-right: 8px; } .search-input { flex: 1; border: none; background: transparent; font-size: 14px; input { background: transparent !important; } } } .search-btn { padding: 0 16px; height: 36px; border-radius: 18px; font-size: 14px; } .search-content { padding-top: calc(32px + env(safe-area-inset-top)); .search-history { background: #fff; margin-bottom: 8px; .history-header { display: flex; justify-content: space-between; align-items: center; padding: 16px; border-bottom: 1px solid #f5f5f5; .history-title { font-size: 16px; font-weight: 500; color: #333; } .clear-btn { font-size: 14px; color: #999; cursor: pointer; } } .history-list { padding: 16px; display: flex; flex-wrap: wrap; gap: 12px; .history-item { padding: 8px 16px; background: #f5f5f5; border-radius: 16px; color: #666; cursor: pointer; &:active { background: #e5e5e5; } } } } .search-results { .result-header { padding: 16px; color: #666; background: #fff; border-bottom: 1px solid #f5f5f5; margin-bottom: 8px; } .loading-wrapper { display: flex; justify-content: center; align-items: center; padding: 40px 0; background: #fff; } } } }