Ideally, it would say "... people's attitude(s) to, and opinions on, the new policies." In reality, you will see sentences like the one you quoted quite frequently. "Attitudes and opinions" is a fairly common combination of words and the fact that they take different prepositions isn't really taken into account. People just use the preposition that comes directly after the last noun - in this case, "opinions".
Student or Learner