This commit is contained in:
X1627315083
2023-12-12 13:26:29 +08:00
parent 64deaa0805
commit c70abb9867
4 changed files with 46 additions and 13 deletions

View File

@@ -121,9 +121,19 @@ export default defineComponent({
driverObj__.refresh();
this.record.push({
state:1,
str:'123123123',
driver:true,
str:"Welcome to the AiDA system, your friendly fashion design assistant at your service! If you have any questions or need assistance, please don't hesitate to ask. ",
driver:false,
})
this.textScroll()
setTimeout(() => {
this.record.push({
state:1,
str:"I see you might be new here, and I'd love to guide you through a tutorial to help you get acquainted with our new and improved AiDA system. How does that sound? Would you like to start the tutorial now?",
driver:true,
})
this.textScroll()
}, 1000);
this.driver__Time = setInterval(() => {
this.$nextTick().then(()=>{
driverObj__.refresh();
@@ -134,6 +144,14 @@ export default defineComponent({
}else{
clearTimeout(this.driver__Time)
}
if(!newval.driver){
this.record.push({
state:1,
str:"You can start the tutorial at any time by simply telling me that you want to. ",
driver:false,
})
clearTimeout(this.driver__Time)
}
}
}
},
@@ -307,8 +325,9 @@ export default defineComponent({
driver : false,
}
this.store?.commit("setGuide", data);
this.robotTop = false
this.robotInput = false
// this.robotTop = false
// this.robotInput = false
this.createTimer()
}
},
likeFile(item:any,imgIndex:number,index:number){

View File

@@ -73,6 +73,7 @@ import {useStore} from 'vuex'
import { openGuide,driverObj__ } from "@/tool/guide";
import GO from "@/tool/GO";
import { useI18n } from 'vue-i18n'
import { position } from 'html2canvas/dist/types/css/property-descriptors/position'
export default defineComponent({
components:{
Generate,
@@ -91,6 +92,9 @@ export default defineComponent({
let workspace:any = computed(()=>{
return store.state.Workspace.workspace
})
let position:any = computed(()=>{
return store.state.Workspace.workspacePosition
})
provide('driver__',driver__)
let isShowMark = ref(false)
return {
@@ -98,6 +102,7 @@ export default defineComponent({
workspace,
t,
isShowMark,
position,
}
},
@@ -181,9 +186,13 @@ export default defineComponent({
let numBottom = 0
let top:any
let bottom:any
console.log(this.position);
this.position.forEach((item:any) => {
// let str =
});
if(this.workspace.sexEnum.name == "Female"){
top = ['Outwear','Blouse']
bottom = ['Dress','Trousers','Skirt']
top = ['Outwear','Dress','Blouse']
bottom = ['Trousers','Skirt']
}else{
top = ['Outwear','Tops']
bottom = ['Bottoms']
@@ -201,10 +210,15 @@ export default defineComponent({
}
});
});
if(numTop >= 8 || numBottom >= 8){
// message.warning(this.t('SketchboardUpload.jsContent1'));
if(numTop >= 8){
// let str =
// return
}else if(numBottom >= 8){
return
}
}else{
}
// message.warning(this.t('SketchboardUpload.jsContent1',str:str));
},
//完成
finishCollection(){

View File

@@ -272,7 +272,7 @@ export default {
jsContent1:"Since you have selected multiple images, please click 'Layout' to proceed.",
jsContent2:'The uploaded files will not be saved, being sure to continue? ',
jsContent3:'You must choose one or more colors for further process.',
jsContent4:'You must choose one or more colors for further process.',
jsContent5:"We've detected that the number of pins on your top (blouse and dress) exceeds eight, which may result in some pinned items not being used. Would you like to continue anyway?",
},
DesignDetail:{
Details:'Details',

View File

@@ -14,8 +14,8 @@ let data = {
const driverObj__ = driver({
steps: [
{ element: '.Guide_1_1_1', popover: { title: 'Title', description: 'Description' } },
{ element: '.Guide_1_27', popover: { title: '', description: 'You can personalize your design settings right here in the Workspace, including choosing to design for mens or womens wear, as well as selecting the mannequin to use for your creations.' } },
{ element: '.Guide_1_28', popover: { title: '', description: 'Select the apparel type youd like to work on.', side: "right",align: 'center' } },
{ element: '.Guide_1_27', popover: { title: '', description: "You can personalize your design settings right here in the <strong>Workspace</strong>, including choosing to design for men's or women's wear, as well as selecting the mannequin to use for your creations." } },
{ element: '.Guide_1_28', popover: { title: '', description: "Select the apparel type you'd like to work on.", side: "right",align: 'center' } },
{ element: '.Guide_1_28', popover: { title: '', description: 'Change the mannequin here.', side: "right",align: 'end' } },
{ element: '.Guide_1_29', popover: { title: '', description: 'You can currently select a mannequin from our system library. Later, you can also choose from the user library after registering your own mannequin.' } },
@@ -62,7 +62,7 @@ const driverObj__ = driver({
{ element: '.Guide_1_16', popover: { title: '', description: 'Please wait a few seconds.' } },
{ element: '.Guide_1_17', popover: { title: '', description: 'Click on any design image you are interested in to modify the details.' } },
// { element: '.Guide_1_18', popover: { title: '', description: 'Description' } },
{ element: '.Guide_1_30', popover: { title: '', description: 'Click the Redesign button to generate new results using the selected mannequin.' } },
{ element: '.Guide_1_30', popover: { title: '', description: "Click the 'Redesign' button to generate new results using the selected mannequin." } },
{ element: '.Guide_1_16', popover: { title: '', description: 'Click here to let AI generate design illustrations.' } },
{ element: '.Guide_1_17', popover: { title: '', description: 'Click on any design image you are interested in to modify the details.' } },
{ element: '.Guide_1_19', popover: { title: '', description: 'Click on the clothes to modify its details.' } },