The electric field intensity distribution and the phase velocity distribution of a slit in laser beams with different parameters are analyzed. Using three-dimensional test particle simulation, the laser beam with a slit induced acceleration of electrons with different initial momenta is investigated. Contrary to anticipation, the maximum net energy gain is not monotone increasing as the incoming momentum increasing. Based on the field structure and analysis, we gave an explanation for this.