diff --git a/src/components/PhotoSquare.vue b/src/components/PhotoSquare.vue index c2f1a82..4f3d4d4 100644 --- a/src/components/PhotoSquare.vue +++ b/src/components/PhotoSquare.vue @@ -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) => {

{{ ranking }}

-

{{ username }}

+

{{ username }}

{{ likesCount }}赞

@@ -253,8 +253,8 @@ const getBackgroundImage = (item) => { border
{{ rankingInvite }}
-
{{ nameInvite }}
-
{{ linkCountInvite }}赞
+
{{ nameInvite }}
+
@@ -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;