mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-26 19:46:47 +08:00
31 lines
800 B
Markdown
31 lines
800 B
Markdown
---
|
|
layout: templateLayout
|
|
---
|
|
```vue
|
|
<template>
|
|
<Steps :current="current" direction="vertical">
|
|
<Step title="已完成" content="这里是该步骤的描述信息"></Step>
|
|
<Step title="进行中" content="这里是该步骤的描述信息"></Step>
|
|
<Step title="待进行" content="这里是该步骤的描述信息"></Step>
|
|
<Step title="待进行" content="这里是该步骤的描述信息"></Step>
|
|
</Steps>
|
|
<Wb-button type="primary" @click="next">下一步</Wb-button>
|
|
</template>
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
current: 1
|
|
}
|
|
},
|
|
methods: {
|
|
next() {
|
|
this.current += 1;
|
|
if(this.current > 4){
|
|
this.current = 1;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
``` |