This commit is contained in:
yixu
2025-09-18 21:47:31 +08:00
parent 31b5e048cc
commit 7f22f7a0c7

View File

@@ -101,7 +101,7 @@ const getInviteInfo = ()=> {
linkCountInvite.value = data.likes_count;
} else {
ElMessage.error(data.message);
emit('update:show', false);
// emit('update:show', false);
}
})
.catch((error) => {
@@ -239,7 +239,7 @@ const getBackgroundImage = (item) => {
<div class="left-group">
<p class="photo-number">{{ ranking }}</p>
<img :src="userImg" class="user-img" alt="">
<p class="photo-name bold">{{ username }}</p>
<p class="photo-name-square bold">{{ username }}</p>
</div>
<p class="right-item photo-name bold" style="padding-left: 3vw;">{{ likesCount }}</p>
</div>
@@ -253,8 +253,8 @@ const getBackgroundImage = (item) => {
<img src="../assets/images/zpgc-border.webp" class="border-image-share" alt="border" />
<div class="flex-container-detail-invite">
<div class="photo-number">{{ rankingInvite }}</div>
<div class="photo-name">{{ nameInvite }}</div>
<div class="right-item photo-name">{{ linkCountInvite }}</div>
<div class="photo-name-invite">{{ nameInvite }}</div>
<div class="link-count-invite">{{ linkCountInvite }}</div>
</div>
</div>
</div>
@@ -302,8 +302,30 @@ const getBackgroundImage = (item) => {
width: 100%;
padding: 0px 13vw;
}
.flex-container-detail-invite .photo-name {
max-width: 24vw;
.photo-name-square {
min-width: 14vw;
max-width: 40vw;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: #93551f;
}
.photo-name-invite {
min-width: 14vw;
max-width: 30vw;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: #93551f;
}
.link-count-invite {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: #93551f;
padding-left: 2vw;
margin-left: auto;
flex-shrink: 0;
}
.left-group-left {
display: flex;