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
| export default {
| props: {
| // 背景颜色(默认transparent)
| bgColor: {
| type: String,
| default: 'transparent'
| },
| // 分割槽高度,单位px(默认20)
| height: {
| type: [String, Number],
| default: 20
| },
| // 与上一个组件的距离
| marginTop: {
| type: [String, Number],
| default: 0
| },
| // 与下一个组件的距离
| marginBottom: {
| type: [String, Number],
| default: 0
| },
| ...uni.$uv?.props?.gap
| }
| }
|
|