Preparation and Properties of Halogen-Free Flame Retardant and High Refractive Index Optical Resin via Click Chemistry