project init & fix ui
This commit is contained in:
40
miniprogram_npm/tdesign-miniprogram/image-viewer/props.js
Normal file
40
miniprogram_npm/tdesign-miniprogram/image-viewer/props.js
Normal file
@@ -0,0 +1,40 @@
|
||||
const props = {
|
||||
customStyle: {
|
||||
type: String,
|
||||
value: '',
|
||||
},
|
||||
backgroundColor: {
|
||||
type: String,
|
||||
optionalTypes: [Number],
|
||||
value: 'rgba(0, 0, 0, 1)',
|
||||
},
|
||||
images: {
|
||||
type: Array,
|
||||
value: [],
|
||||
},
|
||||
initialIndex: {
|
||||
type: Number,
|
||||
value: 0,
|
||||
},
|
||||
showIndex: {
|
||||
type: Boolean,
|
||||
value: false,
|
||||
},
|
||||
deleteBtn: {
|
||||
type: null,
|
||||
value: false,
|
||||
},
|
||||
closeBtn: {
|
||||
type: null,
|
||||
value: false,
|
||||
},
|
||||
visible: {
|
||||
type: Boolean,
|
||||
value: null,
|
||||
},
|
||||
defaultVisible: {
|
||||
type: Boolean,
|
||||
value: false,
|
||||
},
|
||||
};
|
||||
export default props;
|
||||
Reference in New Issue
Block a user