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