update
This commit is contained in:
@@ -79,6 +79,7 @@ let inviteCode = '';
|
||||
const rankingInvite = ref(0);
|
||||
const nameInvite = ref('');
|
||||
const linkCountInvite = ref(0);
|
||||
const backgroundImageForInvite = ref('');
|
||||
|
||||
const urlParams = new URLSearchParams(window.location.search);
|
||||
mergeId = urlParams.get('merge_id');
|
||||
@@ -99,6 +100,7 @@ const getInviteInfo = ()=> {
|
||||
rankingInvite.value = data.ranking;
|
||||
nameInvite.value = data.user_name;
|
||||
linkCountInvite.value = data.likes_count;
|
||||
backgroundImageForInvite.value = data.result_url;
|
||||
} else {
|
||||
ElMessage.error(data.message);
|
||||
// emit('update:show', false);
|
||||
@@ -250,7 +252,8 @@ const getBackgroundImage = (item) => {
|
||||
<div v-if="disableInviteHelp" class="share-main">
|
||||
<div class="image-gallery-share">
|
||||
<div class="image-wrapper-share">
|
||||
<div class="image-container-share mask-background">
|
||||
<div class="image-container-share mask-background"
|
||||
:style="{ backgroundImage: `url(${backgroundImageForInvite})` }">
|
||||
</div>
|
||||
<img src="../assets/images/zpgc-border.webp" class="border-image-share" alt="border" />
|
||||
<div class="flex-container-detail-invite">
|
||||
|
||||
Reference in New Issue
Block a user