Upvote:4
Both of you need a Schengen visa, which will allow you to travel to both France and Spain. You should apply to either of those countries, depending on where you will spend the most time. If you plan to stay about the same time in each, you should apply to the country you will enter first.
The UK visa is only relevant to the extent that it allows you to apply for the Schengen visa in the UK and that it might help alleviate concerns that you might seek to immigrate illegally, thus making the Schengen visa slightly easier to obtain than if you were living in South Africa.