diff --git a/emergency-app/assistant/knowledge/index.html b/emergency-app/assistant/knowledge/index.html index 882e31f..66214a5 100644 --- a/emergency-app/assistant/knowledge/index.html +++ b/emergency-app/assistant/knowledge/index.html @@ -31,6 +31,27 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items: .tab-item .tab-label { font-size: 10px; color: #999; font-weight: 500; } .tab-item.active .tab-label { color: #1677ff; } .tab-badge { position: absolute; top: 2px; right: 18px; background: #ff4d4f; color: #fff; font-size: 10px; font-weight: 700; min-width: 16px; height: 16px; border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 0 4px; } + /* ========== 子分类Tab ========== */ + .sub-tabs { display: flex; gap: 8px; padding: 10px 16px; background: #fff; flex-shrink: 0; } + .sub-tab { + font-size: 12px; padding: 4px 14px; border-radius: 16px; + background: #f5f5f5; color: #666; cursor: pointer; transition: all 0.2s; + } + .sub-tab.active { background: #e6f4ff; color: #1677ff; font-weight: 600; } + + /* ========== PDF文档条目 ========== */ + .pdf-item { + background: #fff; border-radius: 10px; padding: 12px 14px; + display: flex; align-items: center; gap: 10px; + box-shadow: 0 1px 4px rgba(0,0,0,0.06); margin-bottom: 10px; cursor: pointer; + } + .pdf-item__icon { + width: 44px; height: 44px; border-radius: 10px; background: #fff1f0; + display: flex; align-items: center; justify-content: center; flex-shrink: 0; + } + .pdf-item__info { flex: 1; } + .pdf-item__name { font-size: 14px; font-weight: 600; color: #1a1a1a; } + .pdf-item__meta { font-size: 12px; color: #999; margin-top: 3px; display: flex; gap: 8px; }
@@ -48,14 +69,22 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items: