fix
This commit is contained in:
@@ -121,9 +121,19 @@ export default defineComponent({
|
|||||||
driverObj__.refresh();
|
driverObj__.refresh();
|
||||||
this.record.push({
|
this.record.push({
|
||||||
state:1,
|
state:1,
|
||||||
str:'123123123',
|
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:true,
|
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.driver__Time = setInterval(() => {
|
||||||
this.$nextTick().then(()=>{
|
this.$nextTick().then(()=>{
|
||||||
driverObj__.refresh();
|
driverObj__.refresh();
|
||||||
@@ -134,6 +144,14 @@ export default defineComponent({
|
|||||||
}else{
|
}else{
|
||||||
clearTimeout(this.driver__Time)
|
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,
|
driver : false,
|
||||||
}
|
}
|
||||||
this.store?.commit("setGuide", data);
|
this.store?.commit("setGuide", data);
|
||||||
this.robotTop = false
|
// this.robotTop = false
|
||||||
this.robotInput = false
|
// this.robotInput = false
|
||||||
|
this.createTimer()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
likeFile(item:any,imgIndex:number,index:number){
|
likeFile(item:any,imgIndex:number,index:number){
|
||||||
|
|||||||
@@ -73,6 +73,7 @@ import {useStore} from 'vuex'
|
|||||||
import { openGuide,driverObj__ } from "@/tool/guide";
|
import { openGuide,driverObj__ } from "@/tool/guide";
|
||||||
import GO from "@/tool/GO";
|
import GO from "@/tool/GO";
|
||||||
import { useI18n } from 'vue-i18n'
|
import { useI18n } from 'vue-i18n'
|
||||||
|
import { position } from 'html2canvas/dist/types/css/property-descriptors/position'
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
components:{
|
components:{
|
||||||
Generate,
|
Generate,
|
||||||
@@ -91,6 +92,9 @@ export default defineComponent({
|
|||||||
let workspace:any = computed(()=>{
|
let workspace:any = computed(()=>{
|
||||||
return store.state.Workspace.workspace
|
return store.state.Workspace.workspace
|
||||||
})
|
})
|
||||||
|
let position:any = computed(()=>{
|
||||||
|
return store.state.Workspace.workspacePosition
|
||||||
|
})
|
||||||
provide('driver__',driver__)
|
provide('driver__',driver__)
|
||||||
let isShowMark = ref(false)
|
let isShowMark = ref(false)
|
||||||
return {
|
return {
|
||||||
@@ -98,6 +102,7 @@ export default defineComponent({
|
|||||||
workspace,
|
workspace,
|
||||||
t,
|
t,
|
||||||
isShowMark,
|
isShowMark,
|
||||||
|
position,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -181,9 +186,13 @@ export default defineComponent({
|
|||||||
let numBottom = 0
|
let numBottom = 0
|
||||||
let top:any
|
let top:any
|
||||||
let bottom:any
|
let bottom:any
|
||||||
|
console.log(this.position);
|
||||||
|
this.position.forEach((item:any) => {
|
||||||
|
// let str =
|
||||||
|
});
|
||||||
if(this.workspace.sexEnum.name == "Female"){
|
if(this.workspace.sexEnum.name == "Female"){
|
||||||
top = ['Outwear','Blouse']
|
top = ['Outwear','Dress','Blouse']
|
||||||
bottom = ['Dress','Trousers','Skirt']
|
bottom = ['Trousers','Skirt']
|
||||||
}else{
|
}else{
|
||||||
top = ['Outwear','Tops']
|
top = ['Outwear','Tops']
|
||||||
bottom = ['Bottoms']
|
bottom = ['Bottoms']
|
||||||
@@ -201,10 +210,15 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
if(numTop >= 8 || numBottom >= 8){
|
if(numTop >= 8){
|
||||||
// message.warning(this.t('SketchboardUpload.jsContent1'));
|
// let str =
|
||||||
|
// return
|
||||||
|
}else if(numBottom >= 8){
|
||||||
return
|
return
|
||||||
}
|
}else{
|
||||||
|
|
||||||
|
}
|
||||||
|
// message.warning(this.t('SketchboardUpload.jsContent1',str:str));
|
||||||
},
|
},
|
||||||
//完成
|
//完成
|
||||||
finishCollection(){
|
finishCollection(){
|
||||||
|
|||||||
@@ -272,7 +272,7 @@ export default {
|
|||||||
jsContent1:"Since you have selected multiple images, please click 'Layout' to proceed.",
|
jsContent1:"Since you have selected multiple images, please click 'Layout' to proceed.",
|
||||||
jsContent2:'The uploaded files will not be saved, being sure to continue? ',
|
jsContent2:'The uploaded files will not be saved, being sure to continue? ',
|
||||||
jsContent3:'You must choose one or more colors for further process.',
|
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:{
|
DesignDetail:{
|
||||||
Details:'Details',
|
Details:'Details',
|
||||||
|
|||||||
@@ -14,8 +14,8 @@ let data = {
|
|||||||
const driverObj__ = driver({
|
const driverObj__ = driver({
|
||||||
steps: [
|
steps: [
|
||||||
{ element: '.Guide_1_1_1', popover: { title: 'Title', description: 'Description' } },
|
{ 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 men‘s or women‘s wear, as well as selecting the mannequin to use for your creations.' } },
|
{ 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: "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_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.' } },
|
{ 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_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_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_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_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_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.' } },
|
{ element: '.Guide_1_19', popover: { title: '', description: 'Click on the clothes to modify its details.' } },
|
||||||
|
|||||||
Reference in New Issue
Block a user