diff --git a/examples/sites/demos/pc/app/date-picker/align-composition-api.vue b/examples/sites/demos/pc/app/date-picker/align-composition-api.vue index 391a97e588..76b3ee515e 100644 --- a/examples/sites/demos/pc/app/date-picker/align-composition-api.vue +++ b/examples/sites/demos/pc/app/date-picker/align-composition-api.vue @@ -31,6 +31,6 @@ const value = ref('') diff --git a/examples/sites/demos/pc/app/date-picker/align.vue b/examples/sites/demos/pc/app/date-picker/align.vue index c7d0095ed0..b031f52c2d 100644 --- a/examples/sites/demos/pc/app/date-picker/align.vue +++ b/examples/sites/demos/pc/app/date-picker/align.vue @@ -39,6 +39,6 @@ export default { diff --git a/examples/sites/demos/pc/app/date-picker/date-range-composition-api.vue b/examples/sites/demos/pc/app/date-picker/date-range-composition-api.vue index 17f2dcbf86..d3fe5b7fe4 100644 --- a/examples/sites/demos/pc/app/date-picker/date-range-composition-api.vue +++ b/examples/sites/demos/pc/app/date-picker/date-range-composition-api.vue @@ -39,6 +39,7 @@ const yearValue = ref('') diff --git a/packages/theme/src/date-table/index.less b/packages/theme/src/date-table/index.less index 73163b53ec..d5e4ac1f3e 100644 --- a/packages/theme/src/date-table/index.less +++ b/packages/theme/src/date-table/index.less @@ -228,7 +228,6 @@ div { margin-left: 4px; margin-right: 4px; - background-color: var(--tv-DateTable-td-bg-color-range-selected); } span { @@ -242,6 +241,9 @@ background-color: var(--tv-DateTable-bg-color-current-select); } } + &.selected.in-range div{ + background-color: var(--tv-DateTable-td-bg-color-range-selected); + } &.week { font-size: 80%;