In the text, a new fluorescent probe based on rhodamine spirolactam ring was designed and synthesized. Rhodamine-like derivatives have not only good response speed and luminous performance, but also have a special switch type structure, which can specifically recognize responsive metal ions. In the paper, Rh-TEF, a 6G derivative of rhodamine, was synthesized by condensation reaction, the synthesized fluorescent probe was successfully used for solutions sample detection.