You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ant-design-vue/components/steps/demo/customized-progress-dot.md

29 lines
813 B

7 years ago
<cn>
#### 自定义点状步骤条
为点状步骤条增加自定义展示。
</cn>
<us>
#### Customized Dot Style
You can customize the display for Steps with progress dot style.
</us>
```html
<template>
7 years ago
<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>
7 years ago
<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>
7 years ago
</div>
7 years ago
</template>
```