| | |
| | | :initial-index="0" |
| | | fit="cover" |
| | | lazy |
| | | /> |
| | | > |
| | | <template #error> |
| | | <div class="image-slot"> |
| | | <el-button type="primary" size="small" @click="$emit('change')" |
| | | >选择图片</el-button |
| | | > |
| | | </div> |
| | | </template> |
| | | </el-image> |
| | | </td> |
| | | </tr> |
| | | <tr v-if="downTitle"> |
| | |
| | | } |
| | | }); |
| | | |
| | | // const unchangeImg = '../../../../assets/image/unchange.png' |
| | | |
| | | const emit = defineEmits(['change']); |
| | | </script> |
| | | <style scoped> |
| | |
| | | border-style: solid; |
| | | border-color: #666666; */ |
| | | } |
| | | |
| | | .image-slot { |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | width: 100%; |
| | | height: 100%; |
| | | background: var(--el-fill-color-light); |
| | | } |
| | | </style> |