From 71d7b7e5c4034b40bffa623f57a3806f5244e5fa Mon Sep 17 00:00:00 2001 From: "huanqing.shao" Date: Thu, 14 Nov 2019 23:17:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vuepress/enhanceApp.js | 10 ++++++---- .vuepress/theme/components/Page.vue | 13 +++---------- .vuepress/theme/util/index.js | 2 +- 3 files changed, 10 insertions(+), 15 deletions(-) diff --git a/.vuepress/enhanceApp.js b/.vuepress/enhanceApp.js index 8b1c484..0b3948f 100644 --- a/.vuepress/enhanceApp.js +++ b/.vuepress/enhanceApp.js @@ -63,10 +63,6 @@ export default ({ let sharing = true if (typeof window !== 'undefined') { - AOS.init({ - easing: 'ease-out-back', - duration: 1200 - }); if (location.search && (location.search.indexOf('sharing') >=0 || location.search.indexOf('from=timeline') >= 0)) { sharing = true window.kuboardSharing = true @@ -74,6 +70,12 @@ export default ({ sharing = false window.kuboardSharing = false } + setTimeout(_ => { + AOS.init({ + easing: 'ease-out-back', + duration: 1200 + }); + }, 200) } console.log('sharing', sharing) Vue.prototype.$isSharing = sharing diff --git a/.vuepress/theme/components/Page.vue b/.vuepress/theme/components/Page.vue index 4f4abd5..75696a2 100644 --- a/.vuepress/theme/components/Page.vue +++ b/.vuepress/theme/components/Page.vue @@ -9,14 +9,14 @@ 免费 Kubernetes教程K8S教程,绝不降低品质 -
  • - 给一个 Github Star +
  • + 只要一个 Github Star 就可以鼓励作者尽快完成 剩下的 {{$themeConfig.incompleteRatio}}%
  • - 在线答疑 加群方式见页尾 + 在线答疑 方式见页尾