detail preview可以设置空颜色

This commit is contained in:
X1627315083
2025-05-08 14:09:12 +08:00
parent a4e040d0ff
commit 610e715ca7
30 changed files with 1323 additions and 6496 deletions

View File

@@ -260,8 +260,8 @@ export default defineComponent({
const getSubmitData = (value:any)=>{
let parentNode = document.getElementsByClassName('molepositon')[0].getElementsByClassName("designOpenrtion_imgMask")[0].getBoundingClientRect()
let ratio = detailData.frontBack.body.layersObject[0].imageSize[0]/parentNode.width
let arr:any = sort(detailData.frontBack.front)
// let arr:any = sort(JSON.parse(JSON.stringify(detailData.frontBack.front)))
// let arr:any = sort(detailData.frontBack.front)
let arr:any = sort(JSON.parse(JSON.stringify(detailData.frontBack.front)))
let num = 10
arr.forEach((item:any)=>{
item.priority = num++