src/components/myUpload/index.vue
@@ -33,9 +33,9 @@ // 限制 limit: 4, // 按钮高度 btnHeight: '120px', btnHeight: '100px', // 按钮宽度 btnWidth: '120px', btnWidth: '100px', // 文件列表类型 listType: 'picture-card' }; @@ -112,12 +112,12 @@ } :deep(.el-upload--picture-card) { width: 120px; height: 120px; width: 100px; height: 100px; } :deep(.el-upload-list__item){ width: 120px; height: 120px; width: 100px; height: 100px; } .upload-btn { // background-color: rgba(249, 249, 249, 1);