Merge remote-tracking branch 'origin/StableVersion' into dev_vite
This commit is contained in:
@@ -1989,7 +1989,7 @@ textarea:focus {
|
|||||||
display: flex;
|
display: flex;
|
||||||
float: left;
|
float: left;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 1.5rem 2rem;
|
padding: 1rem 2rem;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
height: auto;
|
height: auto;
|
||||||
|
|||||||
@@ -2057,7 +2057,7 @@ textarea:focus{
|
|||||||
display: flex;
|
display: flex;
|
||||||
float: left;
|
float: left;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 1.5rem 2rem;
|
padding: 1rem 2rem;
|
||||||
// padding-right: 0;
|
// padding-right: 0;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
|||||||
@@ -299,7 +299,8 @@ export default defineComponent({
|
|||||||
// 0.35822305
|
// 0.35822305
|
||||||
// ]
|
// ]
|
||||||
let isCurrent = list[i].id == detailData?.selectDetail?.id
|
let isCurrent = list[i].id == detailData?.selectDetail?.id
|
||||||
let color = (detailData.currentDetailType == 'color' && isCurrent && newData?.rgba?.r)?(newData?.rgba?.r?`${newData.rgba.r} ${newData.rgba.g} ${newData.rgba.b}`:''):(list[i].color?.rgba?.r?`${list[i].color.rgba.r} ${list[i].color.rgba.g} ${list[i].color.rgba.b}`:'')
|
console.log(isCurrent,newData)
|
||||||
|
let color = (detailData.currentDetailType == 'color' && isCurrent)?(newData?.rgba?.r?`${newData.rgba.r} ${newData.rgba.g} ${newData.rgba.b}`:''):(list[i].color?.rgba?.r?`${list[i].color.rgba.r} ${list[i].color.rgba.g} ${list[i].color.rgba.b}`:'')
|
||||||
if(detailData.currentDetailType == 'sketch' && newData){
|
if(detailData.currentDetailType == 'sketch' && newData){
|
||||||
color = detailData.designDetail.clothes[0].color?.rgba?.r?`${detailData.designDetail.clothes[0].color.rgba.r} ${detailData.designDetail.clothes[0].color.rgba.g} ${detailData.designDetail.clothes[0].color.rgba.b}`:''
|
color = detailData.designDetail.clothes[0].color?.rgba?.r?`${detailData.designDetail.clothes[0].color.rgba.r} ${detailData.designDetail.clothes[0].color.rgba.g} ${detailData.designDetail.clothes[0].color.rgba.b}`:''
|
||||||
detailData.selectDetail.maskUrl = ''
|
detailData.selectDetail.maskUrl = ''
|
||||||
|
|||||||
@@ -36,8 +36,7 @@
|
|||||||
</editFrontBack> -->
|
</editFrontBack> -->
|
||||||
<editCanvas v-if="canvasLoad" :config="canvasConfig"
|
<editCanvas v-if="canvasLoad" :config="canvasConfig"
|
||||||
:enabledRedGreenMode="true"
|
:enabledRedGreenMode="true"
|
||||||
@canvasInit="canvasInit"
|
:clothingImageUrl="selectDetail.path"
|
||||||
:clothingImageUrl="selectDetail.undividedLayer || selectDetail.path"
|
|
||||||
:redGreenImageUrl="frontBack.front[imgDomIndex].maskUrl"
|
:redGreenImageUrl="frontBack.front[imgDomIndex].maskUrl"
|
||||||
@trigger-red-green-mouseup="frontBackChange"
|
@trigger-red-green-mouseup="frontBackChange"
|
||||||
:clothing-image-opts="{
|
:clothing-image-opts="{
|
||||||
|
|||||||
@@ -339,7 +339,7 @@ export default defineComponent({
|
|||||||
speed.speedData.value = ''
|
speed.speedData.value = ''
|
||||||
speed.speedData.label = ''
|
speed.speedData.label = ''
|
||||||
}else{
|
}else{
|
||||||
if(newVal.value == "Pattern"){
|
if(newVal.value == "Pattern" || props.msg == 'Sketchboard'){
|
||||||
speed.speedData = speed.speedList[1]
|
speed.speedData = speed.speedList[1]
|
||||||
}else{
|
}else{
|
||||||
speed.speedData = speed.speedList[0]
|
speed.speedData = speed.speedList[0]
|
||||||
@@ -351,6 +351,9 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
instance.appContext.config.globalProperties.$dropdownEvents.onClose(removeOpenSpeed)
|
instance.appContext.config.globalProperties.$dropdownEvents.onClose(removeOpenSpeed)
|
||||||
|
if(props.msg == 'Sketchboard'){
|
||||||
|
speed.speedData = speed.speedList[1]
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
onUnmounted(() => {
|
onUnmounted(() => {
|
||||||
@@ -1009,6 +1012,7 @@ export default defineComponent({
|
|||||||
this.searchPictureName = "";
|
this.searchPictureName = "";
|
||||||
},
|
},
|
||||||
onPaste(e:any){
|
onPaste(e:any){
|
||||||
|
if(this.sketchboardList.length != 0)return
|
||||||
if(e.clipboardData.files[0] && !this.isTextarea && this.upload.level1Type !== 'Moodboard' && this.scene?.value != 'Slogan' && this.scene?.value != 'Logo'){
|
if(e.clipboardData.files[0] && !this.isTextarea && this.upload.level1Type !== 'Moodboard' && this.scene?.value != 'Slogan' && this.scene?.value != 'Logo'){
|
||||||
let param = new FormData();
|
let param = new FormData();
|
||||||
param.append('inPin','0')
|
param.append('inPin','0')
|
||||||
|
|||||||
@@ -441,8 +441,13 @@ export default defineComponent({
|
|||||||
if(userDetail.value.systemList.indexOf(1) == -1){
|
if(userDetail.value.systemList.indexOf(1) == -1){
|
||||||
return message.info(t('newScaleImage.jsContent1'))
|
return message.info(t('newScaleImage.jsContent1'))
|
||||||
}
|
}
|
||||||
return message.info(t('newScaleImage.jsContent2'))
|
|
||||||
|
|
||||||
|
const targetDate = new Date('2025-09-01T00:00:00');
|
||||||
|
// 解析输入日期字符串
|
||||||
|
const inputDate = new Date(imgData.scaleImageData.createDate);
|
||||||
|
if(inputDate < targetDate){
|
||||||
|
return message.info(t('newScaleImage.jsContent2'))
|
||||||
|
}
|
||||||
if(imgData.scaleImageData.openSource == 0){
|
if(imgData.scaleImageData.openSource == 0){
|
||||||
return message.info(t('newScaleImage.jsContent2'))
|
return message.info(t('newScaleImage.jsContent2'))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -857,7 +857,6 @@ export default defineComponent({
|
|||||||
dataDom.createBrand.openAddBrand()
|
dataDom.createBrand.openAddBrand()
|
||||||
}
|
}
|
||||||
const editImg = (item:any,index:number)=>{
|
const editImg = (item:any,index:number)=>{
|
||||||
console.log(item)
|
|
||||||
pageData.editIndex = index
|
pageData.editIndex = index
|
||||||
dataDom.modalCanvas.init(item,'')
|
dataDom.modalCanvas.init(item,'')
|
||||||
// imgList
|
// imgList
|
||||||
@@ -995,7 +994,7 @@ export default defineComponent({
|
|||||||
label:''
|
label:''
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
if(newVal.value == "Pattern"){
|
if(newVal.value == "Pattern" || this.selectCode == 'Sketchboard'){
|
||||||
this.speedData = this.speedList[1]
|
this.speedData = this.speedList[1]
|
||||||
}else{
|
}else{
|
||||||
this.speedData = this.speedList[0]
|
this.speedData = this.speedList[0]
|
||||||
@@ -1935,6 +1934,7 @@ export default defineComponent({
|
|||||||
scaleImage.init(list,index)
|
scaleImage.init(list,index)
|
||||||
},
|
},
|
||||||
onPaste(e:any){
|
onPaste(e:any){
|
||||||
|
if(this.selectGenerateList.length != 0)return
|
||||||
if(e.clipboardData.files[0] && !this.isTextarea && this.selectCode !== 'Moodboard' && this.scene?.value != 'Slogan' && this.scene?.value != 'Logo'){
|
if(e.clipboardData.files[0] && !this.isTextarea && this.selectCode !== 'Moodboard' && this.scene?.value != 'Slogan' && this.scene?.value != 'Logo'){
|
||||||
let param = new FormData();
|
let param = new FormData();
|
||||||
param.append('inPin','0')
|
param.append('inPin','0')
|
||||||
|
|||||||
Reference in New Issue
Block a user