2018-03-10 12:46:57 +00:00
|
|
|
<cn>
|
|
|
|
#### 自定义点状步骤条
|
|
|
|
为点状步骤条增加自定义展示。
|
|
|
|
</cn>
|
|
|
|
|
|
|
|
<us>
|
|
|
|
#### Customized Dot Style
|
|
|
|
You can customize the display for Steps with progress dot style.
|
|
|
|
</us>
|
|
|
|
|
2019-10-09 10:32:23 +00:00
|
|
|
```tpl
|
2018-03-10 12:46:57 +00:00
|
|
|
<template>
|
2019-09-28 12:45:07 +00:00
|
|
|
<div>
|
|
|
|
<a-steps :current="1">
|
|
|
|
<a-popover slot="progressDot" slot-scope="{index, status, prefixCls}">
|
|
|
|
<template slot="content">
|
|
|
|
<span>step {{index}} status: {{status}}</span>
|
|
|
|
</template>
|
|
|
|
<span :class="`${prefixCls}-icon-dot`"></span>
|
|
|
|
</a-popover>
|
|
|
|
<a-step title="Finished" description="You can hover on the dot." />
|
|
|
|
<a-step title="In Progress" description="You can hover on the dot." />
|
|
|
|
<a-step title="Waiting" description="You can hover on the dot." />
|
|
|
|
<a-step title="Waiting" description="You can hover on the dot." />
|
|
|
|
</a-steps>
|
|
|
|
</div>
|
2018-03-10 12:46:57 +00:00
|
|
|
</template>
|
|
|
|
```
|