diff --git a/src/components/Footer/Footer.vue b/src/components/Footer/Footer.vue index c22acfa8..2cb44e5c 100644 --- a/src/components/Footer/Footer.vue +++ b/src/components/Footer/Footer.vue @@ -22,12 +22,20 @@ default: false } }, + mounted: function () { + this.isFixed() + }, computed: { classList () { return [ 'app-footer' ] } + }, + methods: { + isFixed () { + this.fixed ? document.body.classList.add('footer-fixed') : document.body.classList.remove('footer-fixed') + } } } diff --git a/src/containers/Full.vue b/src/containers/Full.vue index 6a84ab47..3bc75cc9 100644 --- a/src/containers/Full.vue +++ b/src/containers/Full.vue @@ -85,7 +85,7 @@ - +