The Chinese mainland has designated a dozen areas as "medium risk," as authorities look to contain two mini-outbreaks of the coronavirus.