diff --git a/app/components/docs/DocsPageHeaderLinks.vue b/app/components/docs/DocsPageHeaderLinks.vue index 30d3567..f00d475 100644 --- a/app/components/docs/DocsPageHeaderLinks.vue +++ b/app/components/docs/DocsPageHeaderLinks.vue @@ -1,5 +1,6 @@ diff --git a/app/layouts/docs.vue b/app/layouts/docs.vue index a94c42e..19c828d 100644 --- a/app/layouts/docs.vue +++ b/app/layouts/docs.vue @@ -23,7 +23,7 @@ -
+
diff --git a/app/pages/blog/[...slug].vue b/app/pages/blog/[...slug].vue index 190472c..1511235 100644 --- a/app/pages/blog/[...slug].vue +++ b/app/pages/blog/[...slug].vue @@ -70,6 +70,7 @@ defineOgImageComponent('Docs', { headline: headline.value }) + const editLink = computed(() => { if (!appConfig.github) { return @@ -99,14 +100,14 @@ const links = computed(() => { return [...links, ...(appConfig.toc?.bottom?.links || [])].filter(Boolean) }) -// ===== 微信分享(测试按钮用)===== -const wxShareActive = ref(false) -// const contentRoot = ref(null) +// // ===== 微信分享(测试按钮用)===== +// const wxShareActive = ref(false) +// // const contentRoot = ref(null) -const shareLink = computed(() => 'https://lijue.me' + decodeURIComponent(path.value)) -const shareTitle = computed(() => title) -const shareDesc = computed(() => description || title) -const shareImg = page?.value?.img +// const shareLink = computed(() => 'https://lijue.me' + decodeURIComponent(path.value)) +// const shareTitle = computed(() => title) +// const shareDesc = computed(() => description || title) +// const shareImg = page?.value?.img // const shareImg = ref('/images/default-blog.jpg') // onMounted(() => { @@ -118,17 +119,17 @@ const shareImg = page?.value?.img // } // }) -// Toast:点击测试分享后给出指引 -const toast = useToast() -function handleShareClick() { - wxShareActive.value = true - toast.add({ - title: '已获取分享接口', - description: '点击右上角分享吧', - duration: 3000, - icon: 'i-lucide-share-2' - }) -} +// // Toast:点击测试分享后给出指引 +// const toast = useToast() +// function handleShareClick() { +// wxShareActive.value = true +// toast.add({ +// title: '已获取分享接口', +// description: '点击右上角分享吧', +// duration: 3000, +// icon: 'i-lucide-share-2' +// }) +// }