diff --git a/frontend/src/components/monitor/RuleEditor.tsx b/frontend/src/components/monitor/RuleEditor.tsx
index dbb4216..44223e7 100644
--- a/frontend/src/components/monitor/RuleEditor.tsx
+++ b/frontend/src/components/monitor/RuleEditor.tsx
@@ -814,60 +814,62 @@ export function RuleEditor({ rule, preset, simple, onClose, onSaved }: Props) {
>
)}
- {/* 从自选/自选分组批量导入标的 */}
-
-
- {watchMenuOpen && (
-
- {watchlistQ.isLoading ? (
-
正在加载自选...
- ) : watchImportOptions.length === 0 ? (
-
自选列表为空
- ) : watchImportOptions.map(option => (
-
- ))}
-
- )}
-
-
-
setSymbolQuery(e.target.value)}
- placeholder="搜索代码或名称..."
- className="h-7 w-32 rounded border border-border bg-base pl-6 pr-2 text-[11px] text-foreground focus:outline-none focus:border-accent/50"
- />
-
- {symbolSearch.data && symbolSearch.data.results.length > 0 && (
-
- {symbolSearch.data.results.map(r => (
-
- ))}
-
- )}
+ {/* 导入与搜索: 同一行等高(h-7), 搜索框占满剩余宽度 */}
+
+
+
+ {watchMenuOpen && (
+
+ {watchlistQ.isLoading ? (
+
正在加载自选...
+ ) : watchImportOptions.length === 0 ? (
+
自选列表为空
+ ) : watchImportOptions.map(option => (
+
+ ))}
+
+ )}
+
+
+
setSymbolQuery(e.target.value)}
+ placeholder="搜索代码或名称添加标的..."
+ className="h-7 w-full rounded border border-border bg-base pl-6 pr-2 text-[11px] text-foreground focus:outline-none focus:border-accent/50"
+ />
+
+ {symbolSearch.data && symbolSearch.data.results.length > 0 && (
+
+ {symbolSearch.data.results.map(r => (
+
+ ))}
+
+ )}
+
)}