All Products
Search
Document Center

Footer

Last Updated: Feb 04, 2021

This section describes the page footer component.

Property Description Type Default value Mandatory
copyright Copyright information String - false
links Footer link Array<text, url> - false

Sample code

 
  1. {
  2. "defaultTitle": "AntUI component library of the Mini Program",
  3. "usingComponents":{
  4. "footer": "mini-antui/es/footer/index"
  5. }
  6. }
 
  1. <view>
  2. <footer
  3. copyright="{{copyright}}"
  4. links="{{links}}" />
  5. </view>
 
  1. Page({
  2. data: {
  3. copyright: '© 2004-2019 Alipay.com. All rights reserved.',
  4. links: [
  5. { text: 'Bottom link', url: '.. /../list/demo/index' },
  6. { text: 'Bottom link', url: '.. /../card/demo/index' },
  7. ],
  8. },
  9. });