2016-09-09 14:29:19 +08:00
|
|
|
<template>
|
|
|
|
<ul :class="classes">
|
|
|
|
<slot></slot>
|
|
|
|
</ul>
|
|
|
|
</template>
|
|
|
|
<script>
|
|
|
|
const prefixCls = 'ivu-timeline';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
props: {
|
|
|
|
pending: {
|
|
|
|
type: Boolean,
|
|
|
|
default: false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
computed: {
|
|
|
|
classes () {
|
|
|
|
return [
|
|
|
|
`${prefixCls}`,
|
|
|
|
{
|
|
|
|
[`${prefixCls}-pending`]: this.pending
|
|
|
|
}
|
2016-12-25 22:49:42 +08:00
|
|
|
];
|
2016-09-09 14:29:19 +08:00
|
|
|
}
|
|
|
|
}
|
2016-12-25 22:49:42 +08:00
|
|
|
};
|
|
|
|
</script>
|