<template>
    <view>
        <view
            v-for="(live, index) in data"
            :key="index"
            :class="{
                'c-gap-top-large': index !== 0
            }"
        >
            <video-calendar-one :live="live" :page="page" :index="index" :livesource="livesource"></video-calendar-one>
        </view>
    </view>
</template>

<script>

/**
 *  @file 日历列表
 *  @author lixue25
 */
import VideoCalendarOne from './VideoCalendarOne'; 
export default {
    config: {
        component: true
    },
    components: {
        'video-calendar-one': VideoCalendarOne
    },
    options: {
        addGlobalClass: true
    },
    props: {
        data: {
            type: Array,
            default: () => []
        },
        page: {
            type: String,
            default: 'feed'
        },
        livesource: {
            type: String,
            default: ''
        }
    },
    data() {
        return {
            timer: null
        };
    },
    methods: {}
};
</script>

<style lang="less" scoped></style>