用户指引

This commit is contained in:
X1627315083
2023-12-07 13:23:50 +08:00
parent 43bd815d71
commit 1ffdfba500
15 changed files with 43 additions and 24 deletions

View File

@@ -215,7 +215,7 @@ export default defineComponent({
}else{
hex = '#FFFFFF'
}
this.$parent.selectColor = color?.rgba?.r != '' ? {rgba:{r:color.rgba?.r,g:color.rgba?.g,b:color.rgba?.b,a:color.rgba?.a},hex:hex} : {}
this.$parent.selectColor = color?.rgba?.r ? {rgba:{r:color.rgba?.r,g:color.rgba?.g,b:color.rgba?.b,a:color.rgba?.a},hex:hex} : {rgba:{r:255,g:255,b:255,a:1},hex:hex}
this.$parent.tcxColor = ''
this.$parent.pantongName = ''
},
@@ -261,6 +261,10 @@ export default defineComponent({
data.designSingleItemDTOList[index].printObject.prints = []
}else if(this.type_ == 3){
let color = `${this.$parent.selectColor.rgba.r} ${this.$parent.selectColor.rgba.g} ${this.$parent.selectColor.rgba.b}`
// if(this.$parent.selectColor.rgba.r == undefined){
// return
// }
// console.log(this.$parent.selectColor.rgba);
data.designSingleItemDTOList[index].color = color
}
data.timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone