mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
feat(VideoCard): add tick icon for followed uploader (#672)
* feat: 关注标识 close [https://github.com/BewlyBewly/BewlyBewly/issues/671] * refactor(VideoCard): rename `isFollowed` to `followed` * feat: add followed tag to videos in mobile recommendation mode * style(VideoCard): adjust followed tick style * chore: add corresponding documentation for [API.USER.RELATION_MODIFY] --------- Co-authored-by: pengyunfei <pengyunfei@360.cn> Co-authored-by: Hakadao <a578457889743@gmail.com>
This commit is contained in:
@@ -463,6 +463,7 @@ defineExpose({ initData })
|
||||
:cover="video.pic"
|
||||
:author="video.owner.name"
|
||||
:author-face="video.owner.face"
|
||||
:followed="!!video.is_followed"
|
||||
:mid="video.owner.mid"
|
||||
:view="video.stat.view"
|
||||
:danmaku="video.stat.danmaku"
|
||||
@@ -490,6 +491,7 @@ defineExpose({ initData })
|
||||
:cover="`${video.cover}`"
|
||||
:author="video?.mask?.avatar.text"
|
||||
:author-face="video?.mask?.avatar.cover"
|
||||
:followed="video?.bottom_rcmd_reason === '已关注' || video?.bottom_rcmd_reason === '已關注'"
|
||||
:mid="video?.mask?.avatar.up_id "
|
||||
:capsule-text="video?.desc?.split('·')[1]"
|
||||
:bvid="video.bvid"
|
||||
|
||||
Reference in New Issue
Block a user