feat: 调整提示语

This commit is contained in:
pixelmaxQM 2025-04-07 17:20:53 +08:00
parent b0e15b86f5
commit 11748da7a9
1 changed files with 11 additions and 2 deletions

View File

@ -17,8 +17,8 @@
<el-input
v-model="prompt"
:maxlength="2000"
:placeholder="`请大体描述您希望生成的页面`"
:rows="5"
:placeholder="placeholder"
:rows="8"
resize="none"
type="textarea"
@blur="handleBlur"
@ -107,6 +107,15 @@ const llmAutoFunc = async () => {
}
}
const placeholder = ref(`"✨ 请详细描述您想要的页面,例如:
页面用途企业官网/电商页面/个人博客等
需要包含的主要内容板块
偏好的风格简约/科技感/温馨/专业等
需要特别强调的元素
参考网站或配色建议
示例'需要一个科技公司的产品介绍页包含banner轮播图、三栏功能特点展示、客户案例模块喜欢深蓝色调参考苹果官网的简洁风格'"`)
</script>