通常用于定义底部 hint 栏展示和增加通用的点击跳转能力, 如果需要在页面中显示底部Hint提示,建议将 Footer 放在最外层容器的底部,并根据合理的布局让它在合适的位置展示。
# demo
# props
名称 | 类型 | 默认值 | 可选值 | 必填 | 描述 |
---|---|---|---|---|---|
nonBackground | boolean | false | - | 否 | 去掉默认背景 |
hint | array,string | - | - | 是 | 要展示的 hint 文本 |
# 组件样例(example)
{
"type":"Footer",
"componentId": "example-footer",
"props": {
"hint":[
"测试hint1",
"测试hint2"
]
}
}