:: BASE_DOC ::
API
Footer Props
| name | type | default | description | required |
|---|---|---|---|---|
| style | Object | - | CSS(Cascading Style Sheets) | N |
| custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N |
| copyright | String | '' | deprecated |
N |
| links | Array | [] | 1.0.0。Typescript:Array<LinkObj> interface LinkObj { name: string; url?: string; openType?: 'navigate' | 'redirect' | 'relaunch' | 'switchTab' | 'navigateBack' }。see more ts definition |
N |
| logo | Object | - | Typescript:FooterLogo interface FooterLogo { icon: string; title?: string; url?: string }。see more ts definition |
N |
| text | String | '' | 1.0.0 |
N |
| text-link-list | Array | [] | deprecated。Typescript:Array<LinkObj> interface LinkObj { name: string; url?: string; openType?: 'navigate' | 'redirect' | 'relaunch' | 'switchTab' | 'navigateBack' }。see more ts definition |
N |
| theme | String | 'text' | deprecated。options: text/logo |
N |
CSS Variables
The component provides the following CSS variables, which can be used to customize styles.
| Name | Default Value | Description |
|---|---|---|
| --td-footer-link-color | @brand-color | - |
| --td-footer-link-dividing-line-color | @font-gray-3 | - |
| --td-footer-link-dividing-line-padding | @spacer-1 | - |
| --td-footer-link-font-size | @font-size-s | - |
| --td-footer-link-line-height | 40rpx | - |
| --td-footer-logo-icon-height | 48rpx | - |
| --td-footer-logo-icon-margin-right | @spacer | - |
| --td-footer-logo-icon-width | 48rpx | - |
| --td-footer-logo-title-font-size | @font-size-m | - |
| --td-footer-logo-title-line-height | 48rpx | - |
| --td-footer-logo-title-url-width | 256rpx | - |
| --td-footer-text-color | @font-gray-3 | - |
| --td-footer-text-font-size | @font-size-s | - |
| --td-footer-text-line-height | 40rpx | - |
| --td-footer-text-margin-top | 8rpx | - |