1.let svBoundingBoxToWorld = ScrollView.getComponent(UITransform).getBounsdingBoxToWorld();
2.滚动监听
this.node.on(ScrollView.EventType.SCROLLING, this.onScroll, this);
3.
onScroll() {
this.getComponent(ScrollView).content.children.forEach((item : Node)=>{
if (item.getComponent(UITransform).getBoundingBoxToWorld().intersects(svBoundingBoxToWorld)) {
item.active = true;
}else item.active = false;
})
}