From 6034cdc9c9a2eb3ecda5483d41c80fc51baa84ea Mon Sep 17 00:00:00 2001 From: terwer Date: Sun, 9 Oct 2022 20:15:13 +0800 Subject: [PATCH] =?UTF-8?q?feat:#1=20=E6=96=B0=E5=A2=9E=E5=A4=B4=E9=83=A8?= =?UTF-8?q?=E6=97=A5=E5=8E=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/default/Header.vue | 5 +- components/default/HeaderTime.vue | 70 ++ components/default/HomePostList.vue | 4 +- components/default/Navbar.vue | 7 +- lib/Calendar.ts | 1043 +++++++++++++++++++++++++++ lib/DateUtil.ts | 90 +++ pages/essay.vue | 13 + 7 files changed, 1223 insertions(+), 9 deletions(-) create mode 100644 components/default/HeaderTime.vue create mode 100644 lib/Calendar.ts create mode 100644 lib/DateUtil.ts create mode 100644 pages/essay.vue diff --git a/components/default/Header.vue b/components/default/Header.vue index 7b5618b..634bfef 100644 --- a/components/default/Header.vue +++ b/components/default/Header.vue @@ -8,7 +8,9 @@ - + + + @@ -16,6 +18,7 @@ import Navbar from "~/components/default/Navbar.vue"; import {ElPageHeader} from "element-plus"; import {ArrowLeft} from '@element-plus/icons-vue' +import HeaderTime from "~/components/default/HeaderTime.vue"; const router = useRouter(); const onBack = () => { diff --git a/components/default/HeaderTime.vue b/components/default/HeaderTime.vue new file mode 100644 index 0000000..9ee0474 --- /dev/null +++ b/components/default/HeaderTime.vue @@ -0,0 +1,70 @@ + + + + + + + \ No newline at end of file diff --git a/components/default/HomePostList.vue b/components/default/HomePostList.vue index 82eab32..bdf3195 100644 --- a/components/default/HomePostList.vue +++ b/components/default/HomePostList.vue @@ -1,8 +1,6 @@