The problem of dealing with slopes is often encountered in engineering construction. It is necessary to achieve long-term slope protection through ecological slope protection. The proportion of mixed soil is very important in the process of ecological slope protection. Through the evaporation test, the optimal mixture ratio was selected to protect the slope more effectively Evaporation experiments were carried out using loess, diatomite, and straw as test materials. It was found that the addition of diatomite and straw can effectively improve the water holding capacity of the mixed soil, but the diatomite has better water holding capacity. Considering that the straw can increase the strength of the mixed soil, it is considered that 30% of loess, 14% of straw, and 56% of diatomite are the optimal solutions for configuring the mixed soil.