In this paper, a molecularly imprinted two-dimensional photonic crystal hydrogels sensor (SMZ-MIPCH) for sensitive and label-free recognition of sulfamethoxazole (SMZ) was prepared. Investigating SMZ-MIPCH sensor response performance by measuring the...