|
@@ -190,7 +190,7 @@ export default {
|
|
|
width: getComputedStyle(this.fixedRightDom[0]).width,
|
|
|
scrollLeft: fixedRightHeaderDom.scrollWidth
|
|
|
})
|
|
|
- fixedRightBox.style.top = 0
|
|
|
+ fixedRightBox.style.top = 83 + 'px'
|
|
|
}
|
|
|
// 左侧固定
|
|
|
if (fixedLeftHeaderDom) {
|
|
@@ -200,13 +200,13 @@ export default {
|
|
|
width: getComputedStyle(this.fixedLeftDom[0]).width,
|
|
|
scrollLeft: 0
|
|
|
})
|
|
|
- fixedLeftBox.style.top = 0
|
|
|
+ fixedLeftBox.style.top = 83 + 'px'
|
|
|
}
|
|
|
dom.classList.add('fixed') //加一个固定标识
|
|
|
this.updateWidth()
|
|
|
dom.style.position = 'fixed'
|
|
|
dom.style.zIndex = '2000'
|
|
|
- dom.style.top = 0 + 'px'
|
|
|
+ dom.style.top = 83 + 'px'
|
|
|
dom.style.overflow = 'hidden'
|
|
|
} else {
|
|
|
this.clearFixedStyle()
|
|
@@ -217,7 +217,7 @@ export default {
|
|
|
let { dom, scrollLeft, width, left } = data
|
|
|
dom.style.zIndex = '2000'
|
|
|
dom.style.position = 'fixed'
|
|
|
- dom.style.top = '0'
|
|
|
+ dom.style.top = 83 + 'px'
|
|
|
dom.scrollLeft = scrollLeft
|
|
|
dom.style.width = width
|
|
|
dom.style.overflow = 'hidden'
|