Shanghai keeps COVID curbs, some infections rise