29 lines
840 B
Markdown
29 lines
840 B
Markdown
|
|
:: BASE_DOC ::
|
||
|
|
|
||
|
|
## API
|
||
|
|
### IndexesAnchor Props
|
||
|
|
|
||
|
|
名称 | 类型 | 默认值 | 说明 | 必传
|
||
|
|
-- | -- | -- | -- | --
|
||
|
|
index | String / Number | - | 索引字符 | N
|
||
|
|
|
||
|
|
### IndexesAnchor 外部样式类
|
||
|
|
类名 | 说明
|
||
|
|
-- | --
|
||
|
|
t-class | 根节点样式类
|
||
|
|
|
||
|
|
### CSS Variables
|
||
|
|
|
||
|
|
组件提供了下列 CSS 变量,可用于自定义样式。
|
||
|
|
名称 | 默认值 | 描述
|
||
|
|
-- | -- | --
|
||
|
|
--td-indexes-anchor-active-bg-color | @bg-color-container | -
|
||
|
|
--td-indexes-anchor-active-color | @brand-color | -
|
||
|
|
--td-indexes-anchor-active-font-weight | 600 | -
|
||
|
|
--td-indexes-anchor-bg-color | @bg-color-secondarycontainer | -
|
||
|
|
--td-indexes-anchor-border-color | @component-border | -
|
||
|
|
--td-indexes-anchor-color | @text-color-primary | -
|
||
|
|
--td-indexes-anchor-font | @font-body-medium | -
|
||
|
|
--td-indexes-anchor-padding | 8rpx 32rpx | -
|
||
|
|
--td-indexes-anchor-top | 0 | -
|