Heavy rainfall in southern China has caused severe flooding and landslides, affecting over 300,000 people.