2018-06-04 09:09:01 +00:00
|
|
|
<cn>
|
|
|
|
#### 静态位置
|
|
|
|
不浮动,状态不随页面滚动变化。
|
|
|
|
</cn>
|
|
|
|
|
|
|
|
<us>
|
|
|
|
#### Static Anchor
|
|
|
|
Do not change state when page is scrolling.
|
|
|
|
</us>
|
|
|
|
|
|
|
|
```html
|
|
|
|
<template>
|
|
|
|
<a-anchor :affix="false">
|
|
|
|
<a-anchor-link href="#components-anchor-demo-basic" title="Basic demo" />
|
2019-03-11 06:43:23 +00:00
|
|
|
<a-anchor-link href="#components-anchor-demo-static" title="Static demo" />
|
2018-06-04 09:09:01 +00:00
|
|
|
<a-anchor-link href="#API" title="API">
|
|
|
|
<a-anchor-link href="#Anchor-Props" title="Anchor Props" />
|
|
|
|
<a-anchor-link href="#Link-Props" title="Link Props" />
|
|
|
|
</a-anchor-link>
|
|
|
|
</a-anchor>
|
|
|
|
</template>
|
|
|
|
```
|