-
+
@@ -24,7 +24,7 @@
1220) {
+ this.colspan = 8
+ } else if (document.body.clientWidth < 1220 && document.body.clientWidth > 750) {
+ this.colspan = 12
+ } else if (document.body.clientWidth < 750) {
+ this.colspan = 24
+ } else {
+ this.colspan = 6
+ }
+ window.onresize = () => {
+ if (document.body.clientWidth < 1530 && document.body.clientWidth > 1220) {
+ this.colspan = 8
+ } else if (document.body.clientWidth < 1220 && document.body.clientWidth > 750) {
+ this.colspan = 12
+ } else if (document.body.clientWidth < 750) {
+ this.colspan = 24
+ } else {
+ this.colspan = 6
+ }
+ }
+ }
},
methods: {
init () {