diff --git a/components/i/search/Content.vue b/components/i/search/Content.vue
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0c0097fa79c97d17f1e1ba18ec5326a14abe43cc 100644
--- a/components/i/search/Content.vue
+++ b/components/i/search/Content.vue
@@ -0,0 +1,115 @@
+
+
+
+
+
+
+
+
+
+
+ 理解问题
+
+
+
+
+
+
+
+
+
+ 搜索项目
+
+
+
+
+
+ 找到 {{ sourceCount }} 条来源
+
+
+
+ 整理答案
+
+
+
+
+
+
+
+
+ {{ item.ansLoading ? '回答中' : '回答' }}
+
+
+
+
+
+
+
+
+
+
+ 来源
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/search/[id].vue b/pages/search/[id].vue
index b8d544c8d776a39b6f1eeebb47884a78cbc2cc77..6f41e7992895669ab970741c58a2a40d4a28c80a 100644
--- a/pages/search/[id].vue
+++ b/pages/search/[id].vue
@@ -35,73 +35,14 @@
{{ item.question }}
-
-
-
-
-
-
-
-
-
- 理解问题
-
-
-
-
-
-
-
-
-
- 搜索项目
-
-
-
-
-
- 找到 {{ sourceCount }} 条来源
-
-
-
- 整理答案
-
-
-
-
-
-
-
-
- {{ item.ansLoading ? '回答中' : '回答' }}
-
-
-
-
-
-
-
-
-
-
- 来源
-
-
-
-
-
+
{
// 在asking操作的时候生效
if (!asking.value || !isAutoToBottom.value) return
@@ -146,8 +86,6 @@ const handleScroll = (event, params) => {
const top = window.scrollY;
if (top < y.value) {
isAutoToBottom.value = false
- } else {
- markedWindowScrollTop = top
}
})
}
@@ -166,23 +104,14 @@ const handleFocusTitle = () => {
const handleBlurTitle = () => {
isEditTitle.value = false
}
-const handleShare = (hash) => {
- useCopyToClipboard().copy(window.location.href + (hash ? '#' + hash : ''))
+function handleShare () {
+ useCopyToClipboard().copy(window.location.href)
toast.add({
icon: 'i-heroicons-information-circle-20-solid',
timeout: 2000,
title: '链接已复制到剪贴板'
})
}
-const handleCopyMD = (index) => {
- const article = data.value[index].article
- useCopyToClipboard().copy(article)
- toast.add({
- icon: 'i-heroicons-information-circle-20-solid',
- timeout: 1000,
- title: '复制成功'
- })
-}
const handleReGenerate = (index) => {
editIndex.value = index
const question = data.value[editIndex.value].question