fix(playback-controller): 调整播放控制器日期选择器和小时选择器的布局样式
This commit is contained in:
parent
af03f569ee
commit
f7cd51c679
@ -207,14 +207,15 @@ const handleTimelineClick = (event: MouseEvent) => {
|
|||||||
|
|
||||||
<!-- Hour Selector -->
|
<!-- Hour Selector -->
|
||||||
<a-col>
|
<a-col>
|
||||||
<a-date-picker
|
<div class="datetime-selector">
|
||||||
:value="selectedDate"
|
<a-date-picker
|
||||||
placeholder="请选择回放日期"
|
:value="selectedDate"
|
||||||
@change="handleDateChange as any"
|
placeholder="请选择回放日期"
|
||||||
style="margin-right: 8px"
|
@change="handleDateChange as any"
|
||||||
dropdownClassName="playback-datepicker-theme"
|
dropdownClassName="playback-datepicker-theme"
|
||||||
/>
|
/>
|
||||||
<a-select :value="selectedHour" style="width: 150px" :options="hourOptions" @change="handleHourChange" />
|
<a-select :value="selectedHour" style="width: 150px" :options="hourOptions" @change="handleHourChange" />
|
||||||
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
|
||||||
<!-- Timeline Slider -->
|
<!-- Timeline Slider -->
|
||||||
@ -320,6 +321,12 @@ const handleTimelineClick = (event: MouseEvent) => {
|
|||||||
color: #555;
|
color: #555;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.datetime-selector {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user