更换design没有liike记录的展示效果,生成的generate进行like传入年龄字段

This commit is contained in:
X1627315083
2025-10-27 15:53:00 +08:00
parent d474af9bf7
commit d0e71de00f
8 changed files with 18 additions and 7 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)=>{
// return
console.log(detailData.selectDetail)
let workspace = store.state.Workspace.probjects
if(!detailData?.selectDetail?.path && !detailData?.selectDetail?.newDetail?.sketch?.minIOPath)return
let clothes:any

View File

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

View File

@@ -150,7 +150,10 @@
</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_item" ref="likeItemDom" designType="like" :index="0">
<!-- likeDesignCollectionList -->
@@ -1348,6 +1351,7 @@ export default defineComponent({
}
return {
store,
locale,
...toRefs(editDesignType),
likeDesignCollectionList,
deleteDesignCollectionList,
@@ -2251,10 +2255,16 @@ export default defineComponent({
}
}
.info{
font-size: 1.2rem;
color: #000000;
margin-left: 2rem;
font-weight: 900;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
> img{
width: 100%;
height: 100%;
object-fit: contain;
}
}
.designPage_body {
width: 100%;

View File

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

View File

@@ -242,7 +242,6 @@ export default {
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?",
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: {
productInput: "Enter keyword(style,texture)",

View File

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