<!--
 * @Author: huangl
 * @Date: 2019-07-02 16:45:29
 * @LastEditors: huangl
 * @LastEditTime: 2020-04-19 21:40:40
 * @Description: file content
 * @FilePath: \vsuite\src\components\time-line\timeline.vue
 -->
<template>
    <ul :class="classes">
        <slot></slot>
    </ul>
</template>
<script>
    import { prefix } from '../var';
    const timelinePrefix = prefix+'timeline';

    export default {
        name: 'TimeLine',
        props: {
            more: {
                type: Boolean,
                default: false
            }
        },
        data(){
            return {
            };
        },
        computed: {
            classes () {
                return [
                    `${timelinePrefix}`,
                    {
                        [`${timelinePrefix}-more`]: this.more
                    }
                ];
            }
        }
    };
</script>
