Abuse of antibiotics results in a large number of antibiotics residues in the environment and even causes the problem of "super bacteria". Therefore, it is crucial to develop a powerful analytic method to monitor antibiotics quickly and simply. Photonic crystal (PC), as a sensing material, has promising application prospects. Herein, we try to use PC to realize pretreatment-free and label-free detection of Ciprofloxacin (CF) through Michael addition reaction. The recognition process is carried out by the Michael addition reaction between the piperazine group of CF and the o-benzoquinone group on the PC. The monodisperse microspheres with o-benzoquinone groups are prepared by polymerization and oxidation and then stacked to form PC. During the detection, the peak intensity of the PC decreases with the increasing CF concentration, and the linear range is from 2 to 512 μg/L. The limit of detection (LOD) is 0.76 μg/L. Furthermore, the PC retains 97% of the initial response after storage in a Petri dish at room temperature for 1 month, which shows that it has good stability. Moreover, CF in fish farming water can be detected directly without any pretreatment and label, and the results are in good accordance with the LC-MS-MS results. This Michael-addition-mediated PC is accurate, easily prepared, cost-efficient, and long-term stable. In addition, it is environmentally friendly, because little organic solvent is needed during both the preparation and the detection.