|
@@ -115,7 +115,6 @@ export default {
|
|
|
if (imgList.length > 0) {//有图片先上传图片
|
|
|
this.$store.commit('handleToggleShow', true);
|
|
|
for (let i = 0; i < imgList.length; i++) {
|
|
|
- alert(imgList[i].file.size,1111111)
|
|
|
let pageFile = imgList[i].file
|
|
|
formData.append('upfiles', imgList[i].file);
|
|
|
// formData.append('upfile', imgList[i].file);
|
|
@@ -238,7 +237,6 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
defaultWaring(res){
|
|
|
- alert(JSON.stringify(res))
|
|
|
this.$store.commit('handleToggleShow', false);
|
|
|
this.showType = 'fail'
|
|
|
this.submit = true
|
|
@@ -278,8 +276,13 @@ export default {
|
|
|
border: 1px solid #dfe0e4;
|
|
|
margin: 0 0.2rem 0.3rem 0;
|
|
|
box-sizing: border-box;
|
|
|
+ position: relative;
|
|
|
+ overflow: hidden;
|
|
|
img {
|
|
|
- width: 100%;
|
|
|
+ position: absolute;
|
|
|
+ left: 50%;
|
|
|
+ top: 50%;
|
|
|
+ transform: translate(-50%, -50%);
|
|
|
}
|
|
|
}
|
|
|
.imgTitle {
|