新增 删除 衣服

This commit is contained in:
X1627315083
2023-12-13 16:09:17 +08:00
parent e6c8fe3866
commit a0a8ab9a17
27 changed files with 608 additions and 260 deletions

View File

@@ -107,7 +107,7 @@
<i class="fi fi-rs-comments"></i><span class="content_header_des">{{ $t('HomeView.SelectedDesign') }}</span>
</div>
<div class="right_content_export" v-show="likeDesignCollectionList.length">
<div class="button_second" @click="exportCanvas()">
<div class="button_second Guide_1_31" @click="exportCanvas()">
{{ $t('HomeView.Export') }}
</div>
<div
@@ -421,11 +421,8 @@ export default defineComponent({
let collectionModal: any = this.$refs.collectionModal;
this.store.commit("clearAllData");
collectionModal.changeCollectionModal(true);
console.log(this.driver__.driver);
if(this.driver__.driver){
nextTick().then(()=>{
driverObj__.moveNext();
})
}
@@ -902,6 +899,11 @@ export default defineComponent({
let rightContentImgBlock: any = document.querySelector(
"#right_content_img_block"
);
if(this.driver__.driver){
nextTick().then(()=>{
driverObj__.moveNext();
})
}
let a = document.createElement("a");
this.isShowMark = true;
let img:any = []
@@ -941,6 +943,21 @@ export default defineComponent({
num++
}
}
this.likeDesignCollectionList.forEach((item:any)=>{
let nameTail = item?.designOutfitUrl?.split(".").pop().split("?").shift();
let data = {
imgUrl: item.designOutfitUrl,
name:
'result' +
index +
"." +
nameTail,
};
img.push(data);
index++;
})
// a.setAttribute('href', URL.createObjectURL(blob));
// a.setAttribute('download', `collection.png`);
// a.click();
@@ -968,8 +985,10 @@ export default defineComponent({
// });
// }
// );
this.downImg(img);
// console.log(img);
return
this.downImg(img);
},
//打开图片详情