This commit is contained in:
yixu
2025-09-19 13:12:03 +08:00
parent a84770b4c3
commit 0354cf289d
6 changed files with 19 additions and 10 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 107 KiB

After

Width:  |  Height:  |  Size: 122 KiB

View File

@@ -260,10 +260,12 @@ const generateImage = async (options) => {
}
} else {
ElMessage.error(data.message);
loading.hide();
}
} catch (error) {
console.error('Merge API error:', error);
loading.hide();
}
}
@@ -405,6 +407,7 @@ const customUpload = async (options) => {
onSuccess(data);
} else {
ElMessage.error(data.message);
loading.hide();
}
})
.catch((error) => {

View File

@@ -258,7 +258,7 @@ onUnmounted(() => {
position: absolute;
top: 24vw;
left: 50%;
transform: translateX(-50%);
transform: translateX(-50%) !important;
width: 65.462963vw;
height: 19.907407vw;
background-image: url("../assets/images/lottery-title.webp");
@@ -357,6 +357,7 @@ onUnmounted(() => {
position: absolute;
width: 100%;
height: 100%;
top: -14vw;
transform-style: preserve-3d;
}

View File

@@ -297,7 +297,7 @@ markers.value = [
}"
@click.stop="$emit('go-photo-square')">
</div>
<p class="my-photo-desc">每位会员只能选一张照片参与打榜点赞前30名即可活动中秋精美礼品速速邀请好友为你点赞吧</p>
<p class="my-photo-desc">每位会员只能选一张照片参与打榜点赞前30名即可获得中秋精美礼品速速邀请好友为你点赞吧</p>
<div class="image-gallery">
<!-- <RecycleScroller
class="scroller"

View File

@@ -133,6 +133,8 @@ const inviteHelp = ()=> {
fetch('https://huodong2.lzlj.com/api/faceFamily/face/like', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Accept: "application/json",
'Authorization': `Bearer ${Storage.get("userinfos").api_token}`
},
body: JSON.stringify(formData)

View File

@@ -9,13 +9,14 @@ import Haibao from "@/libs/haibao";
import mask from "../assets/images/haibao-mask.webp";
import haibaoCoverBorder from "../assets/images/haibao-cover-sucess.webp";
import bg from "../assets/images/haibao-bg.webp"
import Lottery from '../components/Lottery.vue';
defineProps({
show: true
})
const isPopupVisible = ref(false);
const lotteryShow = ref(false)
const chartsBattle = ()=> {
globalStore.chartsBattle = true;
@@ -109,6 +110,11 @@ const handleHaibao = async () => {
// return userPictureVal;
// }
// };
globalToastEvent.on(ToastType.SHOW_LOTTERY, () => {
lotteryShow.value = true
})
</script>
<template>
@@ -139,6 +145,7 @@ const handleHaibao = async () => {
</div>
<Popup v-model:show="isPopupVisible" />
<Lottery :show="lotteryShow" @close="lotteryShow = false"></Lottery>
</template>
<style scoped>
@@ -172,20 +179,16 @@ const handleHaibao = async () => {
}
.fullsection {
position: fixed;
top: 25vw;
position: absolute;
top: 40vw;
left: 0;
width: 100%;
height: 100%;
width: 100vw;
display: flex;
justify-content: center;
align-items: center;
/* background-color: rgba(0, 0, 0, .7); */
}
.haibao {
position: relative;
top: -25vw;
width: 70vw;
height: 119.444444vw;
background-image: url("../assets/images/haibao-cover.webp");