Commit feb7906d authored by 阮藤's avatar 阮藤

相关问题解决

parent 12c6e3a7
...@@ -178,7 +178,7 @@ export default { ...@@ -178,7 +178,7 @@ export default {
status: 7 status: 7
}, },
{ {
name: '完成', name: '完成',
status: 8 status: 8
} }
] ]
...@@ -218,7 +218,8 @@ export default { ...@@ -218,7 +218,8 @@ export default {
this.statusBtn = true; this.statusBtn = true;
}, 1000); }, 1000);
let a = JSON.stringify(object); let a = JSON.stringify(object);
if (object.scrollTop >= this.headerHeight) { console.log(a,object.scrollTop,this.headerHeight)
if (object.scrollTop >= this.headerHeight - 90) {
this.background.backgroundColor = 'rgba(245,245,245,1)'; this.background.backgroundColor = 'rgba(245,245,245,1)';
} else { } else {
this.background.backgroundColor = 'rgba(245,245,245,0)'; this.background.backgroundColor = 'rgba(245,245,245,0)';
......
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