Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
mlaj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-06-06 21:26:49 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d60341ae68fd705f3e6276756a658053c0918b4f
d60341ae
1 parent
688f2809
fix(IndexCheckInPage): 将点赞事件从div移至图标元素
修复点赞功能触发区域过大的问题,现在只有点击图标才会触发点赞事件
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
src/views/checkin/IndexCheckInPage.vue
src/views/checkin/IndexCheckInPage.vue
View file @
d60341a
<!--
* @Date: 2025-05-29 15:34:17
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-06-06 2
0:29:45
* @LastEditTime: 2025-06-06 2
1:26:30
* @FilePath: /mlaj/src/views/checkin/IndexCheckInPage.vue
* @Description: 文件描述
-->
...
...
@@ -138,8 +138,8 @@
/>
</div>
</div>
<div class="post-footer"
@click="handLike(post)"
>
<van-icon name="good-job" class="like-icon" :color="post.is_liked ? 'red' : ''" />
<div class="post-footer">
<van-icon
@click="handLike(post)"
name="good-job" class="like-icon" :color="post.is_liked ? 'red' : ''" />
<span class="like-count">{{ post.likes }}</span>
</div>
</div>
...
...
Please
register
or
login
to post a comment