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){