【解决todo】资源图片修改为自己的

This commit is contained in:
cherishsince
2024-07-04 16:17:00 +08:00
parent b6ff9ede11
commit edaf30a32b
5 changed files with 5 additions and 7 deletions

BIN
src/assets/ai/dall2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 KiB

BIN
src/assets/ai/dall3.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 133 KiB

BIN
src/assets/ai/qingxi.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

BIN
src/assets/ai/ziran.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

View File

@ -123,33 +123,31 @@ const hotWords = ref<string[]>(['中国旗袍', '古装美女', '卡通头像',
const selectModel = ref<string>('dall-e-3') // 模型 const selectModel = ref<string>('dall-e-3') // 模型
// message // message
const message = useMessage() const message = useMessage()
// TODO @fanimage 改成项目里自己的哈
// TODO @fan这个 image要不看看网上有没合适的图片作为占位符啊哈哈
const models = ref<ImageModelVO[]>([ const models = ref<ImageModelVO[]>([
{ {
key: 'dall-e-3', key: 'dall-e-3',
name: 'DALL·E 3', name: 'DALL·E 3',
image: 'https://h5.cxyhub.com/images/model_2.png', image: `/src/assets/ai/dall2.jpg`,
}, },
{ {
key: 'dall-e-2', key: 'dall-e-2',
name: 'DALL·E 2', name: 'DALL·E 2',
image: 'https://h5.cxyhub.com/images/model_1.png', image: `/src/assets/ai/dall3.jpg`,
}, },
]) // 模型 ]) // 模型
const selectImageStyle = ref<string>('vivid') // style 样式 const selectImageStyle = ref<string>('vivid') // style 样式
// TODO @fanimage 改成项目里自己的哈
const imageStyleList = ref<ImageModelVO[]>([ const imageStyleList = ref<ImageModelVO[]>([
{ {
key: 'vivid', key: 'vivid',
name: '清晰', name: '清晰',
image: 'https://h5.cxyhub.com/images/model_1.png', image: `/src/assets/ai/qingxi.jpg`,
}, },
{ {
key: 'natural', key: 'natural',
name: '自然', name: '自然',
image: 'https://h5.cxyhub.com/images/model_2.png', image: `/src/assets/ai/ziran.jpg`,
}, },
]) // style ]) // style