Commit bb3b5ccc by 杨明

footer

1 parent eb098623
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
<template>
<div
<div class="scrm-footer-panel">
<!-- <div
class="scrm-footer-panel"
:style="{
left: footerLeft + 'px',
width: footerWidth + 'px'
}"
>
> -->
<slot></slot>
</div>
</template>
......@@ -37,10 +38,10 @@ export default {
this.aside && this.aside.removeEventListener('DOMSubtreeModified', this.resize)
},
mounted() {
this.resize()
this.aside = document.querySelector('.base-container-aside')
this.aside && this.aside.addEventListener('DOMSubtreeModified', this.resize)
window.addEventListener('resize', this.resize)
// this.resize()
// this.aside = document.querySelector('.base-container-aside')
// this.aside && this.aside.addEventListener('DOMSubtreeModified', this.resize)
// window.addEventListener('resize', this.resize)
}
}
</script>
......@@ -52,7 +53,7 @@ export default {
justify-content: center;
position: static !important;
height: auto !important;
background: #ffffff;
background: none !important;
box-shadow: none !important;
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!