diff --git a/frontend/screenshot-style-select.png b/frontend/screenshot-style-select.png new file mode 100644 index 0000000..dc977f8 Binary files /dev/null and b/frontend/screenshot-style-select.png differ diff --git a/frontend/src/assets/images/style-cartoon-active.png b/frontend/src/assets/images/style-cartoon-active.png deleted file mode 100644 index dcedaa2..0000000 Binary files a/frontend/src/assets/images/style-cartoon-active.png and /dev/null differ diff --git a/frontend/src/assets/images/style-cartoon-normal.png b/frontend/src/assets/images/style-cartoon-normal.png index 686e136..a244a24 100644 Binary files a/frontend/src/assets/images/style-cartoon-normal.png and b/frontend/src/assets/images/style-cartoon-normal.png differ diff --git a/frontend/src/assets/images/style-ink-active.png b/frontend/src/assets/images/style-ink-active.png deleted file mode 100644 index f7d9f9f..0000000 Binary files a/frontend/src/assets/images/style-ink-active.png and /dev/null differ diff --git a/frontend/src/assets/images/style-ink-normal.png b/frontend/src/assets/images/style-ink-normal.png index 0ab62aa..7110fd4 100644 Binary files a/frontend/src/assets/images/style-ink-normal.png and b/frontend/src/assets/images/style-ink-normal.png differ diff --git a/frontend/src/assets/images/style-pencil-active.png b/frontend/src/assets/images/style-pencil-active.png deleted file mode 100644 index e2ee377..0000000 Binary files a/frontend/src/assets/images/style-pencil-active.png and /dev/null differ diff --git a/frontend/src/assets/images/style-pencil-normal.png b/frontend/src/assets/images/style-pencil-normal.png index 9d4b0b5..e011cb9 100644 Binary files a/frontend/src/assets/images/style-pencil-normal.png and b/frontend/src/assets/images/style-pencil-normal.png differ diff --git a/frontend/src/assets/images/style-watercolor-active.png b/frontend/src/assets/images/style-watercolor-active.png deleted file mode 100644 index 6455366..0000000 Binary files a/frontend/src/assets/images/style-watercolor-active.png and /dev/null differ diff --git a/frontend/src/assets/images/style-watercolor-normal.png b/frontend/src/assets/images/style-watercolor-normal.png index cf1cd96..0c6877e 100644 Binary files a/frontend/src/assets/images/style-watercolor-normal.png and b/frontend/src/assets/images/style-watercolor-normal.png differ diff --git a/frontend/src/views/public/create/views/StyleSelectView.vue b/frontend/src/views/public/create/views/StyleSelectView.vue index 0fb4e05..69ab1f5 100644 --- a/frontend/src/views/public/create/views/StyleSelectView.vue +++ b/frontend/src/views/public/create/views/StyleSelectView.vue @@ -27,7 +27,7 @@ export default { name: 'StyleSelectView' }
@@ -60,15 +60,11 @@ import { import PageHeader from '@/components/aicreate/PageHeader.vue' import { useAicreateStore } from '@/stores/aicreate' -// 导入画风图片:{style}-normal.png 未选中,{style}-active.png 选中 +// 导入画风图片 import styleCartoonNormal from '@/assets/images/style-cartoon-normal.png' -import styleCartoonActive from '@/assets/images/style-cartoon-active.png' import styleWatercolorNormal from '@/assets/images/style-watercolor-normal.png' -import styleWatercolorActive from '@/assets/images/style-watercolor-active.png' import styleInkNormal from '@/assets/images/style-ink-normal.png' -import styleInkActive from '@/assets/images/style-ink-active.png' import stylePencilNormal from '@/assets/images/style-pencil-normal.png' -import stylePencilActive from '@/assets/images/style-pencil-active.png' const router = useRouter() const store = useAicreateStore() @@ -78,22 +74,20 @@ interface StyleItem { styleId: string styleName: string desc: string - /** 未选中态图片 */ + /** 风格图片 */ img: string - /** 选中态图片 */ - imgActive: string /** hidden=true 时暂不展示,后续开发开放 */ hidden?: boolean } const styles: StyleItem[] = [ - { styleId: 'style_cartoon', styleName: '卡通风格', desc: '色彩鲜明,充满童趣', img: styleCartoonNormal, imgActive: styleCartoonActive }, - { styleId: 'style_watercolor', styleName: '水彩风格', desc: '柔和透明,梦幻浪漫', img: styleWatercolorNormal, imgActive: styleWatercolorActive }, - { styleId: 'style_ink', styleName: '水墨国风', desc: '古韵悠长,意境深远', img: styleInkNormal, imgActive: styleInkActive }, - { styleId: 'style_pencil', styleName: '彩铅风格', desc: '细腻温暖,自然亲切', img: stylePencilNormal, imgActive: stylePencilActive }, + { styleId: 'style_cartoon', styleName: '卡通风格', desc: '色彩鲜明,充满童趣', img: styleCartoonNormal }, + { styleId: 'style_watercolor', styleName: '水彩风格', desc: '柔和透明,梦幻浪漫', img: styleWatercolorNormal }, + { styleId: 'style_ink', styleName: '水墨国风', desc: '古韵悠长,意境深远', img: styleInkNormal }, + { styleId: 'style_pencil', styleName: '彩铅风格', desc: '细腻温暖,自然亲切', img: stylePencilNormal }, // 油画、剪贴画暂不开放,后续开发后去掉 hidden 即可 - { styleId: 'style_oilpaint', styleName: '油画风格', desc: '色彩浓郁,质感丰富', img: '', imgActive: '', hidden: true }, - { styleId: 'style_collage', styleName: '剪贴画', desc: '趣味拼贴,创意满满', img: '', imgActive: '', hidden: true }, + { styleId: 'style_oilpaint', styleName: '油画风格', desc: '色彩浓郁,质感丰富', img: '', hidden: true }, + { styleId: 'style_collage', styleName: '剪贴画', desc: '趣味拼贴,创意满满', img: '', hidden: true }, ] /** 页面可见的风格列表 */