ant-design-vue/components/vc-steps/demo/smallSize.vue

31 lines
700 B
Vue
Raw Normal View History

2018-03-09 10:52:31 +00:00
<script>
2019-01-12 03:33:27 +00:00
import Steps, { Step } from '../index';
import '../assets/index.less';
import '../assets/iconfont.less';
2018-03-09 10:52:31 +00:00
export default {
data () {
2019-01-12 03:33:27 +00:00
return {};
2018-03-09 10:52:31 +00:00
},
render () {
return (
<div>
<Steps size='small' current={1}>
<Step title='已完成' />
<Step title='进行中' />
<Step title='待运行' />
<Step title='待运行' />
</Steps>
<Steps current={1}>
<Step title='步骤1' >
<i class={`rcicon rcicon-cloud`} slot='icon'/>
</Step>
<Step title='步骤2' icon='apple' />
<Step title='步骤3' icon='github' />
</Steps>
</div>
2019-01-12 03:33:27 +00:00
);
2018-03-09 10:52:31 +00:00
},
2019-01-12 03:33:27 +00:00
};
2018-03-09 10:52:31 +00:00
</script>