Enrofloxacin (ENR) residues in animal-derived food and water threaten human health. Simple, low-cost and on-site detection methods are urgently needed. Blue emitting carbon quantum dots (CQDs) and orange rhodamine B (RhB) were used as recognition and reference signals, respectively, to construct a ratiometric fluorescence sensor. After the addition of ENR, the color of the sensor changed from orange to blue because hydrogen bonding induced a considerable increase in CQDs fluorescence. Based on this mechanism, a simple and low cost on-site portable sensing platform was constructed, which integrated a stable UV light strip and a smartphone with voice-controlled phototaking function and an RGB app. The t-test results of spiked ENR recoveries for diluted milk, honey and drinking water revealed no significant differences between the ratiometric fluorescent sensor and portable sensing platform. Thus, this portable sensing platform provides a novel strategy for on-site quantification of quinolone antibiotics in foodstuffs and environmental water.