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.
65 lines
1002 B
65 lines
1002 B
<docs>
|
|
---
|
|
order: 13
|
|
title:
|
|
zh-CN: 带有进度的步骤
|
|
en-US: Steps with progress
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
带有进度的步骤。
|
|
|
|
## en-US
|
|
|
|
Steps with progress.
|
|
|
|
</docs>
|
|
|
|
<template>
|
|
<a-steps
|
|
v-model:current="current"
|
|
:percent="60"
|
|
:items="[
|
|
{
|
|
title: 'Finished',
|
|
description,
|
|
},
|
|
{
|
|
title: 'In Progress',
|
|
subTitle: 'Left 00:00:08',
|
|
description,
|
|
},
|
|
{
|
|
title: 'Waiting',
|
|
description,
|
|
},
|
|
]"
|
|
></a-steps>
|
|
<a-steps
|
|
v-model:current="current"
|
|
:percent="60"
|
|
size="small"
|
|
:items="[
|
|
{
|
|
title: 'Finished',
|
|
description,
|
|
},
|
|
{
|
|
title: 'In Progress',
|
|
subTitle: 'Left 00:00:08',
|
|
description,
|
|
},
|
|
{
|
|
title: 'Waiting',
|
|
description,
|
|
},
|
|
]"
|
|
></a-steps>
|
|
</template>
|
|
<script lang="ts" setup>
|
|
import { ref } from 'vue';
|
|
const current = ref<number>(1);
|
|
const description = 'This is a description.';
|
|
</script>
|