feat(cp活动): 补充历史榜首点击跳转个人页面

This commit is contained in:
hzj 2026-02-24 11:11:16 +08:00
parent 10c2800d2d
commit a8ab30bafa

View File

@ -65,6 +65,29 @@
:contentStyle="``" :contentStyle="``"
@click="moveToCenter(index)" @click="moveToCenter(index)"
> >
<!-- 点击事件 -->
<div
style="
position: absolute;
z-index: 9;
inset: 0;
display: flex;
justify-content: center;
align-items: center;
"
>
<!-- 情侣1 -->
<div
style="flex: 1; min-width: 0; align-self: stretch"
@click="viewUserInfo(item.userId)"
></div>
<!-- 情侣2 -->
<div
style="flex: 1; min-width: 0; align-self: stretch"
@click="viewUserInfo(item.cpUserId)"
></div>
</div>
<!-- 头像 --> <!-- 头像 -->
<div style="position: relative; width: 100%; height: 100%"> <div style="position: relative; width: 100%; height: 100%">
<div <div
@ -94,7 +117,6 @@
border-radius: 50%; border-radius: 50%;
" "
@error="handleAvatarImageError" @error="handleAvatarImageError"
@click="viewUserInfo(rankingItem.userId)"
/> />
<!-- 情侣2头像 --> <!-- 情侣2头像 -->
<img <img
@ -109,7 +131,6 @@
border-radius: 50%; border-radius: 50%;
" "
@error="handleAvatarImageError" @error="handleAvatarImageError"
@click="viewUserInfo(rankingItem.cpUserId)"
/> />
</div> </div>
</div> </div>