Compare commits
2 Commits
a6a77a3111
...
d870848926
Author | SHA1 | Date | |
---|---|---|---|
d870848926 | |||
8cd8bb7491 |
@ -210,8 +210,9 @@ const handleTimelineClick = (event: MouseEvent) => {
|
|||||||
<a-date-picker
|
<a-date-picker
|
||||||
:value="selectedDate"
|
:value="selectedDate"
|
||||||
placeholder="请选择回放日期"
|
placeholder="请选择回放日期"
|
||||||
@change="handleDateChange"
|
@change="handleDateChange as any"
|
||||||
style="margin-right: 8px"
|
style="margin-right: 8px"
|
||||||
|
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" />
|
||||||
</a-col>
|
</a-col>
|
||||||
@ -340,3 +341,22 @@ body[data-theme='dark'] {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<style lang="scss">
|
||||||
|
.playback-datepicker-theme {
|
||||||
|
.ant-picker-cell-in-view.ant-picker-cell-today .ant-picker-cell-inner::before {
|
||||||
|
border-color: #0dbb8a !important; /* Today indicator */
|
||||||
|
}
|
||||||
|
.ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner {
|
||||||
|
background-color: #0dbb8a !important; /* Selected date background */
|
||||||
|
}
|
||||||
|
.ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner .ant-picker-calendar-date-value {
|
||||||
|
color: white !important; /* Text color for selected date */
|
||||||
|
}
|
||||||
|
|
||||||
|
.ant-picker-today-btn {
|
||||||
|
color: #0dbb8a !important; /* "Today" button text color */
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
||||||
|
|
||||||
/* Linting */
|
/* Linting */
|
||||||
"strict": true,
|
"strict": false,
|
||||||
"noImplicitAny": false,
|
"noImplicitAny": false,
|
||||||
// "noUnusedLocals": true,
|
// "noUnusedLocals": true,
|
||||||
// "noUnusedParameters": true,
|
// "noUnusedParameters": true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user