From b719d710cba5e89cff1ef50360e96e6915a959a4 Mon Sep 17 00:00:00 2001 From: Nonoas <54799528+Nonoas@users.noreply.github.com> Date: Sat, 6 Jan 2024 11:19:05 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=BE=AE=E4=BF=A1?= =?UTF-8?q?=E5=8D=A1=E7=89=87=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/modules/widgets/aside/wechat.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/modules/widgets/aside/wechat.html b/templates/modules/widgets/aside/wechat.html index 9e5002f2..80539bcd 100644 --- a/templates/modules/widgets/aside/wechat.html +++ b/templates/modules/widgets/aside/wechat.html @@ -17,7 +17,7 @@ th:with="faceImg = ${theme.config.sidebar.wechat.wechatImgFace}, backImg=${theme #aside-content .card-widget#card-wechat::before { position: absolute; width: 100%; - height: 100%; + height: 90%; left: 0; top: 0; background: url([[${theme.config.sidebar.wechat.wechatImg}]]) center center no-repeat; From b4f2dd8d11acaa4c61c762e60d02ce71aeea35b1 Mon Sep 17 00:00:00 2001 From: "1152958806@qq.com" <1152958806@qq.com> Date: Tue, 9 Jan 2024 01:07:53 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dartalk=E8=AF=84=E8=AE=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/assets/js/comment/artalk.js | 11 +++++------ templates/post.html | 6 +++--- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/templates/assets/js/comment/artalk.js b/templates/assets/js/comment/artalk.js index d9acb5c4..88f40c42 100644 --- a/templates/assets/js/comment/artalk.js +++ b/templates/assets/js/comment/artalk.js @@ -12,13 +12,12 @@ }, null)) if (GLOBAL_CONFIG.lightbox === 'null') return - Artalk.use(ctx => { - ctx.on('list-loaded', () => { - ctx.getCommentList().forEach(comment => { - const $content = comment.getRender().$content - btf.loadLightbox($content.querySelectorAll('img:not([atk-emoticon])')) - }) + window.artalkItem.on('list-loaded', () => { + window.artalkItem.ctx.get('list').getCommentNodes().forEach(comment => { + const $content = comment.getRender().$content + btf.loadLightbox($content.querySelectorAll('img:not([atk-emoticon])')) }) + }) } diff --git a/templates/post.html b/templates/post.html index a3c40ca5..6981d9c8 100644 --- a/templates/post.html +++ b/templates/post.html @@ -79,12 +79,12 @@ - + class="post-meta-wechat" th:title=" ${pluginFinder.available('plugin-platforms-sync') && (syncStatus == '同步更新文章成功' || syncStatus == '同步上传文章成功') ? '该文章已在公众号中更新' : '该文章在博客首发'}"> + 博客独享 - + 公众号同步