feat:: 图片替换

This commit is contained in:
2026-04-05 17:09:21 +08:00
parent 674d0b9308
commit d1f7a6039e
7 changed files with 14 additions and 6 deletions

BIN
src/assets/images/no_1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

BIN
src/assets/images/no_2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

BIN
src/assets/images/no_3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

BIN
src/assets/images/yes_1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

BIN
src/assets/images/yes_2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

BIN
src/assets/images/yes_3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

View File

@@ -52,19 +52,27 @@
</template> </template>
<script setup> <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 emit = defineEmits(['start']);
// 测试数据保持不变 // 测试数据保持不变
const correctExamples = [ const correctExamples = [
{ url: 'https://picsum.photos/id/64/200', text: '单人正脸' }, { url: yesImage1, text: '单人正脸' },
{ url: 'https://picsum.photos/id/65/200', text: '多表情' }, { url: yesImage2, text: '多表情' },
{ url: 'https://picsum.photos/id/66/200', text: '多背景' }, { url: yesImage3, text: '多背景' },
]; ];
const errorExamples = [ const errorExamples = [
{ url: 'https://picsum.photos/id/177/200', text: '非清晰正脸' }, { url: noImage1, text: '非清晰正脸' },
{ url: 'https://picsum.photos/id/103/200', text: '面部有遮挡' }, { url: noImage2, text: '面部有遮挡' },
{ url: 'https://picsum.photos/id/104/200', text: '多人合照' }, { url: noImage3, text: '多人合照' },
]; ];
</script> </script>