From 410d15a954815b3cc6687dd42d96baf40774c6af Mon Sep 17 00:00:00 2001 From: Otto Date: Thu, 12 Oct 2023 23:12:38 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=A1=A5=E5=85=85=E7=94=BB=E5=B8=83?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/c-side-bar.vue | 19 +++- components/ui/checkbox/Checkbox.vue | 24 +++++ components/ui/checkbox/index.ts | 1 + layouts/default.vue | 4 +- nuxt.config.ts | 11 ++- pages/tools/canvas.vue | 137 +++++++++++++++++++++------- pages/tools/index.vue | 21 +++++ 7 files changed, 179 insertions(+), 38 deletions(-) create mode 100644 components/ui/checkbox/Checkbox.vue create mode 100644 components/ui/checkbox/index.ts create mode 100644 pages/tools/index.vue diff --git a/components/c-side-bar.vue b/components/c-side-bar.vue index 5359c3d..917c263 100644 --- a/components/c-side-bar.vue +++ b/components/c-side-bar.vue @@ -70,15 +70,26 @@ + + + + + -

{{ appConfig.website_author_name }}

-

{{ appConfig.website_author_desc }}

+

{{ appConfig.website_author_name }}

+

{{ appConfig.website_author_desc }}

@@ -99,6 +110,8 @@ />
+ +

最近在学 Nuxt.js

diff --git a/components/ui/checkbox/Checkbox.vue b/components/ui/checkbox/Checkbox.vue new file mode 100644 index 0000000..1d947a8 --- /dev/null +++ b/components/ui/checkbox/Checkbox.vue @@ -0,0 +1,24 @@ + + + diff --git a/components/ui/checkbox/index.ts b/components/ui/checkbox/index.ts new file mode 100644 index 0000000..8c28c28 --- /dev/null +++ b/components/ui/checkbox/index.ts @@ -0,0 +1 @@ +export { default as Checkbox } from './Checkbox.vue' diff --git a/layouts/default.vue b/layouts/default.vue index 51cad67..e1d2aa5 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -1,12 +1,12 @@ diff --git a/pages/tools/index.vue b/pages/tools/index.vue new file mode 100644 index 0000000..63ab817 --- /dev/null +++ b/pages/tools/index.vue @@ -0,0 +1,21 @@ + + + +