取出材质图片水印

This commit is contained in:
X1627315083
2024-03-28 13:44:05 +08:00
parent 7daed98dfc
commit 214995bdfb
28 changed files with 40 additions and 13 deletions

View File

@@ -268,11 +268,16 @@ export default defineComponent({
}
this.current = JSON?.parse(JSON?.stringify(designItemDetail?.clothes?.[this?.currentIndex]))
}
if(designItemDetail.others[0].layersObject.length != 0){
this.body = false
}else{
this.body = true
}
// if(designItemDetail.others?.[0]?.layersObject?.length != 0){
// this.body = false
// }else{
// this.body = true
// }
if(designItemDetail.singleOverall == 'overall'){
this.body = false
}else{
this.body = true
}
let num = 0
newVal.clothes.forEach((item:any) => {
if(item.id){
@@ -419,11 +424,15 @@ export default defineComponent({
}
})
this.currentIndex = 0
this.store.commit('setDesignItemDetail',rv)
this.removeRevocation()
this.setRevocation(rv,'')
if(rv.others[0].layersObject.length != 0){
// if(rv.others[0].layersObject.length != 0){
// this.body = false
// }else{
// this.body = true
// }
if(rv.singleOverall == 'overall'){
this.body = false
}else{
this.body = true
@@ -774,6 +783,11 @@ export default defineComponent({
let setDesignItem:any = isMoible() ? this.$refs.setDesignItemMobile : this.$refs.setDesignItem
if(this.designShowPrview == 3){
setDesignItem.setImgSize()
}else if(this.designShowPrview == 2){
let magnifyingGlass:any = this.$refs.magnifyingGlass
// magnifyingGlass.showGlass = true
magnifyingGlass.imageUrl = this.designItemDetailUrl
}
// this.others = designItemDetail.others