From 5b17778beb86f10346156854d2313abf1d0c1b9c Mon Sep 17 00:00:00 2001 From: Terwer Date: Wed, 20 Mar 2019 11:53:59 +0800 Subject: [PATCH 01/11] Add HeaderTime --- .../components/themes/default/HeaderTime.vue | 50 + jvue-front/pages/index.vue | 8 +- jvue-front/util/Calendar.js | 1027 +++++++++++++++++ jvue-front/util/DateUtil.js | 88 ++ jvue-front/util/dom.js | 8 + 5 files changed, 1179 insertions(+), 2 deletions(-) create mode 100644 jvue-front/components/themes/default/HeaderTime.vue create mode 100644 jvue-front/util/Calendar.js create mode 100644 jvue-front/util/DateUtil.js create mode 100644 jvue-front/util/dom.js diff --git a/jvue-front/components/themes/default/HeaderTime.vue b/jvue-front/components/themes/default/HeaderTime.vue new file mode 100644 index 0000000..744f53f --- /dev/null +++ b/jvue-front/components/themes/default/HeaderTime.vue @@ -0,0 +1,50 @@ + + + + + diff --git a/jvue-front/pages/index.vue b/jvue-front/pages/index.vue index 13d8d54..c3d7925 100644 --- a/jvue-front/pages/index.vue +++ b/jvue-front/pages/index.vue @@ -8,6 +8,9 @@ + + +
@@ -35,6 +38,7 @@ From 3e37995540f76324d01efe7694c290161b01dc4e Mon Sep 17 00:00:00 2001 From: Terwer Date: Wed, 20 Mar 2019 13:01:47 +0800 Subject: [PATCH 03/11] Deal with menu --- .../components/themes/default/Header.vue | 27 +++++- .../components/themes/default/HeaderMenu.vue | 95 +++++++++++++++++++ .../components/themes/default/HeaderTime.vue | 16 +++- jvue-front/pages/index.vue | 3 + 4 files changed, 132 insertions(+), 9 deletions(-) create mode 100644 jvue-front/components/themes/default/HeaderMenu.vue diff --git a/jvue-front/components/themes/default/Header.vue b/jvue-front/components/themes/default/Header.vue index adb01c7..b30cb53 100644 --- a/jvue-front/components/themes/default/Header.vue +++ b/jvue-front/components/themes/default/Header.vue @@ -1,6 +1,6 @@