Skip to content

Commit

Permalink
feat:style & tip
Browse files Browse the repository at this point in the history
  • Loading branch information
iRuxu committed Jan 3, 2024
1 parent c6db290 commit 4538825
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jx3box/jx3box-comment-ui",
"version": "1.8.5",
"version": "1.8.6",
"scripts": {
"dev": "env DEV_SERVER=true vue-cli-service serve",
"serve": "vue-cli-service serve",
Expand Down
1 change: 1 addition & 0 deletions src/Comment.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
@change="changeWhiteList"
v-if="commentPower.is_author || commentPower.is_editor"
active-text="开启过滤"
title="开启过滤后,仅设为显示的评论可被其他人所见"
>
</el-switch>
</div>
Expand Down
10 changes: 3 additions & 7 deletions src/components/comment-and-reply-subcomponents-content.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
class="u-up"
src="../assets/img/heart_1.svg"
alt=""
/>点赞<span class="u-up-count">{{ likesFormat(hasLikeCount) }}</span></el-button
/>点赞<span class="u-like-count">{{ likesFormat(hasLikeCount) }}</span></el-button
>
<el-button
class="u-admin"
Expand Down Expand Up @@ -66,6 +66,7 @@
icon="el-icon-delete"
v-if="canHide"
@click="hideComment()"
title="拉入黑洞后,仅评论者自己独自可见"
>黑洞</el-button
>
<el-button
Expand Down Expand Up @@ -430,13 +431,8 @@ export default {
top: 1px;
margin-right: 5px;
}
.u-up-count{
color:#fba524;
margin-left:3px;
}
.u-like-count {
margin-left: 5px;
margin-left: 3px;
// &:before {
// content: "(";
// }
Expand Down
7 changes: 4 additions & 3 deletions src/components/reply-list-item-comment-content-simple.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
class="u-up"
src="../assets/img/heart_1.svg"
alt=""
/>点赞<span class="u-up-count">{{
/>点赞<span class="u-like-count">{{
likesFormat(hasLikeCount)
}}</span></el-button
>
Expand Down Expand Up @@ -75,6 +75,7 @@
icon="el-icon-delete"
v-if="canHide"
@click="hideComment()"
title="拉入黑洞后,仅评论者自己独自可见"
>
黑洞</el-button
>
Expand Down Expand Up @@ -232,8 +233,8 @@ export default {
top: 1px;
margin-right: 5px;
}
.u-up-count {
color: #fba524;
.u-like-count {
color: #999;
margin-left: 3px;
}
}
Expand Down

0 comments on commit 4538825

Please sign in to comment.