From 4799a7ec313ae1c8bb874eee583e9521259fd262 Mon Sep 17 00:00:00 2001 From: ruibaby Date: Tue, 16 Apr 2019 22:01:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E7=BE=8E=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/GlobalFooter/GlobalFooter.vue | 5 +- src/config/router.config.js | 7 +++ src/views/page/PageEdit.vue | 60 +++++++++----------- src/views/page/PageList.vue | 11 +++- src/views/post/PostEdit.vue | 4 -- src/views/system/About.vue | 10 ++++ src/views/system/BackupList.vue | 21 +++++-- src/views/system/OptionForm.vue | 2 +- src/views/user/Profile.vue | 49 ++++++++++------ 9 files changed, 104 insertions(+), 65 deletions(-) create mode 100644 src/views/system/About.vue diff --git a/src/components/GlobalFooter/GlobalFooter.vue b/src/components/GlobalFooter/GlobalFooter.vue index 96014855b..29fa95298 100644 --- a/src/components/GlobalFooter/GlobalFooter.vue +++ b/src/components/GlobalFooter/GlobalFooter.vue @@ -1,7 +1,10 @@ diff --git a/src/config/router.config.js b/src/config/router.config.js index 24db17189..c49036258 100644 --- a/src/config/router.config.js +++ b/src/config/router.config.js @@ -176,6 +176,13 @@ export const asyncRouterMap = [ name: 'ToolList', component: () => import('@/views/system/ToolList'), meta: { title: '小工具', hiddenHeaderContent: false } + }, + { + path: '/system/about', + name: 'About', + component: () => import('@/views/system/About'), + hidden: true, + meta: { title: '关于 Halo', hiddenHeaderContent: false } } ] } diff --git a/src/views/page/PageEdit.vue b/src/views/page/PageEdit.vue index 92cac89e9..d6b705674 100644 --- a/src/views/page/PageEdit.vue +++ b/src/views/page/PageEdit.vue @@ -2,23 +2,17 @@
- -
- -
- 发布 -
- - -
- -
-
+
+ +
+
+ +
@@ -34,17 +28,17 @@

基本设置

- + - + 开启 关闭 @@ -76,11 +70,19 @@ + + + 发布 + 附件库 +
diff --git a/src/views/system/BackupList.vue b/src/views/system/BackupList.vue index ac02afdbf..f1b3c33ea 100644 --- a/src/views/system/BackupList.vue +++ b/src/views/system/BackupList.vue @@ -2,7 +2,10 @@
- + + + 资源文件备份 + 下载 @@ -14,7 +17,10 @@ 备份 - + + + 资源文件备份 + 下载 @@ -26,7 +32,10 @@ 备份 - + + + 文章备份 + 下载 @@ -125,11 +134,8 @@ export default { diff --git a/src/views/system/OptionForm.vue b/src/views/system/OptionForm.vue index 2d68fc800..36834a5bd 100644 --- a/src/views/system/OptionForm.vue +++ b/src/views/system/OptionForm.vue @@ -35,7 +35,7 @@ - SEO设置 + SEO设置 diff --git a/src/views/user/Profile.vue b/src/views/user/Profile.vue index 8ad92d6ca..7a95d0399 100644 --- a/src/views/user/Profile.vue +++ b/src/views/user/Profile.vue @@ -4,23 +4,32 @@
-
- -
+ + +
+ +
+
{{ user.nickname }}
{{ user.description }}

- + + http://localhost:8090 +

+

+ {{ user.email }}

- + {{ counts.establishDays || 0 }} 天

- +
累计发表了 {{ counts.postCount || 0 }} 篇文章。 @@ -37,43 +46,48 @@
- + + + 基本资料 + - + - + - + - + 保存 - + + + 密码 + - + - + - + 确认更改 - + >确认更改 @@ -162,6 +176,7 @@ export default { margin-bottom: 20px; border-radius: 50%; overflow: hidden; + cursor: pointer; img { height: 100%;