fix[Guide]: fixed guide demo bug
This commit is contained in:
parent
cba0b789d0
commit
25414f1fd9
|
@ -1,19 +1,19 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="navbar">
|
<div class="navbar">
|
||||||
<hamburger :is-active="sidebar.opened" class="hamburger-container" @toggleClick="toggleSideBar" />
|
<hamburger id="hamburger-container" :is-active="sidebar.opened" class="hamburger-container" @toggleClick="toggleSideBar" />
|
||||||
|
|
||||||
<breadcrumb class="breadcrumb-container" />
|
<breadcrumb id="breadcrumb-container" class="breadcrumb-container" />
|
||||||
|
|
||||||
<div class="right-menu">
|
<div class="right-menu">
|
||||||
<template v-if="device!=='mobile'">
|
<template v-if="device!=='mobile'">
|
||||||
<search class="right-menu-item" />
|
<search class="right-menu-item header-search" />
|
||||||
|
|
||||||
<error-log class="errLog-container right-menu-item hover-effect" />
|
<error-log class="errLog-container right-menu-item hover-effect" />
|
||||||
|
|
||||||
<screenfull class="right-menu-item hover-effect" />
|
<screenfull id="screenfull" class="right-menu-item hover-effect" />
|
||||||
|
|
||||||
<el-tooltip :content="$t('navbar.size')" effect="dark" placement="bottom">
|
<el-tooltip :content="$t('navbar.size')" effect="dark" placement="bottom">
|
||||||
<size-select class="right-menu-item hover-effect" />
|
<size-select id="size-select" class="right-menu-item hover-effect" />
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
|
|
||||||
<lang-select class="right-menu-item hover-effect" />
|
<lang-select class="right-menu-item hover-effect" />
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="tags-view-container">
|
<div id="tags-view-container" class="tags-view-container">
|
||||||
<scroll-pane ref="scrollPane" class="tags-view-wrapper">
|
<scroll-pane ref="scrollPane" class="tags-view-wrapper">
|
||||||
<router-link
|
<router-link
|
||||||
v-for="tag in visitedViews"
|
v-for="tag in visitedViews"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
const steps = [
|
const steps = [
|
||||||
{
|
{
|
||||||
element: '.hamburger-container',
|
element: '#hamburger-container',
|
||||||
popover: {
|
popover: {
|
||||||
title: 'Hamburger',
|
title: 'Hamburger',
|
||||||
description: 'Open && Close sidebar',
|
description: 'Open && Close sidebar',
|
||||||
|
@ -8,7 +8,7 @@ const steps = [
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
element: '.breadcrumb-container',
|
element: '#breadcrumb-container',
|
||||||
popover: {
|
popover: {
|
||||||
title: 'Breadcrumb',
|
title: 'Breadcrumb',
|
||||||
description: 'Indicate the current page location',
|
description: 'Indicate the current page location',
|
||||||
|
@ -16,31 +16,31 @@ const steps = [
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
element: '.screenfull',
|
element: '#header-search',
|
||||||
|
popover: {
|
||||||
|
title: 'Page Search',
|
||||||
|
description: 'Page search, quick navigation',
|
||||||
|
position: 'left'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
element: '#screenfull',
|
||||||
popover: {
|
popover: {
|
||||||
title: 'Screenfull',
|
title: 'Screenfull',
|
||||||
description: 'Bring the page into fullscreen',
|
description: 'Set the page into fullscreen',
|
||||||
position: 'left'
|
position: 'left'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
element: '.international-icon',
|
element: '#size-select',
|
||||||
popover: {
|
popover: {
|
||||||
title: 'Switch language',
|
title: 'Switch Size',
|
||||||
description: 'Switch the system language',
|
description: 'Switch the system size',
|
||||||
position: 'left'
|
position: 'left'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
element: '.theme-switch',
|
element: '#tags-view-container',
|
||||||
popover: {
|
|
||||||
title: 'Theme Switch',
|
|
||||||
description: 'Custom switch system theme',
|
|
||||||
position: 'left'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
element: '.tags-view-container',
|
|
||||||
popover: {
|
popover: {
|
||||||
title: 'Tags view',
|
title: 'Tags view',
|
||||||
description: 'The history of the page you visited',
|
description: 'The history of the page you visited',
|
||||||
|
|
Loading…
Reference in New Issue