fix
This commit is contained in:
@@ -417,6 +417,8 @@ export default defineComponent({
|
|||||||
collItemSize.collStyle.width = (collItemDom.value.offsetWidth - 30) / 3 * collItemSize.scale[0] + 'px'
|
collItemSize.collStyle.width = (collItemDom.value.offsetWidth - 30) / 3 * collItemSize.scale[0] + 'px'
|
||||||
collItemSize.collStyle.height = (collItemDom.value.offsetWidth - 30) / 3 * collItemSize.scale[1] + 'px'
|
collItemSize.collStyle.height = (collItemDom.value.offsetWidth - 30) / 3 * collItemSize.scale[1] + 'px'
|
||||||
|
|
||||||
|
console.log(collItemSize.itemStyle.width,parentWidth,value);
|
||||||
|
|
||||||
collItemSize.likeStyle.width = collItemSize.itemStyle.width + 'px'
|
collItemSize.likeStyle.width = collItemSize.itemStyle.width + 'px'
|
||||||
collItemSize.likeStyle.height = collItemSize.itemStyle.height + 'px'
|
collItemSize.likeStyle.height = collItemSize.itemStyle.height + 'px'
|
||||||
let elArr = likeItemDom.value.children
|
let elArr = likeItemDom.value.children
|
||||||
@@ -820,7 +822,7 @@ export default defineComponent({
|
|||||||
// };
|
// };
|
||||||
// designDetail.showDesignDetailModal(data);
|
// designDetail.showDesignDetailModal(data);
|
||||||
window.addEventListener('resize', this.setDesignItemPosition)
|
window.addEventListener('resize', this.setDesignItemPosition)
|
||||||
this.setSystemDesigner(0)
|
this.setSystemDesigner(500)
|
||||||
this.setDesignItemStyle()
|
this.setDesignItemStyle()
|
||||||
},
|
},
|
||||||
directives:{
|
directives:{
|
||||||
@@ -857,7 +859,7 @@ export default defineComponent({
|
|||||||
// this.likeDesignCollectionList.push(team)
|
// this.likeDesignCollectionList.push(team)
|
||||||
// },
|
// },
|
||||||
setDesignItemPosition(){
|
setDesignItemPosition(){
|
||||||
this.setSystemDesigner(0)
|
this.setSystemDesigner(500)
|
||||||
this.setDesignItemStyle()
|
this.setDesignItemStyle()
|
||||||
},
|
},
|
||||||
affiche(text:any){
|
affiche(text:any){
|
||||||
@@ -992,7 +994,7 @@ export default defineComponent({
|
|||||||
getDesignResult(data:any,str:any){
|
getDesignResult(data:any,str:any){
|
||||||
this.showDesignMark = true
|
this.showDesignMark = true
|
||||||
this.recycleDomHidden = true
|
this.recycleDomHidden = true
|
||||||
this.setSystemDesigner(0)
|
this.setSystemDesigner(500)
|
||||||
Https.axiosGet(Https.httpUrls.getDesignResult,{params:data})
|
Https.axiosGet(Https.httpUrls.getDesignResult,{params:data})
|
||||||
.then(async (rv)=>{
|
.then(async (rv)=>{
|
||||||
if(rv.designCollectionItems){
|
if(rv.designCollectionItems){
|
||||||
@@ -1135,7 +1137,7 @@ export default defineComponent({
|
|||||||
processId:this.designRandom
|
processId:this.designRandom
|
||||||
};
|
};
|
||||||
// data.moodboardPosition = JSON.stringify(this.store.state.UploadFilesModule.moodboardPosition)
|
// data.moodboardPosition = JSON.stringify(this.store.state.UploadFilesModule.moodboardPosition)
|
||||||
this.setSystemDesigner(0)
|
this.setSystemDesigner(500)
|
||||||
this.designFailure = {
|
this.designFailure = {
|
||||||
num:0,
|
num:0,
|
||||||
currentNum:0,
|
currentNum:0,
|
||||||
@@ -1556,7 +1558,7 @@ export default defineComponent({
|
|||||||
setShowHide(str:string){
|
setShowHide(str:string){
|
||||||
if(str == 'recycleDomHidden')this.recycleDomHidden = !this.recycleDomHidden
|
if(str == 'recycleDomHidden')this.recycleDomHidden = !this.recycleDomHidden
|
||||||
if(str == 'domHidden')this.domHidden = !this.domHidden
|
if(str == 'domHidden')this.domHidden = !this.domHidden
|
||||||
this.setSystemDesigner(0)
|
this.setSystemDesigner(500)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user