后期修改完善,上线版本

This commit is contained in:
2025-11-12 18:11:11 +08:00
parent c54f9c9976
commit 8f57683dd5
98 changed files with 2110 additions and 867 deletions

View File

@ -17,14 +17,14 @@ export default {
getImageSrc() {
// 如果已经点赞,显示选中的图片
if (this.isActive) {
return '/ToolDetail/icon_comment_selected.png';
return require('/static/ToolDetail/icon_comment_selected.png');
}
// 如果鼠标悬停或点击,显示高亮的图片
if (this.isHovered) {
return '/ToolDetail/icon_comment_selected.png';
return require('/static/ToolDetail/icon_comment_selected.png');
}
// 默认显示普通图片
return '/ToolDetail/icon_comment.png';
return require('/static/ToolDetail/icon_comment.png');
}
},
methods: {
@ -62,7 +62,7 @@ export default {
box-shadow: 0 4px 6px 0 #0000000d;
background: #fff;
padding: 5px;
font-family: 'Poppins-Regular', serif;
font-family: 'Poppins-Regular';
font-size: 12px;
cursor: pointer;
img {