玉树临风 means handsome, generally, it's not only good looking, but also tall and good shaped. This word is only used to describe man, NOT woman.
胜 means that someone or something is better than other one or other thing in general.
潘安 was a famous scholar in ancient China, he was a very handsome guy.
So the whole sentence means "(someone) is more handsome than 潘安", it means the guy is really really handsome.