fix: 数据时间的范围提示放到下拉框右边

This commit is contained in:
2026-11-10 16:53:02 +08:00
parent 7b28067d0c
commit 1c0ee149b9
+4 -3
View File
@@ -509,7 +509,7 @@ onMounted(load);
<div class="form-row">
<label>数据时间</label>
<div class="time-field">
<n-select v-model:value="timeMode" :options="timeOptions" :render-option="renderTimeOption" />
<n-select v-model:value="timeMode" :options="timeOptions" :consistent-menu-width="false" :render-option="renderTimeOption" />
<p class="time-hint">{{ timeHint }}</p>
</div>
</div>
@@ -618,8 +618,9 @@ onMounted(load);
text-overflow: ellipsis;
white-space: nowrap;
}
.time-field { display: grid; gap: 6px; min-width: 0; }
.time-hint { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.time-field { display: flex; align-items: center; gap: 12px; min-width: 0; }
.collect-form .time-field :deep(.n-select) { width: 168px; flex: none; }
.time-hint { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.4; min-width: 0; }
.schedule-time { display: grid; grid-template-columns: minmax(0, 1fr) 128px; gap: 8px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; }
.picked-list { display: grid; gap: 8px; }