Footer 页脚

显示页面页脚。

扫码体验:
Footer 页脚 - 图1

属性名描述类型默认值必选
copyright版权信息Stringfalse
links页脚链接Array<text, url>false

示例

  1. {
  2. "defaultTitle": "小程序AntUI组件库",
  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-2017 Alipay.com. All rights reserved.',
  4. links: [
  5. { text: '底部链接', url: '../../list/demo/index' },
  6. { text: '底部链接', url: '../../card/demo/index' },
  7. ],
  8. },
  9. });

原文: https://docs.alipay.com/mini/component-ext/footer