| | |
| | | :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: 200 |
| | | default: 190 |
| | | }, |
| | | height: { |
| | | type: [Number, String], |
| | | default: 200 |
| | | default: 190 |
| | | }, |
| | | fileList: { |
| | | type: Array, |