File tree Expand file tree Collapse file tree 3 files changed +15
-12
lines changed
apps/web/src/components/ai Expand file tree Collapse file tree 3 files changed +15
-12
lines changed Original file line number Diff line number Diff line change 20
20
21
21
</div >
22
22
23
- > 💡 ** [ 302.AI] ( https://share.302.ai/ftIXIE ) ** 是一个按用量付费的企业级 AI 资源平台,提供市场上最新、最全面的 AI 模型和 API,以及多种开箱即用的在线 AI 应用。
23
+ > ** [ 302.AI] ( https://share.302.ai/ftIXIE ) ** 是一个按用量付费的企业级 AI 资源平台,提供市场上最新、最全面的 AI 模型和 API,以及多种开箱即用的在线 AI 应用。
24
24
25
25
## 📝 项目介绍
26
26
27
- ✨ ** Markdown 文档自动即时渲染为微信图文** ,让你不再为微信内容排版而发愁!只要你会基本的 Markdown 语法(现在有了 AI,你甚至不需要会 Markdown),就能做出一篇样式简洁而又美观大方的微信图文。
27
+ ** Markdown 文档自动即时渲染为微信图文** ,让你不再为微信内容排版而发愁!只要你会基本的 Markdown 语法(现在有了 AI,你甚至不需要会 Markdown),就能做出一篇样式简洁而又美观大方的微信图文。
28
28
29
- 🌟 ** 如果这个项目对你有帮助,请给我们点个 Star ⭐️** ,我们会持续更新和维护!
29
+ ** 如果这个项目对你有帮助,请给我们点个 Star ⭐️** ,我们会持续更新和维护!
30
30
31
31
## 🌐 在线编辑器地址
32
32
33
33
[ https://md.doocs.org ] ( https://md.doocs.org )
34
34
35
- > 💡 ** 推荐使用 Chrome 浏览器** ,效果最佳。
35
+ > ** 推荐使用 Chrome 浏览器** ,效果最佳。
36
36
37
37
## 🤔 为何开发这款编辑器
38
38
39
- 🎯 现有的开源微信 Markdown 编辑器样式繁杂,排版过程中往往需要额外调整,影响使用效率。为了解决这一问题,我们打造了一款更加** 简洁、优雅** 的编辑器,提供更流畅的排版体验。
39
+ 现有的开源微信 Markdown 编辑器样式繁杂,排版过程中往往需要额外调整,影响使用效率。为了解决这一问题,我们打造了一款更加** 简洁、优雅** 的编辑器,提供更流畅的排版体验。
40
40
41
- 🤝 欢迎各位朋友随时提交 PR,让这款微信 Markdown 编辑器变得更好!如果你有新的想法,也欢迎在 [ 💬 Discussions 讨论区] ( https://github.com/doocs/md/discussions ) 反馈。
41
+ 欢迎各位朋友随时提交 PR,让这款微信 Markdown 编辑器变得更好!如果你有新的想法,也欢迎在 [ 💬 Discussions 讨论区] ( https://github.com/doocs/md/discussions ) 反馈。
42
42
43
43
## ✨ 功能特性
44
44
Original file line number Diff line number Diff line change 5
5
Copy ,
6
6
Edit ,
7
7
Image as ImageIcon ,
8
+ MessageCircle ,
8
9
Pause ,
9
10
Plus ,
10
11
RefreshCcw ,
@@ -394,13 +395,14 @@ async function sendMessage() {
394
395
<DialogTitle >AI 对话</DialogTitle >
395
396
396
397
<Button
397
- title =" 配置参数"
398
- aria-label =" 配置参数"
398
+ : title =" configVisible ? 'AI 对话' : ' 配置参数' "
399
+ : aria-label =" configVisible ? 'AI 对话' : ' 配置参数' "
399
400
variant =" ghost"
400
401
size =" icon"
401
402
@click =" configVisible = !configVisible"
402
403
>
403
- <Settings class =" h-4 w-4" />
404
+ <MessageCircle v-if =" configVisible" class =" h-4 w-4" />
405
+ <Settings v-else class =" h-4 w-4" />
404
406
</Button >
405
407
406
408
<Button
Original file line number Diff line number Diff line change @@ -535,13 +535,14 @@ function getTimeRemainingClass(index: number): string {
535
535
<DialogTitle >AI 文生图</DialogTitle >
536
536
537
537
<Button
538
- title =" 配置参数"
539
- aria-label =" 配置参数"
538
+ : title =" configVisible ? 'AI 文生图' : ' 配置参数' "
539
+ : aria-label =" configVisible ? 'AI 文生图' : ' 配置参数' "
540
540
variant =" ghost"
541
541
size =" icon"
542
542
@click =" configVisible = !configVisible"
543
543
>
544
- <Settings class =" h-4 w-4" />
544
+ <ImageIcon v-if =" configVisible" class =" h-4 w-4" />
545
+ <Settings v-else class =" h-4 w-4" />
545
546
</Button >
546
547
547
548
<Button
You can’t perform that action at this time.
0 commit comments