| | |
| | | |
| | | <h4 class="form-header">相关图片 </h4> |
| | | <el-upload |
| | | |
| | | action="#" |
| | | list-type="picture-card" |
| | | multiple |
| | |
| | | <el-upload |
| | | action="" |
| | | :file-list="fileListOther" |
| | | class="upload-demo" |
| | | |
| | | multiple |
| | | list-type="picture-card" |
| | | :on-preview="handleFileCardPreview" |
| | | :on-remove="handleRemoveFile" |
| | | :http-request="requestUpload" |
| | | :show-file-list="true" |
| | | :disabled="!btn" |
| | | :class="{ hide: !btn }" |
| | | |
| | | |
| | | > |
| | | <div v-if="uploading" class="upload-status">正在上传...</div> |
| | | <i v-if="!uploading" slot="default" class="el-icon-plus"></i> |
| | |
| | | class="el-upload-list__item-thumbnail" |
| | | :src="file.url" |
| | | alt="" |
| | | style="width: 100%; height: 100%" |
| | | style="width: 147px; height: 147px" |
| | | > |
| | | |
| | | <span class="el-upload-list__item-actions"> |
| | |
| | | document.title = "家庭资产详细信息"; |
| | | this.$route.meta.title = "家庭资产详细信息";//列表的名称 |
| | | this.btn = false; |
| | | alert(this.btn) |
| | | // alert(this.btn) |
| | | this.isShow=false |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | </script> |
| | | <style> |
| | | <style scoped> |
| | | .mt |
| | | { |
| | | position: relative; |
| | | } |
| | | .dt{ |
| | | display: block; |
| | | /* display: block; */ |
| | | |
| | | } |
| | | .hide .el-upload--picture-card { |
| | | |
| | | .hide /deep/ .el-upload--picture-card { |
| | | |
| | | display: none; |
| | | } |
| | | .form{ |
| | | background:center/11% no-repeat url('../../assets/icons/form.png') ; |
| | | } |
| | | .pt{ |
| | | right: 10px; |
| | | top:-3px; |
| | | display: block; |
| | | position: absolute; |
| | | } |
| | | |
| | | </style> |