The invention discloses a preparation process of an environment-friendly disinfectant, and belongs to the technical field of disinfectants, the environment-friendly disinfectant can cover the liquid level before use and reduce the volatilization of the disinfectant by putting a disinfection floating patch into the disinfectant, and the disinfection floating patch is extruded when in use, so that the disinfection effect of the disinfectant is improved. According to the disinfection floating patch, the coverage area of the disinfection floating patch is enlarged, the disinfection floating patch is attached to a disinfection part, key disinfection of the disinfection part is achieved, meanwhile, the disinfection floating patch is covered, the external contact effect of the disinfection floating patch is reduced, the volatilization process of the disinfection floating patch is delayed, and the disinfection effect can be achieved for a long time. Meanwhile, the disinfection effect is improved, the disinfection time is prolonged, the disinfection floating patch can be reused, and the disinfection cost can be greatly reduced.