diff --git a/components/BackToTop.vue b/components/BackToTop.vue deleted file mode 100644 index c6c6e95..0000000 --- a/components/BackToTop.vue +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/components/Common.vue b/components/Common.vue index caf3dbe..117da64 100644 --- a/components/Common.vue +++ b/components/Common.vue @@ -32,8 +32,6 @@ - - @@ -46,11 +44,10 @@ import { resolveSidebarItems } from '../util' import Password from '@theme/components/Password' import Loading from '@theme/components/Loading' import Valine from '@theme/components/Valine/' -import BackToTop from '@theme/components/BackToTop' import { setTimeout } from 'timers' export default { - components: { Sidebar, Navbar, Password, Valine, BackToTop, Loading }, + components: { Sidebar, Navbar, Password, Valine, Loading }, props: ['sidebar', 'isComment'], diff --git a/components/Navbar.vue b/components/Navbar.vue index 8f0a2f3..b788653 100644 --- a/components/Navbar.vue +++ b/components/Navbar.vue @@ -23,7 +23,7 @@ } : {}"> - + @@ -39,10 +39,9 @@ import SearchBox from '@SearchBox' import SidebarButton from '@theme/components/SidebarButton.vue' import NavLinks from '@theme/components/NavLinks.vue' import Theme from '@theme/components/Theme' -import ScreenFull from '@theme/components/ScreenFull' export default { - components: { SidebarButton, NavLinks, SearchBox, AlgoliaSearchBox, Theme, ScreenFull }, + components: { SidebarButton, NavLinks, SearchBox, AlgoliaSearchBox, Theme }, data () { return { @@ -120,6 +119,8 @@ $navbar-horizontal-padding = 1.5rem .search-box flex: 0 0 auto vertical-align top + .screenfull + margin-right 1rem @media (max-width: $MQMobile) .navbar diff --git a/components/Pagation.vue b/components/Pagation.vue deleted file mode 100644 index 8d17a0a..0000000 --- a/components/Pagation.vue +++ /dev/null @@ -1,155 +0,0 @@ - - - - Prev - 1 - ... - {{num}} - ... - {{pages}} - Next - 跳转到: - - GO - - - - - - - diff --git a/components/ScreenFull.vue b/components/ScreenFull.vue deleted file mode 100644 index 1216552..0000000 --- a/components/ScreenFull.vue +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - - - diff --git a/index.js b/index.js index 173cccb..c800c82 100644 --- a/index.js +++ b/index.js @@ -18,6 +18,9 @@ module.exports = (options, ctx) => ({ }, plugins: [ + '@vuepress-reco/vuepress-plugin-back-to-top', + '@vuepress-reco/vuepress-plugin-pagation', + '@vuepress-reco/vuepress-plugin-screenfull', '@vuepress/active-header-links', ['@vuepress/plugin-blog', { permalink: '/:regular' diff --git a/layouts/Category.vue b/layouts/Category.vue index abf0da5..c6e25e6 100644 --- a/layouts/Category.vue +++ b/layouts/Category.vue @@ -36,10 +36,9 @@