| | |
| | | }, |
| | | }, |
| | | { |
| | | label: '图片上传', |
| | | label: '图片视频上传', |
| | | prop: 'picUrls', |
| | | type: 'upload', |
| | | span: 24, |
| | | fileType:'img', |
| | | listType: 'picture-card', |
| | | limit:5, |
| | | hide:true, |
| | |
| | | }], |
| | | }, |
| | | { |
| | | label: '图片上传', |
| | | label: '图片视频上传', |
| | | prop: 'picUrls', |
| | | type: 'upload', |
| | | fileType:'img', |
| | | span: 24, |
| | | listType: 'picture-card', |
| | | limit:5, |
| | |
| | | |
| | | .el-image { |
| | | margin: 10px; |
| | | width: 160px; |
| | | height: 80px; |
| | | width: 100px; |
| | | height: 100px; |
| | | } |
| | | } |
| | | } |
| | |
| | | }, |
| | | methods: { |
| | | rowSave(row, done, loading) { |
| | | if (!picUrls){ |
| | | if (!row.picUrls){ |
| | | row.picUrls = null |
| | | } |
| | | add(row).then(() => { |
| | |
| | | right: 3%; |
| | | z-index: 99999; |
| | | } |
| | | |
| | | .scene-image-box { |
| | | line-height: 32px !important; |
| | | height: auto; |
| | | max-height: 200px; |
| | | overflow-y: auto; |
| | | |
| | | .el-card__body { |
| | | display: flex; |
| | | padding: 0 10px !important; |
| | | flex-wrap: wrap; |
| | | justify-content: center; |
| | | align-items: center; |
| | | |
| | | .x-audio-wrap.inline { |
| | | margin: 10px; |
| | | } |
| | | |
| | | .el-image { |
| | | margin: 10px; |
| | | width: 100px; |
| | | height: 100px; |
| | | } |
| | | } |
| | | } |
| | | </style> |