From 788594ce2f142658601f4d52921c911e0274c9f7 Mon Sep 17 00:00:00 2001 From: liuyx <1517482303@qq.com> Date: Tue, 15 Nov 2022 10:47:55 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E9=AA=A8=E6=9E=B6=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/src/assets/scss/style.css | 90 ------------------- .../layout/header/{Header.vue => index.vue} | 0 admin/src/layout/index.vue | 8 +- admin/src/layout/menu/Menu.vue | 39 ++++---- admin/src/router/index.js | 37 +++++++- admin/src/views/about/About.vue | 7 ++ admin/src/views/article/Article.vue | 7 ++ admin/src/views/article/ArticleList.vue | 7 ++ admin/src/views/category/Category.vue | 0 admin/src/views/home/Home.vue | 7 ++ admin/src/views/page/Page.vue | 7 ++ admin/src/views/tag/Tag.vue | 0 admin/src/views/user/User.vue | 7 ++ 13 files changed, 106 insertions(+), 110 deletions(-) delete mode 100644 admin/src/assets/scss/style.css rename admin/src/layout/header/{Header.vue => index.vue} (100%) create mode 100644 admin/src/views/about/About.vue create mode 100644 admin/src/views/article/Article.vue create mode 100644 admin/src/views/article/ArticleList.vue create mode 100644 admin/src/views/category/Category.vue create mode 100644 admin/src/views/home/Home.vue create mode 100644 admin/src/views/page/Page.vue create mode 100644 admin/src/views/tag/Tag.vue create mode 100644 admin/src/views/user/User.vue diff --git a/admin/src/assets/scss/style.css b/admin/src/assets/scss/style.css deleted file mode 100644 index a566a34..0000000 --- a/admin/src/assets/scss/style.css +++ /dev/null @@ -1,90 +0,0 @@ -:root { - font-family: Inter, Avenir, Helvetica, Arial, sans-serif; - font-size: 16px; - line-height: 24px; - font-weight: 400; - - color-scheme: light dark; - color: rgba(255, 255, 255, 0.87); - background-color: #242424; - - font-synthesis: none; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - -webkit-text-size-adjust: 100%; -} - -a { - font-weight: 500; - color: #646cff; - text-decoration: inherit; -} -a:hover { - color: #535bf2; -} - -a { - font-weight: 500; - color: #646cff; - text-decoration: inherit; -} -a:hover { - color: #535bf2; -} - -body { - margin: 0; - display: flex; - place-items: center; - min-width: 320px; - min-height: 100vh; -} - -h1 { - font-size: 3.2em; - line-height: 1.1; -} - -button { - border-radius: 8px; - border: 1px solid transparent; - padding: 0.6em 1.2em; - font-size: 1em; - font-weight: 500; - font-family: inherit; - background-color: #1a1a1a; - cursor: pointer; - transition: border-color 0.25s; -} -button:hover { - border-color: #646cff; -} -button:focus, -button:focus-visible { - outline: 4px auto -webkit-focus-ring-color; -} - -.card { - padding: 2em; -} - -#app { - max-width: 1280px; - margin: 0 auto; - padding: 2rem; - text-align: center; -} - -@media (prefers-color-scheme: light) { - :root { - color: #213547; - background-color: #ffffff; - } - a:hover { - color: #747bff; - } - button { - background-color: #f9f9f9; - } -} diff --git a/admin/src/layout/header/Header.vue b/admin/src/layout/header/index.vue similarity index 100% rename from admin/src/layout/header/Header.vue rename to admin/src/layout/header/index.vue diff --git a/admin/src/layout/index.vue b/admin/src/layout/index.vue index 80ff92e..9b2b765 100644 --- a/admin/src/layout/index.vue +++ b/admin/src/layout/index.vue @@ -5,14 +5,16 @@
- Main + + + + + diff --git a/admin/src/views/article/Article.vue b/admin/src/views/article/Article.vue new file mode 100644 index 0000000..677f24b --- /dev/null +++ b/admin/src/views/article/Article.vue @@ -0,0 +1,7 @@ + + + + + diff --git a/admin/src/views/article/ArticleList.vue b/admin/src/views/article/ArticleList.vue new file mode 100644 index 0000000..677f24b --- /dev/null +++ b/admin/src/views/article/ArticleList.vue @@ -0,0 +1,7 @@ + + + + + diff --git a/admin/src/views/category/Category.vue b/admin/src/views/category/Category.vue new file mode 100644 index 0000000..e69de29 diff --git a/admin/src/views/home/Home.vue b/admin/src/views/home/Home.vue new file mode 100644 index 0000000..d455a69 --- /dev/null +++ b/admin/src/views/home/Home.vue @@ -0,0 +1,7 @@ + + + + + diff --git a/admin/src/views/page/Page.vue b/admin/src/views/page/Page.vue new file mode 100644 index 0000000..677f24b --- /dev/null +++ b/admin/src/views/page/Page.vue @@ -0,0 +1,7 @@ + + + + + diff --git a/admin/src/views/tag/Tag.vue b/admin/src/views/tag/Tag.vue new file mode 100644 index 0000000..e69de29 diff --git a/admin/src/views/user/User.vue b/admin/src/views/user/User.vue new file mode 100644 index 0000000..677f24b --- /dev/null +++ b/admin/src/views/user/User.vue @@ -0,0 +1,7 @@ + + + + +