Commit 2d855fc4 authored by 潘永坪's avatar 潘永坪

组合票bug处理

parent 8aacc785
...@@ -620,7 +620,8 @@ export default { ...@@ -620,7 +620,8 @@ export default {
height=data.height+this.middleTopHeight-20-this.topHeight height=data.height+this.middleTopHeight-20-this.topHeight
let opacity=scrollTop/(data.height) let opacity=scrollTop/(data.height)
this.tabbarOpacity=parseFloat(opacity.toFixed(2)) this.tabbarOpacity=parseFloat(opacity.toFixed(2))
if(scrollTop>=height){ //下面值取整数,防止部分手机取值太多小数,出现抖动的bug
if(parseInt(scrollTop)>=parseInt(height)){
//中间上部分固定,中间下部分可滚动,全屏不滚动 //中间上部分固定,中间下部分可滚动,全屏不滚动
this.middleHeight=this.scrollHeight this.middleHeight=this.scrollHeight
......
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