From 5110e3c2ee864a47adaa91b83d843139431eca00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=B3=96=E9=86=8B=E8=99=BE=E4=BB=81?= Date: Thu, 20 Jun 2024 01:53:59 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E8=AF=84=E8=AE=BA=E7=9A=AE=E8=82=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 +- ...ent-and-reply-subcomponents-reply-list.vue | 6 +- src/components/reply-list-item.vue | 76 +++++++++++++++++-- 3 files changed, 75 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 7bf547d..4a052e2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@jx3box/jx3box-comment-ui", - "version": "1.9.4", + "version": "1.9.5", "scripts": { "dev": "env DEV_SERVER=true vue-cli-service serve", "serve": "vue-cli-service serve", @@ -57,4 +57,4 @@ "engines": { "node": ">= 14 < 17" } -} +} \ No newline at end of file diff --git a/src/components/comment-and-reply-subcomponents-reply-list.vue b/src/components/comment-and-reply-subcomponents-reply-list.vue index 91c51d7..6d94f57 100644 --- a/src/components/comment-and-reply-subcomponents-reply-list.vue +++ b/src/components/comment-and-reply-subcomponents-reply-list.vue @@ -44,13 +44,13 @@ export default { components: { ReplyItem, }, - data: function() { + data: function () { return { showPager: false, }; }, filters: { - profileLink: function(uid) { + profileLink: function (uid) { return authorLink(uid); }, }, @@ -88,6 +88,8 @@ export default { border-top: 1px dashed #eee; } .c-comment-reply { + padding-top: 5px; + background-size: cover; &:not(:last-of-type) { border-bottom: 1px dashed #eee; padding-bottom: 10px; diff --git a/src/components/reply-list-item.vue b/src/components/reply-list-item.vue index eab8f7e..67d7e3e 100644 --- a/src/components/reply-list-item.vue +++ b/src/components/reply-list-item.vue @@ -1,5 +1,5 @@