From 7d660813627faf2b4d2e8d89dc77edb6e09a63b0 Mon Sep 17 00:00:00 2001 From: jmal Date: Mon, 1 Mar 2021 16:28:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=EF=BC=9A=E7=BD=91=E7=AB=99?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/components/input/UploadImageInput.vue | 28 +++++++++++++++++----- src/styles/setting.scss | 3 --- src/views/setting/articles/blogManager.vue | 19 ++++++++++++--- 4 files changed, 39 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index cf5cb50..fbcba05 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jmal-cloud-view", - "version": "2.1.0", + "version": "2.1.5", "description": "jmal cloud", "author": "Jmal ", "license": "MIT", diff --git a/src/components/input/UploadImageInput.vue b/src/components/input/UploadImageInput.vue index 94be617..065592f 100644 --- a/src/components/input/UploadImageInput.vue +++ b/src/components/input/UploadImageInput.vue @@ -4,8 +4,7 @@
- - + + {{desc}}
图片上传中{{uploadPercentage}}% 图片上传成功 @@ -41,7 +41,7 @@ { return { minRows: 1, maxRows: 6} } + }, + enableSelect: { + type: Boolean, + default: true + }, + enableUrl: { + type: Boolean, + default: true + }, + desc: { + type: String, + default: '' } }, data() { @@ -182,7 +198,7 @@ export default { xhr.send(); }, loadSuccess() { - if(this.timer == null){ + if(this.timer == null && this.enableUrl){ if(this.isLocked){ const that = this this.timer = setTimeout(function (){ diff --git a/src/styles/setting.scss b/src/styles/setting.scss index c413572..d15ccff 100644 --- a/src/styles/setting.scss +++ b/src/styles/setting.scss @@ -80,9 +80,6 @@ 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 7974b4b..cce6ffb 100644 --- a/src/views/setting/articles/blogManager.vue +++ b/src/views/setting/articles/blogManager.vue @@ -21,7 +21,13 @@ - + +
网站图标:
+ + 在线制作ico +
站点名称:
+ + 给您的网站取一个响亮的名字。
站点地址:
在这里填入站点的地址或域名。例如:https://blog.jmal.top @@ -38,8 +44,8 @@ 显示在博客首页大图内的描述。
-
导航栏顶部 - 网站 Logo / 站点名称:
- +
导航栏顶部 - 网站 Logo:
+ 配置网站的 Logo,该选项仅作用于顶部导航条
导航栏操作按钮:
>> .el-button { + padding: 0px 0px; + } +}