Ensuring the safety of animal-derived foods requires the reliable and swift identification of enrofloxacin residues to monitor the presence of antibiotics. In this regard, we synthesized, tuned, and investigated the optical properties of a bimetallic metal–organic framework (Ce/Zr-UiO 66). The investigation was facilitated by employing a polydopamine-coated pipette tip with high adsorption efficiency, serving as an immunoreactive carrier. Subsequently, an immunofunctionalized variant of Ce/Zr-UiO 66, referred to as Ce/Zr-UiO 66@ Bovine serum albumin-enrofloxacin, was developed as an optical probe for the rapid and sensitive identification of enrofloxacin across a variety of samples. The method can accurately detect enrofloxacin at concentrations as low as 0.12 ng/mL, with a determination time of under 15 min; furthermore, it demonstrates exceptional efficacy when applied to food, environmental, and clinical samples. The implementation of this methodology offers a valuable means for cost-effective, rapid, and on-site enrofloxacin determination.