@yxhl/specter-pui-vtk 1.0.112 → 1.0.113
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -23,11 +23,9 @@
|
|
|
23
23
|
clearable
|
|
24
24
|
>
|
|
25
25
|
<template v-slot:append-inner>
|
|
26
|
-
<
|
|
27
|
-
class="search-icon"
|
|
28
|
-
|
|
29
|
-
@click.stop="search"
|
|
30
|
-
>mdi-magnify</VIcon>
|
|
26
|
+
<span class="search-trigger" @click.stop="search">
|
|
27
|
+
<VIcon class="search-icon" size="small">mdi-magnify</VIcon>
|
|
28
|
+
</span>
|
|
31
29
|
<span v-bind="props" class="search-advanced">
|
|
32
30
|
<span class="search-divider"></span>
|
|
33
31
|
<VBadge
|
|
@@ -273,34 +271,43 @@ defineExpose({ search, reset });
|
|
|
273
271
|
transform: translate(8px, -2px);
|
|
274
272
|
}
|
|
275
273
|
|
|
274
|
+
.search-trigger {
|
|
275
|
+
flex-shrink: 0;
|
|
276
|
+
display: inline-flex;
|
|
277
|
+
align-items: center;
|
|
278
|
+
align-self: stretch;
|
|
279
|
+
/* 搜索热区铺满「放大镜 → 竖线」整段:右侧 10px 即图标与竖线之间的空白,
|
|
280
|
+
竖线的左边距已并入此处,点击该区域执行搜索(不再落到高级弹窗热区) */
|
|
281
|
+
padding: 1px 10px 0 0;
|
|
282
|
+
cursor: pointer;
|
|
283
|
+
}
|
|
284
|
+
|
|
276
285
|
.search-advanced {
|
|
277
286
|
flex-shrink: 0;
|
|
278
287
|
white-space: nowrap;
|
|
279
288
|
display: inline-flex;
|
|
280
289
|
align-items: center;
|
|
281
290
|
align-self: stretch;
|
|
282
|
-
/*
|
|
283
|
-
|
|
284
|
-
padding: 1px 12px 0
|
|
285
|
-
margin:
|
|
291
|
+
/* 高级热区从竖线开始:右侧 12px 补 .v-field--appended 的 padding-inline-end,
|
|
292
|
+
负外边距抵消 padding,视觉与布局保持原样 */
|
|
293
|
+
padding: 1px 12px 0 0;
|
|
294
|
+
margin-right: -12px;
|
|
286
295
|
cursor: pointer;
|
|
287
296
|
}
|
|
288
297
|
|
|
289
298
|
.search-divider {
|
|
290
299
|
width: 1px;
|
|
291
300
|
align-self: stretch;
|
|
292
|
-
margin: 0 8px 0
|
|
301
|
+
margin: 0 8px 0 0;
|
|
293
302
|
background: #cccccc88;
|
|
294
303
|
flex-shrink: 0;
|
|
295
304
|
}
|
|
296
305
|
|
|
297
306
|
.search-icon {
|
|
298
|
-
cursor: pointer;
|
|
299
|
-
margin-right: 4px;
|
|
300
307
|
transition: color 0.2s;
|
|
301
308
|
}
|
|
302
309
|
|
|
303
|
-
.search-
|
|
310
|
+
.search-trigger:hover .search-icon {
|
|
304
311
|
color: rgb(var(--v-theme-primary));
|
|
305
312
|
}
|
|
306
313
|
</style>
|