Vehicle sales in China grew 2.2% year on year in July to 1.28m units, state media said.