| | |
| | | :style="{width:width+'rpx',borderRadius:radius+'rpx',borderColor:borderColor,borderStyle:borderSytle}" |
| | | v-if="showAdd" @tap.stop="chooseImage"> |
| | | <slot> |
| | | <u-button type="primary" text="上传" size="small"></u-button> |
| | | <u-button type="primary" :text="btnText" size="small"></u-button> |
| | | <!-- <fui-icon name="plus" :size="addSize" :color="addColor"></fui-icon> --> |
| | | </slot> |
| | | </view> |
| | |
| | | // fuiIcon |
| | | // }, |
| | | props: { |
| | | btnText: { |
| | | type: String, |
| | | default: '上传' |
| | | }, |
| | | width: { |
| | | type: [Number, String], |
| | | default: 190 |
| | |
| | | this.status = status; |
| | | }, |
| | | reUpload(index) { |
| | | console.log(index,'00000000000’'); |
| | | this.$set(this.status, index, 'uploading') |
| | | if (this.callUpload) { |
| | | this.$emit('reupload', { |