8000 区分访客与登录用户点赞操作 by dinphy · Pull Request #328 · kingwrcy/moments · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

区分访客与登录用户点赞操作 #328

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: dev
Choose a base branch
from

Conversation

dinphy
Copy link
Contributor
@dinphy dinphy commented May 7, 2025

close #326

  • 访客仅支持点赞,不允许取消
  • 登录用户支持点赞和取消点赞

这个 PR 做了什么?

功能需求:点赞增加取消和显示用户名称
现在所有人都看不到谁点了赞,希望和微信一样能看到点赞人的名字
无标题
无标题1

dinphy added 3 commits May 7, 2025 14:18
- 访客仅支持点赞,不允许取消
- 登录用户支持点赞和取消点赞
- 点赞和取消点赞后隐藏浮动工具
- 如果有评论,则在点赞列表与评论之间加一条分割线
@xuewenG xuewenG added the feature New feature label May 8, 2025
@xuewenG xuewenG added this to the v0.2.12 milestone May 8, 2025
- 分离登录用户与访客点赞数据
- 统计仅包含访客点赞次数
- 实现访客点赞超过5条时的截断显示与交互
- 调整模板显示逻辑实现分层展示(登录用户优先+访客列表)
@xuewenG xuewenG changed the title feat(like): 重构点赞功能,区分访客与登录用户点赞操作 区分访客与登录用户点赞操作 May 9, 2025
@xuewenG
Copy link
Collaborator
xuewenG commented May 12, 2025

感谢 PR,有时间会 Review 一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

功能需求:点赞增加取消和显示用户名称
2 participants
0