update
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 107 KiB After Width: | Height: | Size: 122 KiB |
@@ -260,10 +260,12 @@ const generateImage = async (options) => {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
ElMessage.error(data.message);
|
ElMessage.error(data.message);
|
||||||
|
loading.hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Merge API error:', error);
|
console.error('Merge API error:', error);
|
||||||
|
loading.hide();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -405,6 +407,7 @@ const customUpload = async (options) => {
|
|||||||
onSuccess(data);
|
onSuccess(data);
|
||||||
} else {
|
} else {
|
||||||
ElMessage.error(data.message);
|
ElMessage.error(data.message);
|
||||||
|
loading.hide();
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
|
|||||||
@@ -258,7 +258,7 @@ onUnmounted(() => {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: 24vw;
|
top: 24vw;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%) !important;
|
||||||
width: 65.462963vw;
|
width: 65.462963vw;
|
||||||
height: 19.907407vw;
|
height: 19.907407vw;
|
||||||
background-image: url("../assets/images/lottery-title.webp");
|
background-image: url("../assets/images/lottery-title.webp");
|
||||||
@@ -357,6 +357,7 @@ onUnmounted(() => {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
top: -14vw;
|
top: -14vw;
|
||||||
transform-style: preserve-3d;
|
transform-style: preserve-3d;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -297,7 +297,7 @@ markers.value = [
|
|||||||
}"
|
}"
|
||||||
@click.stop="$emit('go-photo-square')">
|
@click.stop="$emit('go-photo-square')">
|
||||||
</div>
|
</div>
|
||||||
<p class="my-photo-desc">每位会员只能选一张照片参与打榜,点赞前30名即可活动中秋精美礼品,速速邀请好友为你点赞吧!</p>
|
<p class="my-photo-desc">每位会员只能选一张照片参与打榜,点赞前30名即可获得中秋精美礼品,速速邀请好友为你点赞吧!</p>
|
||||||
<div class="image-gallery">
|
<div class="image-gallery">
|
||||||
<!-- <RecycleScroller
|
<!-- <RecycleScroller
|
||||||
class="scroller"
|
class="scroller"
|
||||||
|
|||||||
@@ -133,6 +133,8 @@ const inviteHelp = ()=> {
|
|||||||
fetch('https://huodong2.lzlj.com/api/faceFamily/face/like', {
|
fetch('https://huodong2.lzlj.com/api/faceFamily/face/like', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
|
'Content-Type': 'application/json',
|
||||||
|
Accept: "application/json",
|
||||||
'Authorization': `Bearer ${Storage.get("userinfos").api_token}`
|
'Authorization': `Bearer ${Storage.get("userinfos").api_token}`
|
||||||
},
|
},
|
||||||
body: JSON.stringify(formData)
|
body: JSON.stringify(formData)
|
||||||
|
|||||||
@@ -9,13 +9,14 @@ import Haibao from "@/libs/haibao";
|
|||||||
import mask from "../assets/images/haibao-mask.webp";
|
import mask from "../assets/images/haibao-mask.webp";
|
||||||
import haibaoCoverBorder from "../assets/images/haibao-cover-sucess.webp";
|
import haibaoCoverBorder from "../assets/images/haibao-cover-sucess.webp";
|
||||||
import bg from "../assets/images/haibao-bg.webp"
|
import bg from "../assets/images/haibao-bg.webp"
|
||||||
|
import Lottery from '../components/Lottery.vue';
|
||||||
|
|
||||||
defineProps({
|
defineProps({
|
||||||
show: true
|
show: true
|
||||||
})
|
})
|
||||||
|
|
||||||
const isPopupVisible = ref(false);
|
const isPopupVisible = ref(false);
|
||||||
|
const lotteryShow = ref(false)
|
||||||
|
|
||||||
const chartsBattle = ()=> {
|
const chartsBattle = ()=> {
|
||||||
globalStore.chartsBattle = true;
|
globalStore.chartsBattle = true;
|
||||||
@@ -109,6 +110,11 @@ const handleHaibao = async () => {
|
|||||||
// return userPictureVal;
|
// return userPictureVal;
|
||||||
// }
|
// }
|
||||||
// };
|
// };
|
||||||
|
|
||||||
|
globalToastEvent.on(ToastType.SHOW_LOTTERY, () => {
|
||||||
|
lotteryShow.value = true
|
||||||
|
})
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
@@ -139,6 +145,7 @@ const handleHaibao = async () => {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Popup v-model:show="isPopupVisible" />
|
<Popup v-model:show="isPopupVisible" />
|
||||||
|
<Lottery :show="lotteryShow" @close="lotteryShow = false"></Lottery>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
@@ -172,20 +179,16 @@ const handleHaibao = async () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.fullsection {
|
.fullsection {
|
||||||
position: fixed;
|
position: absolute;
|
||||||
top: 25vw;
|
top: 40vw;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100vw;
|
||||||
height: 100%;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
/* background-color: rgba(0, 0, 0, .7); */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.haibao {
|
.haibao {
|
||||||
position: relative;
|
|
||||||
top: -25vw;
|
|
||||||
width: 70vw;
|
width: 70vw;
|
||||||
height: 119.444444vw;
|
height: 119.444444vw;
|
||||||
background-image: url("../assets/images/haibao-cover.webp");
|
background-image: url("../assets/images/haibao-cover.webp");
|
||||||
|
|||||||
Reference in New Issue
Block a user