The ecological restoration and greening of slopes, as exposed slopes produced in road and mine construction, has always been an issue of importance. Based on this, this paper uses hierarchical analysis to evaluate the effect of ecological restoration and greening of rocky slopes, and initially constructs an ecological evaluation index system, which is easy to operate, targeted and comprehensive, and has an important role in promoting the effective implementation of ecological restoration and greening of rocky slopes of highways and mines in China.