Merge branch 'dev_vite' of http://18.167.251.121:10003/aidlab/aida_front into dev_vite

This commit is contained in:
zhangyh
2025-10-27 16:23:01 +08:00
9 changed files with 32 additions and 18 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

View File

@@ -363,6 +363,7 @@ export default defineComponent({
} }
const getSubmitData = async (str:string)=>{ const getSubmitData = async (str:string)=>{
// return // return
console.log(detailData.selectDetail)
let workspace = store.state.Workspace.probjects let workspace = store.state.Workspace.probjects
if(!detailData?.selectDetail?.path && !detailData?.selectDetail?.newDetail?.sketch?.minIOPath)return if(!detailData?.selectDetail?.path && !detailData?.selectDetail?.newDetail?.sketch?.minIOPath)return
let clothes:any let clothes:any

View File

@@ -1198,6 +1198,7 @@ export default defineComponent({
level1Type: this.type_.type2, level1Type: this.type_.type2,
level2Type: level2Type, level2Type: level2Type,
gender: this.workspace.sex, gender: this.workspace.sex,
ageGroup: this.workspace.ageGroup,
timeZone: Intl.DateTimeFormat().resolvedOptions().timeZone timeZone: Intl.DateTimeFormat().resolvedOptions().timeZone
} }
Https.axiosPost(Https.httpUrls.generateLike, data) Https.axiosPost(Https.httpUrls.generateLike, data)

View File

@@ -333,21 +333,24 @@ export default defineComponent({
return data return data
}, },
deleteShow(value:any){ deleteShow(v:any){
// this.options // this.options
this.labelBor = false this.labelBor = false
for(let index = 0; index<value.length; index++){ const call = (value:any)=> {
if(value[index].checkAll){ for(let index = 0; index<value.length; index++){
this.labelBor = true if(value[index].checkAll){
// break this.labelBor = true
return // break
return
}
if(value[index].childList != null){
call(value[index].childList)
}
} }
if(value[index].childList != null){ };
this.deleteShow(value[index].childList) call(v)
}
}
} }
} },
}) })
</script> </script>
<style lang="less"> <style lang="less">

View File

@@ -150,7 +150,10 @@
</div> </div>
</div> </div>
</div> </div>
<div v-if="likeDesignCollectionList?.length == 0 && designCollectionList?.length > 0" class="info">{{ $t(t('HomeView.jsContent13')) }}</div> <div v-if="likeDesignCollectionList?.length == 0 && designCollectionList?.length > 0" class="info">
<img v-if="locale == 'CHINESE_SIMPLIFIED'" src="@/assets/images/homePage/designTutorial_CN.png" alt="">
<img v-else src="@/assets/images/homePage/designTutorial_EN.png" alt="">
</div>
<div class="right_content_img_block scroll_style active"> <div class="right_content_img_block scroll_style active">
<div class="right_content_img_item" ref="likeItemDom" designType="like" :index="0"> <div class="right_content_img_item" ref="likeItemDom" designType="like" :index="0">
<!-- likeDesignCollectionList --> <!-- likeDesignCollectionList -->
@@ -1348,6 +1351,7 @@ export default defineComponent({
} }
return { return {
store, store,
locale,
...toRefs(editDesignType), ...toRefs(editDesignType),
likeDesignCollectionList, likeDesignCollectionList,
deleteDesignCollectionList, deleteDesignCollectionList,
@@ -2251,10 +2255,16 @@ export default defineComponent({
} }
} }
.info{ .info{
font-size: 1.2rem; position: absolute;
color: #000000; top: 0;
margin-left: 2rem; left: 0;
font-weight: 900; width: 100%;
height: 100%;
> img{
width: 100%;
height: 100%;
object-fit: contain;
}
} }
.designPage_body { .designPage_body {
width: 100%; width: 100%;

View File

@@ -242,7 +242,6 @@ export default {
jsContent10: "二次创作的作品不允许使用'设计',但是您可以使用'重新设计'", jsContent10: "二次创作的作品不允许使用'设计',但是您可以使用'重新设计'",
jsContent11: "取消喜欢后相关联的元素会被删除,确认要删除吗", jsContent11: "取消喜欢后相关联的元素会被删除,确认要删除吗",
jsContent12: "你确定要删除选中元素和相关元素吗?", jsContent12: "你确定要删除选中元素和相关元素吗?",
jsContent13: "生成的内容需要点击爱心才会储存到自己的库中",
}, },
ProductImg: { ProductImg: {
productInput: "请输入关键词(例如款式、材质)", productInput: "请输入关键词(例如款式、材质)",

View File

@@ -242,7 +242,6 @@ export default {
jsContent10: "Re-created works are not allowed to use 'design', but you can use 'redesign'", jsContent10: "Re-created works are not allowed to use 'design', but you can use 'redesign'",
jsContent11: "By unliking this, all connected posts will be deleted. Are you sure you want to continue?", jsContent11: "By unliking this, all connected posts will be deleted. Are you sure you want to continue?",
jsContent12: "Are you sure about deleting the current brand DNA?", jsContent12: "Are you sure about deleting the current brand DNA?",
jsContent13: "The generated content can only be stored in your library by clicking on the heart icon.",
}, },
ProductImg: { ProductImg: {
productInput: "Enter keyword(style,texture)", productInput: "Enter keyword(style,texture)",

View File

@@ -1061,6 +1061,7 @@ export default defineComponent({
level1Type:this.selectCode, level1Type:this.selectCode,
level2Type: designType, level2Type: designType,
gender:this.sex, gender:this.sex,
ageGroup: this.ageGroup,
timeZone: Intl.DateTimeFormat().resolvedOptions().timeZone timeZone: Intl.DateTimeFormat().resolvedOptions().timeZone
} }
Https.axiosPost(Https.httpUrls.generateLike, data).then( Https.axiosPost(Https.httpUrls.generateLike, data).then(