diff --git a/src/_base/icon/index.js b/src/_base/icon/index.js deleted file mode 100644 index e98978a09..000000000 --- a/src/_base/icon/index.js +++ /dev/null @@ -1,3 +0,0 @@ -import Icon from './src/Icon.vue' - -export default Icon diff --git a/src/_base/icon/src/Icon.vue b/src/_base/icon/src/Icon.vue deleted file mode 100644 index 7817407b9..000000000 --- a/src/_base/icon/src/Icon.vue +++ /dev/null @@ -1,54 +0,0 @@ - - - diff --git a/src/date-picker/src/panel/commonCalendarMixin.js b/src/date-picker/src/panel/commonCalendarMixin.js index bb846a600..6f9b41888 100644 --- a/src/date-picker/src/panel/commonCalendarMixin.js +++ b/src/date-picker/src/panel/commonCalendarMixin.js @@ -1,4 +1,10 @@ import FocusDetector from '../../../_base/focus-detector' +import { + ArrowRight20Filled as FastForwardIcon, + ArrowLeft20Filled as FastBackwardIcon, + ChevronLeft24Filled as BackwardIcon, + ChevronRight24Filled as ForwardIcon +} from 'vicons/fluent' import { locale } from '../../../_mixins' @@ -21,7 +27,11 @@ export default { } }, components: { - FocusDetector + FocusDetector, + FastForwardIcon, + FastBackwardIcon, + BackwardIcon, + ForwardIcon }, props: { theme: { diff --git a/src/date-picker/src/panel/date.vue b/src/date-picker/src/panel/date.vue index 3ec698079..3bd9d7a75 100644 --- a/src/date-picker/src/panel/date.vue +++ b/src/date-picker/src/panel/date.vue @@ -14,13 +14,13 @@ class="n-date-panel-month__fast-prev" @click="prevYear" > - +
- +
{{ calendarMonth }} {{ calendarYear }} @@ -29,13 +29,13 @@ class="n-date-panel-month__next" @click="nextMonth" > - +
- +
@@ -105,7 +105,7 @@