Shanghai’s two main airports halted 1,384 flights as authorities suspended ferry and some rail services ahead of the storm’s expected landfall.