From f2490e538458a33929f521878ab4a8e8b23d4dfb Mon Sep 17 00:00:00 2001 From: ruibaby Date: Tue, 14 May 2019 22:58:38 +0800 Subject: [PATCH] Refactor recent comment list. --- src/components/Tools/HeaderComment.vue | 180 ++++++++-------- src/components/global.less | 9 + src/views/dashboard/Dashboard.vue | 138 +++--------- .../dashboard/components/RecentCommentTab.vue | 96 +++++++++ src/views/interface/ThemeList.vue | 78 +++---- src/views/system/OptionForm.vue | 196 +++++++++--------- 6 files changed, 368 insertions(+), 329 deletions(-) create mode 100644 src/views/dashboard/components/RecentCommentTab.vue diff --git a/src/components/Tools/HeaderComment.vue b/src/components/Tools/HeaderComment.vue index 1c6ff3ba..4fd3358c 100644 --- a/src/components/Tools/HeaderComment.vue +++ b/src/components/Tools/HeaderComment.vue @@ -11,95 +11,97 @@ >
- - - - 最近文章 - + + - - 最近评论 - - - - - - -

- - {{ item.createTime | timeAgo }} - -
-
-
+
+ + + + + + + + + + + +
@@ -302,42 +289,16 @@ - - - - - - - - - diff --git a/src/views/interface/ThemeList.vue b/src/views/interface/ThemeList.vue index 538b0c8a..22d180d7 100644 --- a/src/views/interface/ThemeList.vue +++ b/src/views/interface/ThemeList.vue @@ -110,9 +110,7 @@ :src="themeProperty.screenshots" slot="cover" > - + diff --git a/src/views/system/OptionForm.vue b/src/views/system/OptionForm.vue index d580160d..5c1d039a 100644 --- a/src/views/system/OptionForm.vue +++ b/src/views/system/OptionForm.vue @@ -415,104 +415,106 @@ SMTP 服务 - - - - - - - - - - - - - - - - - - - - + + + + - - - - - - - - 保存 - - - - - - - - - - - - - - - - 发送 - - - - + + + + + + + + + + + + + + + + + + + + + + + + 保存 + + + + + + + + + + + + + + + + 发送 + + + + +