diff --git a/src/store/slides.ts b/src/store/slides.ts index 7a15d30c..4180f388 100644 --- a/src/store/slides.ts +++ b/src/store/slides.ts @@ -53,8 +53,10 @@ export const useSlidesStore = defineStore('slides', { viewportSize: 1000, // 可视区域宽度基数 viewportRatio: 0.5625, // 可视区域比例,默认16:9 templates: [ - { name: '红色通用模板', id: 'template_1', cover: 'https://asset.pptist.cn/img/template_1.jpg' }, - { name: '蓝色通用模板', id: 'template_2', cover: 'https://asset.pptist.cn/img/template_2.jpg' }, + { name: '红色通用', id: 'template_1', cover: 'https://asset.pptist.cn/img/template_1.jpg' }, + { name: '蓝色通用', id: 'template_2', cover: 'https://asset.pptist.cn/img/template_2.jpg' }, + { name: '紫色通用', id: 'template_3', cover: 'https://asset.pptist.cn/img/template_3.jpg' }, + { name: '莫兰迪配色', id: 'template_4', cover: 'https://asset.pptist.cn/img/template_4.jpg' }, ], // 模板 }), diff --git a/src/views/Editor/AIPPTDialog.vue b/src/views/Editor/AIPPTDialog.vue index a0dd6aa4..a4f094f2 100644 --- a/src/views/Editor/AIPPTDialog.vue +++ b/src/views/Editor/AIPPTDialog.vue @@ -22,7 +22,7 @@
-
{{ item }}
+
{{ item }}
选择AI模型:
@@ -116,6 +116,11 @@ onMounted(() => { }, 500) }) +const setKeyword = (value: string) => { + keyword.value = value + inputRef.value!.focus() +} + const createOutline = async () => { if (!keyword.value) return message.error('请先输入PPT主题') @@ -194,8 +199,13 @@ const createPPT = async () => { .title { font-weight: 700; - font-size: 18px; + font-size: 20px; margin-right: 8px; + background: linear-gradient(270deg, #d897fd, #33bcfc); + background-clip: text; + color: transparent; + vertical-align: text-bottom; + line-height: 1.1; } .subtite { color: #888; diff --git a/src/views/Editor/EditorHeader/index.vue b/src/views/Editor/EditorHeader/index.vue index f11c466c..f31b3fd6 100644 --- a/src/views/Editor/EditorHeader/index.vue +++ b/src/views/Editor/EditorHeader/index.vue @@ -57,7 +57,7 @@