Merge branch 'dev_vite' of http://18.167.251.121:10003/aidlab/aida_front into dev_vite
This commit is contained in:
BIN
src/assets/images/homePage/designTutorial_CN.png
Normal file
BIN
src/assets/images/homePage/designTutorial_CN.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 25 KiB |
BIN
src/assets/images/homePage/designTutorial_EN.png
Normal file
BIN
src/assets/images/homePage/designTutorial_EN.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 27 KiB |
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -333,21 +333,24 @@ export default defineComponent({
|
||||
|
||||
return data
|
||||
},
|
||||
deleteShow(value:any){
|
||||
deleteShow(v:any){
|
||||
// this.options
|
||||
this.labelBor = false
|
||||
for(let index = 0; index<value.length; index++){
|
||||
if(value[index].checkAll){
|
||||
this.labelBor = true
|
||||
// break
|
||||
return
|
||||
const call = (value:any)=> {
|
||||
for(let index = 0; index<value.length; index++){
|
||||
if(value[index].checkAll){
|
||||
this.labelBor = true
|
||||
// break
|
||||
return
|
||||
}
|
||||
if(value[index].childList != null){
|
||||
call(value[index].childList)
|
||||
}
|
||||
}
|
||||
if(value[index].childList != null){
|
||||
this.deleteShow(value[index].childList)
|
||||
}
|
||||
}
|
||||
};
|
||||
call(v)
|
||||
}
|
||||
}
|
||||
},
|
||||
})
|
||||
</script>
|
||||
<style lang="less">
|
||||
|
||||
@@ -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%;
|
||||
|
||||
@@ -242,7 +242,6 @@ export default {
|
||||
jsContent10: "二次创作的作品不允许使用'设计',但是您可以使用'重新设计'",
|
||||
jsContent11: "取消喜欢后相关联的元素会被删除,确认要删除吗",
|
||||
jsContent12: "你确定要删除选中元素和相关元素吗?",
|
||||
jsContent13: "生成的内容需要点击爱心才会储存到自己的库中",
|
||||
},
|
||||
ProductImg: {
|
||||
productInput: "请输入关键词(例如款式、材质)",
|
||||
|
||||
@@ -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)",
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user