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="``"
@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
@ -94,7 +117,6 @@
border-radius: 50%;
"
@error="handleAvatarImageError"
@click="viewUserInfo(rankingItem.userId)"
/>
<!-- 情侣2头像 -->
<img
@ -109,7 +131,6 @@
border-radius: 50%;
"
@error="handleAvatarImageError"
@click="viewUserInfo(rankingItem.cpUserId)"
/>
</div>
</div>