|
|
|
@ -130,9 +130,9 @@
|
|
|
|
|
fit="cover" |
|
|
|
|
/> |
|
|
|
|
|
|
|
|
|
<div class="mask"> |
|
|
|
|
<el-icon color="#f00" size="20" class="pointer"> |
|
|
|
|
<CircleCloseFilled /> |
|
|
|
|
<div class="mask" @click="() => handleDelete(item.imgList, index)"> |
|
|
|
|
<el-icon color="#f00" size="16" class="pointer"> |
|
|
|
|
<DeleteFilled /> |
|
|
|
|
</el-icon> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
@ -733,6 +733,10 @@ const handleEmpty = item => {
|
|
|
|
|
}) |
|
|
|
|
.catch(() => {}); |
|
|
|
|
}; |
|
|
|
|
/** 删除单项 */ |
|
|
|
|
const handleDelete = (imgList, index) => { |
|
|
|
|
imgList.splice(index, 1); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
/** 返回 */ |
|
|
|
|
const back = () => { |
|
|
|
@ -866,6 +870,13 @@ const handleSubmit = async () => {
|
|
|
|
|
right: 4px; |
|
|
|
|
opacity: 0; |
|
|
|
|
transition: all 0.3s; |
|
|
|
|
background-color: #fff; |
|
|
|
|
width: 30px; |
|
|
|
|
height: 30px; |
|
|
|
|
display: flex; |
|
|
|
|
align-items: center; |
|
|
|
|
justify-content: center; |
|
|
|
|
border-radius: 50%; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&:hover { |
|
|
|
|