| | |
| | | } |
| | | }, |
| | | mounted() { |
| | | if (this.defaultFile == undefined || this.defaultFile == null) { |
| | | this.defaultFile = []; |
| | | } |
| | | this.initImgUrlList(); |
| | | }, |
| | | methods: { |
| | |
| | | if (this.readonly) { |
| | | return; |
| | | } |
| | | img.isSelect = !Boolean(img.isSelect); |
| | | img.isSelect = !img.isSelect; |
| | | }, |
| | | sendSelectedImg(isOk) { |
| | | let result = []; |
| | | if (!Boolean(isOk)) { |
| | | if (!isOk) { |
| | | this.$emit('selectPhonoEvent', result); |
| | | } |
| | | for (const item of this.imgPathsDataSourceCopy) { |
| | |
| | | } |
| | | |
| | | .btns { |
| | | height: 10%; |
| | | /* height: 10%; */ |
| | | } |
| | | /* |
| | | .img_types { |
| | |
| | | } */ |
| | | |
| | | .imgs { |
| | | height: 370px; |
| | | height: 650px; |
| | | width: 90%; |
| | | min-height: 100px !important; |
| | | /* border-style:solid; |