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.
36 lines
900 B
36 lines
900 B
3 years ago
|
<docs>
|
||
|
---
|
||
|
order: 8
|
||
|
title:
|
||
|
zh-CN: 自定义点状步骤条
|
||
|
en-US: Customized Dot Style
|
||
|
---
|
||
|
|
||
|
## zh-CN
|
||
|
|
||
|
为点状步骤条增加自定义展示。
|
||
|
|
||
|
## en-US
|
||
|
|
||
|
You can customize the display for Steps with progress dot style.
|
||
|
</docs>
|
||
|
|
||
|
<template>
|
||
|
<div>
|
||
|
<a-steps :current="1">
|
||
|
<template #progressDot="{ index, status, prefixCls }">
|
||
|
<a-popover>
|
||
|
<template #content>
|
||
|
<span>step {{ index }} status: {{ status }}</span>
|
||
|
</template>
|
||
|
<span :class="`${prefixCls}-icon-dot`" />
|
||
|
</a-popover>
|
||
|
</template>
|
||
|
<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>
|
||
|
</template>
|