In order to consider the effect of near-field vertical earthquake, a model of a two-span continuous beam bridge is established. On the basis of superposition of longitudinal and vertical seismic actions, the possible separation of vertical earthquake is considered, and the influence of separation on structural failure is calculated. The transient wave characteristic function method and the indirect mode superposition method are used to solve the response theory of the bridge structure during the earthquake. When the vertical seismic excitation period is close to the vertical natural vibration period of the bridge, structure may separate. For the high-pier-type bridge, the separation enlarges the deformation of the pier and even causes the pier failure. The external conditions such as the time difference of arrival of seismic wave and the stiffness of support will affect the deformation of bridge piers. In addition, the number of separations will also change the seismic response of the pier.