chenquansheng

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

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