This commit is contained in:
yixu
2025-09-15 15:42:50 +08:00
parent 718997a7f0
commit eeeebb8be8
2 changed files with 38 additions and 21 deletions

View File

@@ -84,6 +84,10 @@ const toggleBorder = (item, index) => {
};
const handleDabangClick = () => {
if (!mergeId) {
weui.alert("请先合成照片!")
return false;
}
fetch(`https://huodong2.lzlj.com/api/faceFamily/face/publish/${mergeId}`, {
method: 'POST',
headers: {
@@ -278,7 +282,7 @@ markers.value = [
? activeBorderImage : defaultBorderImage"
class="border-image"
alt="border"
@click="!globalStore.chartsBattle && toggleBorder(item, index)"
@click="(!globalStore.chartsBattle && item.result_url !== failedImg) && toggleBorder(item, index)"
/>
</div>
</div>
@@ -366,10 +370,10 @@ markers.value = [
}
.image-wrapper {
position: relative;
margin-bottom: 0;
float: left;
margin-right: 2vw;
margin-left: 2vw;
width: 38vw;
height: 59vw;
}
.border-image {
position: absolute;
@@ -383,8 +387,11 @@ markers.value = [
display: block;
width: 84vw;
height: 57vh;
position: absolute;
top: 26%;
position: relative;
display: flex;
flex-flow: row;
flex-wrap: wrap;
top: 10vw;
}
.image-container {