The mayor says she will impose a weeklong curfew after people looted stores, set fire to cars and threw bricks and other objects at police officers.