mkm
/
yanzhiAPP
Template
2
0
Fork 0
yanzhiAPP/node_modules/uview-plus/components/u-skeleton/props.js

61 lines
1.7 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import defprops from '../../libs/config/props';
export default {
props: {
// 是否展示骨架组件
loading: {
type: Boolean,
default: defprops.skeleton.loading
},
// 是否开启动画效果
animate: {
type: Boolean,
default: defprops.skeleton.animate
},
// 段落占位图行数
rows: {
type: [String, Number],
default: defprops.skeleton.rows
},
// 段落占位图的宽度
rowsWidth: {
type: [String, Number, Array],
default: defprops.skeleton.rowsWidth
},
// 段落占位图的高度
rowsHeight: {
type: [String, Number, Array],
default: defprops.skeleton.rowsHeight
},
// 是否展示标题占位图
title: {
type: Boolean,
default: defprops.skeleton.title
},
// 段落标题的宽度
titleWidth: {
type: [String, Number],
default: defprops.skeleton.titleWidth
},
// 段落标题的高度
titleHeight: {
type: [String, Number],
default: defprops.skeleton.titleHeight
},
// 是否展示头像占位图
avatar: {
type: Boolean,
default: defprops.skeleton.avatar
},
// 头像占位图大小
avatarSize: {
type: [String, Number],
default: defprops.skeleton.avatarSize
},
// 头像占位图的形状circle-圆形square-方形
avatarShape: {
type: String,
default: defprops.skeleton.avatarShape
}
}
}