chenquansheng

fix |> 今日文章详情页滑动到评论区时评论图标显示正文

... ... @@ -520,6 +520,11 @@ export struct ImageAndTextPageComponent {
this.lastTimeoutId = setTimeout(() => {
let offSetY = this.info?.globalPosition.y as number
Logger.debug(TAG, "即将滚动至yOffset: " + (offSetY - 100))
if (offSetY >= (this.screenHeight-this.bottomHeight) ) {
this.showMainText = true
}else {
this.showMainText = false
}
//头部距离48
this.scroller.scrollTo({
yOffset: offSetY - 100,
... ...