Typhoon Yinxing battered the northern Philippines with floods and landslides before blowing away from the country on Friday, leaving two airports damaged and aggravating a calamity caused by back-to-back storms that hit in recent weeks.