feat(cp排行榜): 排行榜点击头像进去信息页,修复无伴侣的显示问题

This commit is contained in:
hzj 2026-01-19 22:50:32 +08:00
parent 36d9ce5a4c
commit 66c02efcf7
2 changed files with 5 additions and 2 deletions

View File

@ -144,6 +144,7 @@
border: 1px solid #fefa9f;
"
@error="handleAvatarImageError"
@click="viewUserInfo(item.userId)"
/>
<!-- 情侣2头像 -->
<img
@ -160,6 +161,7 @@
border: 1px solid #fefa9f;
"
@error="handleAvatarImageError"
@click="viewUserInfo(item.cpUserId)"
/>
</div>
</div>

View File

@ -173,10 +173,11 @@
<div v-show="RankingShow" style="height: 25vw"></div>
<!-- 我的排名 -->
<div v-show="RankingShow" style="position: fixed; bottom: 0; z-index: 2">
<div v-show="RankingShow" style="width: 100vw; position: fixed; bottom: 0; z-index: 2">
<!-- 有伴侣和排名 -->
<itemCenter
v-if="myRanking?.cpUserId != ''"
style="width: 100%"
v-if="myRanking?.cpUserId"
:imgUrl="imageUrl('myRankingBg')"
:contentStyle="`padding: 0 5%;justify-content: flex-start;`"
>