1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
| export default {
| props: {
| // 是否展示骨架组件
| loading: {
| type: Boolean,
| default: true
| },
| // 是否开启动画效果
| animate: {
| type: Boolean,
| default: true
| },
| // 段落占位图行数
| rows: {
| type: [String, Number],
| default: 0
| },
| // 段落占位图的宽度
| rowsWidth: {
| type: [String, Number, Array],
| default: '100%'
| },
| // 段落占位图的高度
| rowsHeight: {
| type: [String, Number, Array],
| default: 18
| },
| // 段落占位图的左边距
| rowsLeft: {
| type: [String, Number, Array],
| default: 0
| },
| // 是否展示标题占位图
| title: {
| type: Boolean,
| default: true
| },
| // 段落标题的宽度
| titleWidth: {
| type: [String, Number],
| default: '50%'
| },
| // 段落标题的高度
| titleHeight: {
| type: [String, Number],
| default: 18
| },
| // 是否展示头像占位图
| avatar: {
| type: Boolean,
| default: false
| },
| // 头像占位图大小
| avatarSize: {
| type: [String, Number],
| default: 32
| },
| // 头像占位图的形状,circle-圆形,square-方形
| avatarShape: {
| type: String,
| default: 'circle'
| },
| ...uni.$uv?.props?.skeleton
| }
| }
|
|