Shanghai’s education bureau announced Saturday that in-person classes would be held online beginning next week after 2,286 symptomatic coronavirus cases were confirmed on China’s mainland on Friday.