From f0ea9dfc84a2223b0a794f0098af131e4b8b2ecc Mon Sep 17 00:00:00 2001 From: jmal Date: Mon, 1 Mar 2021 14:34:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=EF=BC=9A=E5=BF=83=E8=AF=AD?= =?UTF-8?q?=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/setting-api.js | 8 ++ src/styles/setting.scss | 3 + src/views/setting/articles/blogManager.vue | 126 +++++++++++++++++---- 3 files changed, 118 insertions(+), 19 deletions(-) diff --git a/src/api/setting-api.js b/src/api/setting-api.js index 9af2cdc..c79f26e 100644 --- a/src/api/setting-api.js +++ b/src/api/setting-api.js @@ -66,3 +66,11 @@ export function updateSetting(data) { data }) } + +export function getHeartwings(params) { + return request({ + url: '/website/heartwings', + method: 'get', + params + }) +} diff --git a/src/styles/setting.scss b/src/styles/setting.scss index d15ccff..c413572 100644 --- a/src/styles/setting.scss +++ b/src/styles/setting.scss @@ -80,6 +80,9 @@ a:hover { padding-bottom: 5px; font-size: 14px; font-weight: 500; + >>> .el-button { + padding: 0px 0px; + } } .img-dialog { diff --git a/src/views/setting/articles/blogManager.vue b/src/views/setting/articles/blogManager.vue index de02033..7974b4b 100644 --- a/src/views/setting/articles/blogManager.vue +++ b/src/views/setting/articles/blogManager.vue @@ -4,13 +4,23 @@
- 外观设置 - 保存设置 +
+ 外观设置 + 保存设置 +
+
+
+ + + 返回 + +
+
- +
站点地址:
@@ -18,7 +28,9 @@
站点背景大图:
在这里填入图片的URL地址, 以在网站首页显示一个背景大图。 -
首页大图内文字:
+
首页大图内文字: + 历史记录 +
显示在博客首页大图内的描述。
首页大图内描述:
@@ -30,13 +42,14 @@ 配置网站的 Logo,该选项仅作用于顶部导航条
导航栏操作按钮:
- + 一个操作按钮包含两个部分: Font-awesome 图标标签和链接,使用':'隔开(标签里的内容为该图标的简述)。
- 列如:{{example}}:https://github.com/jamebal (建议不超过5项) + 列如:{{ example }}:https://github.com/jamebal (建议不超过5项)
预览 @@ -44,7 +57,7 @@
  • - {{operatingButton.fontHtml}} + {{ operatingButton.fontHtml }}
  • @@ -59,7 +72,6 @@ 标签 选中项会显示在导航栏中 -
    归档界面背景大图:
    在这里填入图片的URL地址, 以在归档页面显示一个背景大图。 @@ -77,6 +89,20 @@ +
    + +
    @@ -84,16 +110,19 @@