2023-11-28
This commit is contained in:
@@ -23,6 +23,10 @@ const driverObj__ = driver({
|
||||
{ element: '.Guide_1_8', popover: { title: 'Title', description: 'Description' } },
|
||||
{ element: '.Guide_1_10', popover: { title: 'Title', description: 'Description' } },
|
||||
{ element: '.Guide_1_11', popover: { title: 'Title', description: 'Description' } },
|
||||
|
||||
{ element: '.Guide_1_11_1', popover: { title: 'Title', description: 'Description' } },
|
||||
{ element: '.Guide_1_11', popover: { title: 'Title', description: 'Description' } },
|
||||
|
||||
{ element: '.Guide_1_8', popover: { title: 'Title', description: 'Description' } },
|
||||
{ element: '.Guide_1_2', popover: { title: 'Title', description: 'Description' } },
|
||||
{ element: '.Guide_1_14', popover: { title: 'Title', description: 'Description' } },
|
||||
@@ -59,11 +63,11 @@ const driverObj__ = driver({
|
||||
element.classList.remove('Guide_')
|
||||
}
|
||||
popover.previousButton.style.display = 'none'
|
||||
let driver = document.getElementsByClassName('driver-active')[0]
|
||||
let driver = document.querySelector('body')
|
||||
if(
|
||||
options.state.activeIndex >= 1 && options.state.activeIndex <= 2 ||
|
||||
options.state.activeIndex >= 18 && options.state.activeIndex < 19 ||
|
||||
options.state.activeIndex >= 24 && options.state.activeIndex < 25
|
||||
options.state.activeIndex >= 20 && options.state.activeIndex < 21 ||
|
||||
options.state.activeIndex >= 26 && options.state.activeIndex < 27
|
||||
){
|
||||
popover.footer.style.display = 'block'
|
||||
driver.classList.add('showEvents')
|
||||
@@ -86,7 +90,7 @@ const driverObj__ = driver({
|
||||
},
|
||||
//销毁前
|
||||
onDestroyStarted:()=>{
|
||||
data.driver = false
|
||||
// data.driver = false
|
||||
store?.commit("setGuide", data);
|
||||
driverObj__.destroy();//销毁方法
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user