work on design: items, components
This commit is contained in:
@ -1,13 +1,47 @@
|
||||
import 'vue3-carousel/dist/carousel.css'
|
||||
import components from './components'
|
||||
|
||||
import { Carousel, Pagination, Navigation, Slide } from 'vue3-carousel'
|
||||
|
||||
const App = {
|
||||
el: '#app',
|
||||
delimiters: ['[[', ']]'],
|
||||
components: {...components},
|
||||
components: {
|
||||
...components,
|
||||
Slide,
|
||||
Carousel,
|
||||
Pagination,
|
||||
Navigation,
|
||||
},
|
||||
|
||||
computed: {
|
||||
player() { return window.aircox.player; },
|
||||
},
|
||||
|
||||
data() {
|
||||
return {
|
||||
carouselBreakpoints: {
|
||||
400: {
|
||||
itemsToShow: 1
|
||||
},
|
||||
600: {
|
||||
itemsToShow: 1.75
|
||||
},
|
||||
800: {
|
||||
itemsToShow: 3
|
||||
},
|
||||
1024: {
|
||||
itemsToShow: 4
|
||||
},
|
||||
1280: {
|
||||
itemsToShow: 4
|
||||
},
|
||||
1380: {
|
||||
itemsToShow: 5
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export const PlayerApp = {
|
||||
|
Reference in New Issue
Block a user