Commit 77e21bdd by shaojiawen

update:滚动高度

parent af598897
......@@ -84,8 +84,8 @@ export default {
{ value: '正常-今日已达上限', style: 'warning' }
],
statusIndex: 1,
scrollTop: 0,
scrollStyle: 'position:fixed;top:80px;z-index:1;padding-bottom:0;height:40px;background:yellow;'
scrollTop: 0
// scrollStyle: 'position:fixed;top:110px;z-index:1;padding-bottom:0;height:40px;background:yellow;'
};
},
methods: {
......@@ -159,7 +159,7 @@ export default {
scrollMethod: _throttle(function() {
// 节流会不自然 左右不滑动
this.scrollTop = document.getElementById('hb-layout-pager-one').scrollTop;
console.log(this.scrollTop);
// console.log(this.scrollTop);
}, 100)
},
mounted() {
......@@ -197,7 +197,7 @@ export default {
}
.fixed-tab {
position: absolute;
top: 80px;
top: 110px;
z-index: 1;
padding-bottom: 0;
height: 40px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment