From e55ba7a2490fa2d2586da3f534c6a6d708d8162d Mon Sep 17 00:00:00 2001 From: Sergio Crisostomo Date: Wed, 17 Jan 2018 16:40:38 +0100 Subject: [PATCH] Add week numbers --- examples/routers/date.vue | 2 ++ src/components/date-picker/base/date-table.vue | 99 +++++++++++++++++++++++++++++++++------------------------------------------------------------------ src/components/date-picker/panel/Date/date-panel-mixin.js | 4 ++++ src/components/date-picker/panel/Date/date-range.vue | 2 ++ src/components/date-picker/panel/Date/date.vue | 1 + src/components/date-picker/picker.vue | 12 +++++++++--- src/styles/components/date-picker.less | 16 ++++++++++++++-- 7 files changed, 65 insertions(+), 71 deletions(-) diff --git a/examples/routers/date.vue b/examples/routers/date.vue index 39ba84c..1131d79 100644 --- a/examples/routers/date.vue +++ b/examples/routers/date.vue @@ -165,6 +165,8 @@
| Single date, multiple
+ | Single date, multiple, show week numbers +
| Single date, format MM-dd HH:mm
| Single datetime, date object, start date diff --git a/src/components/date-picker/base/date-table.vue b/src/components/date-picker/base/date-table.vue index 12fbb2b..4658d70 100644 --- a/src/components/date-picker/base/date-table.vue +++ b/src/components/date-picker/base/date-table.vue @@ -7,18 +7,19 @@ - {{ cell.text }} + {{ cell.desc }}