Skip to content

Commit

Permalink
fix[Guide]: fixed guide demo bug
Browse files Browse the repository at this point in the history
  • Loading branch information
PanJiaChen committed Apr 3, 2019
1 parent cba0b78 commit 25414f1
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
10 changes: 5 additions & 5 deletions src/layout/components/Navbar.vue
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<template>
<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">
<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" />

<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">
<size-select class="right-menu-item hover-effect" />
<size-select id="size-select" class="right-menu-item hover-effect" />
</el-tooltip>

<lang-select class="right-menu-item hover-effect" />
Expand Down
2 changes: 1 addition & 1 deletion src/layout/components/TagsView/index.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="tags-view-container">
<div id="tags-view-container" class="tags-view-container">
<scroll-pane ref="scrollPane" class="tags-view-wrapper">
<router-link
v-for="tag in visitedViews"
Expand Down
24 changes: 12 additions & 12 deletions src/views/guide/defineSteps.js
Original file line number Diff line number Diff line change
@@ -1,46 +1,46 @@
const steps = [
{
element: '.hamburger-container',
element: '#hamburger-container',
popover: {
title: 'Hamburger',
description: 'Open && Close sidebar',
position: 'bottom'
}
},
{
element: '.breadcrumb-container',
element: '#breadcrumb-container',
popover: {
title: 'Breadcrumb',
description: 'Indicate the current page location',
position: 'bottom'
}
},
{
element: '.screenfull',
element: '#header-search',
popover: {
title: 'Screenfull',
description: 'Bring the page into fullscreen',
title: 'Page Search',
description: 'Page search, quick navigation',
position: 'left'
}
},
{
element: '.international-icon',
element: '#screenfull',
popover: {
title: 'Switch language',
description: 'Switch the system language',
title: 'Screenfull',
description: 'Set the page into fullscreen',
position: 'left'
}
},
{
element: '.theme-switch',
element: '#size-select',
popover: {
title: 'Theme Switch',
description: 'Custom switch system theme',
title: 'Switch Size',
description: 'Switch the system size',
position: 'left'
}
},
{
element: '.tags-view-container',
element: '#tags-view-container',
popover: {
title: 'Tags view',
description: 'The history of the page you visited',
Expand Down

0 comments on commit 25414f1

Please sign in to comment.