Footer
Show the page footer.
Property | Description | Type | Required |
copyright | Copyright information. | String | No |
links | Footer link. | Array<text, url> | No |
Example
copy
{
"defaultTitle": "AntUI Component Library",
"usingComponents":{
"footer": "mini-antui/es/footer/index"
}
}
copy
<view>
<footer
copyright="{{copyright}}"
links="{{links}}" />
</view>
copy
Page({
data: {
copyright: '© 2004-2017 *.com. All rights reserved.',
links: [
{ text: 'Bottom link', url: '../../list/demo/index' },
{ text: 'Bottom link', url: '../../card/demo/index' },
],
},
});