调整detail拉伸sketch但是编辑印花和画布使用的sketch不受影响

This commit is contained in:
X1627315083
2025-09-22 10:29:27 +08:00
parent a1bbc2d166
commit ddcad3c391
24 changed files with 234 additions and 82 deletions

View File

@@ -285,6 +285,7 @@ export default defineComponent({
cursor: pointer;
display: flex;
height: 100%;
font-size: 1.8rem;
}
.fi::before{
padding: 5px;

View File

@@ -41,7 +41,7 @@
<div class="center">{{ selectObject?.styleName?selectObject?.styleName:'All' }}</div>
<div class="gallery_btn" @click="setStyle">{{ $t('Habit.Select') }}</div>
</div>
<!-- <div class="style brand marginBottom">
<div class="style brand marginBottom">
<div class="text">{{$t('Habit.Brand')}}:</div>
<div class="gallery_btn" @click="setBrandDNA">{{ $t('Habit.Select') }}</div>
</div>
@@ -56,7 +56,7 @@
:tip-formatter="formatterBrandDNA"
>
</a-slider>
</div> -->
</div>
<div class="position marginBottom" v-show="show.position" v-if="httpWorkflowType == 'SINGLE_DESIGN'">
<div class="text">
{{$t('Habit.Category')}}:

View File

@@ -408,9 +408,14 @@ export default defineComponent({
if(res.errCode == 0){
file.imgUrl = res.data.url;
file.id = res.data.id
data.fileList.forEach((listItem:any)=>listItem.isChecked = false)
data.fileList.forEach((listItem:any)=>{
if(listItem.id == file.id){
listItem.isChecked = true
}else{
listItem.isChecked = false
}
})
data.currentList.forEach((listItem:any)=>listItem.isChecked = false)
file.isChecked = true
file.type = 'ProductElement'
// if(props.productimgMenu.value == 'Relight'){
// file.type = "ToProductImage"