Three dye-loaded tunable dual-emission colorimetric fluorescent probes RhB@UiO-66-Ph (R@U-P) were prepared by in-situ encapsulation method under solvothermal conditions. The resonance energy transfer between UiO-66-Ph and RhB made the dual emission of R@U-P easily tunable with the embedded dye content changing. The R@U-P composites achieved emission from purple light to red light, and served as probes to realize comparative detection of Fe3+, Fe2+ and Cr2O72− in water through colorimetric or quenching detection mode. Mechanism study indicates that the resonance energy transfer or electron transfer interactions between R@U-P composites and inorganic ions resulted in the relative changes of the two emission peaks and realized the selective detection of analytes. The preparation and application of R@U-P probes provide a promising strategy for the in-situ encapsulation dye to obtain two dual-emission composites for the comparative detection of Fe3+, Fe2+ and Cr2O72− in water samples.