fix
This commit is contained in:
@@ -21,7 +21,8 @@ const driverObj__ = driver({
|
||||
{ element: '.Guide_1_7', popover: { title: '', description: 'Click here to layout your moodboard.' } },
|
||||
{ element: '.Guide_1_8', popover: { title: '', description: 'Click here for next step.' } },
|
||||
//以上moodboard
|
||||
{ element: '.Guide_1_2', popover: { title: '', description: 'Upload two print images here' } },
|
||||
{ element: '.Guide_1_2_1', popover: { title: '', description: 'Upload two print images here' } },
|
||||
{ element: '.Guide_1_2_2', popover: { title: '', description: 'Crop the uploaded image here.' } },
|
||||
{ element: '.Guide_1_8', popover: { title: '', description: 'Click here for next step.' } },
|
||||
{ element: '.Guide_1_10', popover: { title: '', description: 'Click here to extract primary colors from image.' } },
|
||||
{ element: '.Guide_1_11', popover: { title: '', description: 'Select the color you want from these color blocks as the first color.' } },
|
||||
@@ -30,9 +31,9 @@ const driverObj__ = driver({
|
||||
{ element: '.Guide_1_11_2', popover: { title: '', description: 'Choose the color you want from these color blocks.' } },
|
||||
|
||||
{ element: '.Guide_1_8', popover: { title: '', description: 'Click here for next step.' } },
|
||||
{ element: '.Guide_1_2', popover: { title: '', description: 'Upload two sketches for your collection on this page' } },
|
||||
{ element: '.Guide_1_9', popover: { title: '', description: 'Upload or select two sketches for your collection on this page.' } },
|
||||
|
||||
{ element: '.Guide_1_13', popover: { title: '', description: 'Upload or select two sketches for your collection on this page.' } },
|
||||
{ element: '.Guide_1_13', popover: { title: '', description: 'Click here to choose a category for the uploaded sketch.' } },
|
||||
{ element: '.Guide_1_13_1', popover: { title: '', description: 'Choose correct category for the sketch.' } },
|
||||
{ element: '.Guide_1_14', popover: { title: '', description: 'After you have confirmed categories of sketches are correct, click here to complete the uploading process.' } },
|
||||
//开始design
|
||||
@@ -46,7 +47,7 @@ const driverObj__ = driver({
|
||||
{ element: '.Guide_1_22', popover: { title: '', description: 'Select a print for this sketch.' } },
|
||||
{ element: '.Guide_1_23', popover: { title: '', description: 'Click here to layout the selected print' } },
|
||||
// { element: '.Guide_1_24', popover: { title: '', description: 'Description' } },
|
||||
{ element: '.Guide_1_25', popover: { title: '', description: 'Preview printed design here.' } },
|
||||
{ element: '.Guide_1_25', popover: { title: '', description: 'Preview printed design here.' ,side: "right",align: 'end' } },
|
||||
{ element: '.Guide_1_26', popover: { title: '', description: 'Click here to finalize your modification.' } },
|
||||
{ element: '.Guide_1_27', popover: { title: '', description: 'You can change the mannequin and other settings in Workspace.' } },
|
||||
{ element: '.Guide_1_28', popover: { title: '', description: 'Change the mannequin here.' } },
|
||||
@@ -67,7 +68,7 @@ const driverObj__ = driver({
|
||||
// prevBtnText: '‹—',
|
||||
doneBtnText: '✕',
|
||||
onPopoverRender: (popover, options) => {//每个步骤的元素和所有信息
|
||||
console.log(popover,options,element);
|
||||
// console.log(popover,options,element);
|
||||
if(element){
|
||||
element.classList.remove('Guide_')
|
||||
}
|
||||
@@ -84,7 +85,6 @@ const driverObj__ = driver({
|
||||
// options.state.activeIndex >= 24 && options.state.activeIndex < 25 ||
|
||||
driverObj__.isLastStep()
|
||||
){
|
||||
console.log(driver);
|
||||
popover.footer.style.display = 'block'
|
||||
popover.footerButtons.style.pointerEvents = 'auto';
|
||||
// driver.classList.add('showEvents')
|
||||
|
||||
Reference in New Issue
Block a user