From 0ba6813262fd7a1ce31c3d53e384e4cbaf653a2f Mon Sep 17 00:00:00 2001 From: DCloud_LXH <283700113@qq.com> Date: Mon, 24 Jan 2022 14:59:17 +0800 Subject: [PATCH] update: add link icon --- docs/.vuepress/config.js | 9 ++++++++- docs/.vuepress/theme/styles/footer.styl | 3 ++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 7afb4aa80..4fde36caf 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -8,7 +8,14 @@ const tabs = ['/uniCloud/', '/plugin/', '/worktile/', '/tutorial/', '/collocatio const config = { // base: '/docs/', // TODO use theme - title: 'uni-app', + title: 'uni-app官网', + head: [ + ['link', { + rel: 'shortcut icon', + type: 'image/x-icon', + href: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-a90b5f95-90ba-4d30-a6a7-cd4d057327db/d23e842c-58fc-4574-998d-17fdc7811cc3.png?v=1556263038788' + }] + ], themeConfig: { titleLogo: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/1ae87107-2943-4ba6-be2b-390ca27c6260.png', logo: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-f184e7c3-1912-41b2-b81f-435d1b37c7b4/5a7f902b-21a7-4822-884f-925219eacc4b.png', diff --git a/docs/.vuepress/theme/styles/footer.styl b/docs/.vuepress/theme/styles/footer.styl index bf8e01705..8150c0491 100644 --- a/docs/.vuepress/theme/styles/footer.styl +++ b/docs/.vuepress/theme/styles/footer.styl @@ -10,7 +10,8 @@ $html5Color = #fb6f18 #footNavBox max-width $contentWidth width 100% - margin 30px auto + margin 30px auto 0 + padding-bottom 30px display flex flex-direction column flex-wrap wrap -- GitLab