From f74e027292a23e71845b2a426718452d33f20d8f Mon Sep 17 00:00:00 2001 From: liuzhihang Date: Sun, 16 Oct 2022 23:37:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=8E=B7=E5=8F=96=E4=B8=BB?= =?UTF-8?q?=E8=89=B2=E8=B0=83=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- settings.yaml | 10 +++++++++- templates/assets/zhheo/blogex.js | 3 +++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/settings.yaml b/settings.yaml index f7a35b2a..2b1b00da 100644 --- a/settings.yaml +++ b/settings.yaml @@ -445,4 +445,12 @@ spec: - label: 开启 value: true - label: 关闭 - value: false \ No newline at end of file + value: false + - group: test + label: 测试集合属性 + formSchema: + - $formkit: list + name: 集合 + label: 集合 + children: + diff --git a/templates/assets/zhheo/blogex.js b/templates/assets/zhheo/blogex.js index 4b96d2bc..e623f95b 100644 --- a/templates/assets/zhheo/blogex.js +++ b/templates/assets/zhheo/blogex.js @@ -61,6 +61,9 @@ function _typeof(e) { function checkOpen() { } +// https://blog.zhheo.com/p/c86d8f1f.html +// ?imageAve 使用 七牛云获取图片主色调,阿里云 oss 则是 @imageAve +// TODO 可以切换为使用本地 JS 获取色调 function coverColor() { var _document$getElementB, path = null === (_document$getElementB = document.getElementById("post-cover")) || void 0 === _document$getElementB ? void 0 : _document$getElementB.src,