Skip to content

Commit edaf30a

Browse files
committed
【解决todo】资源图片修改为自己的
1 parent b6ff9ed commit edaf30a

File tree

5 files changed

+5
-7
lines changed

5 files changed

+5
-7
lines changed

src/assets/ai/dall2.jpg

150 KB
Loading

src/assets/ai/dall3.jpg

133 KB
Loading

src/assets/ai/qingxi.jpg

139 KB
Loading

src/assets/ai/ziran.jpg

174 KB
Loading

src/views/ai/image/dall3/index.vue

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -123,33 +123,31 @@ const hotWords = ref<string[]>(['中国旗袍', '古装美女', '卡通头像',
123123
const selectModel = ref<string>('dall-e-3') // 模型
124124
// message
125125
const message = useMessage()
126-
// TODO @fan:image 改成项目里自己的哈
127-
// TODO @fan:这个 image,要不看看网上有没合适的图片,作为占位符,啊哈哈
128126
const models = ref<ImageModelVO[]>([
129127
{
130128
key: 'dall-e-3',
131129
name: 'DALL·E 3',
132-
image: 'https://h5.cxyhub.com/images/model_2.png',
130+
image: `/src/assets/ai/dall2.jpg`,
133131
},
134132
{
135133
key: 'dall-e-2',
136134
name: 'DALL·E 2',
137-
image: 'https://h5.cxyhub.com/images/model_1.png',
135+
image: `/src/assets/ai/dall3.jpg`,
138136
},
139137
]) // 模型
140138
141139
const selectImageStyle = ref<string>('vivid') // style 样式
142-
// TODO @fan:image 改成项目里自己的哈
140+
143141
const imageStyleList = ref<ImageModelVO[]>([
144142
{
145143
key: 'vivid',
146144
name: '清晰',
147-
image: 'https://h5.cxyhub.com/images/model_1.png',
145+
image: `/src/assets/ai/qingxi.jpg`,
148146
},
149147
{
150148
key: 'natural',
151149
name: '自然',
152-
image: 'https://h5.cxyhub.com/images/model_2.png',
150+
image: `/src/assets/ai/ziran.jpg`,
153151
},
154152
]) // style
155153

0 commit comments

Comments
 (0)