fix: 数据时间的范围提示放到下拉框右边
This commit is contained in:
@@ -509,7 +509,7 @@ onMounted(load);
|
|||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label>数据时间</label>
|
<label>数据时间</label>
|
||||||
<div class="time-field">
|
<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>
|
<p class="time-hint">{{ timeHint }}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -618,8 +618,9 @@ onMounted(load);
|
|||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
.time-field { display: grid; gap: 6px; min-width: 0; }
|
.time-field { display: flex; align-items: center; gap: 12px; min-width: 0; }
|
||||||
.time-hint { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
|
.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; }
|
.schedule-time { display: grid; grid-template-columns: minmax(0, 1fr) 128px; gap: 8px; }
|
||||||
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; }
|
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; }
|
||||||
.picked-list { display: grid; gap: 8px; }
|
.picked-list { display: grid; gap: 8px; }
|
||||||
|
|||||||
Reference in New Issue
Block a user