feat:: 图片替换

This commit is contained in:
zoujing committed 2026-04-05 17:09:21 +08:00
1 parent 674d0b9308
commit d1f7a6039e
7 files changed
+14 -6

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

+14 -6
View File
@@ -52,19 +52,27 @@
</template>
<script setup>
import yesImage1 from '@/assets/images/yes_1.png';
import yesImage2 from '@/assets/images/yes_2.png';
import yesImage3 from '@/assets/images/yes_3.png';
import noImage1 from '@/assets/images/no_1.png';
import noImage2 from '@/assets/images/no_2.png';
import noImage3 from '@/assets/images/no_3.png';
const emit = defineEmits(['start']);
// 测试数据保持不变
const correctExamples = [
{ url: 'https://picsum.photos/id/64/200', text: '单人正脸' },
{ url: 'https://picsum.photos/id/65/200', text: '多表情' },
{ url: 'https://picsum.photos/id/66/200', text: '多背景' },
{ url: yesImage1, text: '单人正脸' },
{ url: yesImage2, text: '多表情' },
{ url: yesImage3, text: '多背景' },
];
const errorExamples = [
{ url: 'https://picsum.photos/id/177/200', text: '非清晰正脸' },
{ url: 'https://picsum.photos/id/103/200', text: '面部有遮挡' },
{ url: 'https://picsum.photos/id/104/200', text: '多人合照' },
{ url: noImage1, text: '非清晰正脸' },
{ url: noImage2, text: '面部有遮挡' },
{ url: noImage3, text: '多人合照' },
];
</script>