diff --git a/src/components/ArticleRewritePanel.vue b/src/components/ArticleRewritePanel.vue index b11591a..8795733 100644 --- a/src/components/ArticleRewritePanel.vue +++ b/src/components/ArticleRewritePanel.vue @@ -4,7 +4,8 @@

- 🎨 范式润色 + + 范式润色

基于范式规则检查并重写文章句子
@@ -13,7 +14,8 @@
- 📚 当前范式: + + 当前范式: {{ selectedParadigm.icon }} {{ selectedParadigm.name }} @@ -33,7 +35,8 @@

- 📄 原文区 + + 原文区

{{ sentences.length }} 句 @@ -58,8 +61,9 @@ :disabled="isSaving" class="text-xs px-2 py-0.5 rounded bg-green-600 text-white hover:bg-green-500 transition flex items-center gap-1 disabled:opacity-50" > - - 💾 {{ isSaving ? '保存中...' : '保存' }} + + + {{ isSaving ? '保存中...' : '保存' }}
@@ -78,15 +82,18 @@ articleSourceType === 'document' ? 'bg-amber-600 text-white' : 'text-slate-400 hover:text-white']" >文稿库
- - 📄 {{ sourceDocTitle }} + + + {{ sourceDocTitle }}
- 📝 +
+ +

请在下方输入或粘贴文章内容

@@ -105,8 +112,9 @@
-

- 💡 点击句子可选中/取消,选中的句子将被检查 +

+ + 点击句子可选中/取消,选中的句子将被检查

@@ -124,20 +132,23 @@

- 🔍 检查结果 + + 检查结果

- 📋 +
+ +

选中句子后点击「范式检查」

- + AI 正在检查中...
@@ -157,7 +168,9 @@ >
- {{ result.status === 'pass' ? '✅' : result.status === 'warning' ? '⚠️' : '❌' }} + + +

句子 {{ result.sentenceIdx + 1 }}

@@ -172,7 +185,8 @@

- ✨ 重写预览 + + 重写预览

{{ rewrittenSentences.length }} 句 @@ -193,23 +207,28 @@ + > + + 复检 +
- +
+ +

检查完成后点击「AI 重写」

- + AI 正在重写中...
@@ -234,8 +253,9 @@
-

- 💡 点击句子可选中/取消,选中的句子将替换原文 +

+ + 点击句子可选中/取消,选中的句子将替换原文

@@ -267,9 +287,13 @@ class="px-4 py-2 rounded-lg text-sm font-medium text-white transition disabled:opacity-50 disabled:cursor-not-allowed bg-blue-600 hover:bg-blue-500" > - 检查中... + + 检查中... + + + + 范式检查 - 🔍 范式检查
@@ -325,6 +354,7 @@ import { updateDocument, saveDocumentVersion } from '../db/index.js' import ParadigmSelectorModal from './ParadigmSelectorModal.vue' import DocumentSelectorModal from './DocumentSelectorModal.vue' import RequirementParserPanel from './RequirementParserPanel.vue' +import IconLibrary from './icons/IconLibrary.vue' const appStore = useAppStore() const paradigmStore = useParadigmStore()