mirror of
https://git.beihong.wang/wangbeihong/iot-bedroom-environment-controller.git
synced 2026-04-23 11:53:03 +08:00
51 lines
961 B
JavaScript
51 lines
961 B
JavaScript
Component({
|
||
properties: {
|
||
//url,openType,delta ,text,color,size
|
||
//链接设置 object数据格式对应上面注释的属性值
|
||
navigate: {
|
||
type: Array,
|
||
value: []
|
||
},
|
||
//底部文本
|
||
text: {
|
||
type: String,
|
||
value: ''
|
||
},
|
||
//文本字体颜色
|
||
color: {
|
||
type: String,
|
||
value: "#B2B2B2"
|
||
},
|
||
//文本字体大小
|
||
size: {
|
||
type: Number,
|
||
optionalTypes: [String],
|
||
value: 24
|
||
},
|
||
//footer背景颜色
|
||
background: {
|
||
type: String,
|
||
value: "transparent"
|
||
},
|
||
//分隔线颜色,仅nvue生效
|
||
borderColor: {
|
||
type: String,
|
||
value: '#B2B2B2'
|
||
},
|
||
//是否固定在底部
|
||
isFixed: {
|
||
type: Boolean,
|
||
value: false
|
||
},
|
||
bottom: {
|
||
type: String,
|
||
optionalTypes:[Number],
|
||
value: 0
|
||
},
|
||
//是否适配底部安全区
|
||
safeArea: {
|
||
type: Boolean,
|
||
value: true
|
||
}
|
||
}
|
||
}) |