You may need a visa for Mainland China if you have a Spanish passport
Visa options for Mainland China
You don't need a visa. You can travel to your destination for a limited stay. Be sure to check other entry requirements and how long you can stay for.