|
@@ -258,13 +258,13 @@
|
|
|
<div v-show="activeTab === 'summary'" class="content-section summary-section">
|
|
|
<div class="section-header">
|
|
|
<h4>内容摘要</h4>
|
|
|
- <el-button
|
|
|
- text
|
|
|
- class="copy-btn"
|
|
|
- @click="copyToClipboard(selectedResult.content)"
|
|
|
- >
|
|
|
- 📋 复制内容
|
|
|
- </el-button>
|
|
|
+<!-- <el-button-->
|
|
|
+<!-- text-->
|
|
|
+<!-- class="copy-btn"-->
|
|
|
+<!-- @click="copyToClipboard(selectedResult.content)"-->
|
|
|
+<!-- >-->
|
|
|
+<!-- 📋 复制内容-->
|
|
|
+<!-- </el-button>-->
|
|
|
</div>
|
|
|
<div class="summary-content">
|
|
|
{{ selectedResult.content }}
|
|
@@ -274,13 +274,13 @@
|
|
|
<div v-show="activeTab === 'original'" class="content-section original-section">
|
|
|
<div class="section-header">
|
|
|
<h4>完整原文</h4>
|
|
|
- <el-button
|
|
|
- text
|
|
|
- class="copy-btn"
|
|
|
- @click="copyToClipboard(originalContent)"
|
|
|
- >
|
|
|
- 📋 复制原文
|
|
|
- </el-button>
|
|
|
+<!-- <el-button-->
|
|
|
+<!-- text-->
|
|
|
+<!-- class="copy-btn"-->
|
|
|
+<!-- @click="copyToClipboard(originalContent)"-->
|
|
|
+<!-- >-->
|
|
|
+<!-- 📋 复制原文-->
|
|
|
+<!-- </el-button>-->
|
|
|
</div>
|
|
|
<div class="original-content">
|
|
|
<pre>{{ originalContent }}</pre>
|
|
@@ -357,6 +357,7 @@ const copyToClipboard = async (text) => {
|
|
|
await navigator.clipboard.writeText(text);
|
|
|
ElMessage.success('已复制到剪贴板');
|
|
|
} catch (err) {
|
|
|
+ console.log(err)
|
|
|
ElMessage.error('复制失败');
|
|
|
}
|
|
|
};
|
|
@@ -440,7 +441,7 @@ onMounted(() => {
|
|
|
/* 基础样式 */
|
|
|
.app-container {
|
|
|
min-height: 100vh;
|
|
|
- background: linear-gradient(135deg, rgba(102, 126, 234, 0.81) 0%, rgba(118, 75, 162, 0.77) 100%);
|
|
|
+ background: linear-gradient(135deg, rgba(102, 126, 234, 0.6) 0%, rgba(118, 75, 162, 0.4) 100%);
|
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
|
}
|
|
|
|