2020-02-16 18:30:00 +00:00
|
|
|
import Vue from 'vue'
|
|
|
|
import FtFlexBox from '../ft-flex-box/ft-flex-box.vue'
|
2020-06-23 15:47:19 +00:00
|
|
|
import FtAutoGrid from '../ft-auto-grid/ft-auto-grid.vue'
|
2020-02-16 18:30:00 +00:00
|
|
|
import FtListVideo from '../ft-list-video/ft-list-video.vue'
|
|
|
|
import FtListChannel from '../ft-list-channel/ft-list-channel.vue'
|
|
|
|
import FtListPlaylist from '../ft-list-playlist/ft-list-playlist.vue'
|
|
|
|
|
|
|
|
export default Vue.extend({
|
|
|
|
name: 'FtElementList',
|
|
|
|
components: {
|
|
|
|
'ft-flex-box': FtFlexBox,
|
2020-06-23 15:47:19 +00:00
|
|
|
'ft-auto-grid': FtAutoGrid,
|
2020-02-16 18:30:00 +00:00
|
|
|
'ft-list-video': FtListVideo,
|
|
|
|
'ft-list-channel': FtListChannel,
|
|
|
|
'ft-list-playlist': FtListPlaylist
|
|
|
|
},
|
|
|
|
props: {
|
|
|
|
data: {
|
|
|
|
type: Array,
|
|
|
|
required: true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
data: function () {
|
|
|
|
return {
|
|
|
|
test: 'hello'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
computed: {
|
|
|
|
listType: function () {
|
|
|
|
return this.$store.getters.getListType
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|