Yes, you could wear the eyeglasses with pink eyes. Wearing the contact lenses with pink eyes will be bad for the eyes. However, the pink eyes are contagious. After you get the recovery from the pink eyes, you should wash the eyeglasses with some disinfectant. During your pink eyes, you'd better treat it carefully. You should drink more water and eat more food with vitamin C.
Well, in my opinion, it is fine to wear glasses when you have pink eyes. Generally speaking, pink eyes are caused by some factors such as allergies, irritants, and others. And when it occurs, redness in the eyes can be the common symptom. But in common, it is ok to have glasses to wear. But on the other hand, you are not supposed to wear contact lenses, which are applied directly in your eyes. And in that way, it will just carry more bacteria into your eyes, making your situation more serious. By the way, for pink eyes, you need to intake more vitamin c.
Well, looks like there is something wrong with your eye health. As you know, pink eyes is one of the most common infections we might have, and it would give rise to lots of symptoms and make you suffer. But I should say, it matters not if you wear glasses with pink eyes. But still, you should get some timely and good treatment in a hospital to prevent worse situation. And it would be wise for you to pay attention to your eye health and work and life, and your use of eyes.