generated from duanshuwen/webapp-vue-frontend
feat:: 图片替换
This commit is contained in:
BIN
src/assets/images/no_1.png
Normal file
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
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
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
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
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
BIN
src/assets/images/yes_3.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 36 KiB |
@@ -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>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user