Commit 192a8ab1 by zhanghaozhe

Merge branch '00' into dev

parents 60d68290 876e71dc
...@@ -67,11 +67,12 @@ class Prizes extends Component { ...@@ -67,11 +67,12 @@ class Prizes extends Component {
innerOffsetTop = 0.12458, innerOffsetTop = 0.12458,
footerOffsetTop = 0.595, footerOffsetTop = 0.595,
h = this.prizeList.scrollHeight, h = this.prizeList.scrollHeight,
scrollListHeight = headHeight + h - (innerOffsetTop * headHeight) - (footerOffsetTop * footerHeight) + footerHeight scrollListHeight = headHeight + h - (innerOffsetTop * headHeight) - (footerOffsetTop * footerHeight) + footerHeight,
bottomOffset = 27
this.prizeBox.style.height = `${scrollListHeight}px` this.prizeBox.style.height = `${scrollListHeight + bottomOffset}px`
this.innerBox.style.height = `${h}px` this.innerBox.style.height = `${h}px`
this.bg.style.height = `${h - footerHeight + innerOffsetTop * headHeight}px` this.bg.style.height = `${h - footerHeight + innerOffsetTop * headHeight + bottomOffset}px`
} }
return {unfoldList: !prev.unfoldList} return {unfoldList: !prev.unfoldList}
}) })
......
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