Beijing swings from anger over zero-Covid to coping with infections