This article investigates the distributed Nash equilibrium seeking problem of quadratic time‐varying games with Euler–Lagrange (EL) players, where external disturbances and parametric uncertainties are involved. A gradient‐based hierarchical algorithm consisting of a game layer and a control layer is proposed. Specifically, in the game layer, EL players communicate with neighbors through a graph to reach the consensus on potential aggregate values, which will be employed to calculate the gradient of each player's objective function, and then, a gradient‐based sliding mode controller is developed to track time‐varying gradient in the control layer. Thus, the convergence results are hierarchically obtained through the Lyapunov stability method. In addition, the hierarchical control strategy is extended to address the constrained problems through the utilization of a smooth penalty function. By appropriately choosing control parameters, the Nash equilibrium seeking errors can be arbitrarily small. The relation between the optimal solutions of the original problem and the dual one is further discussed. Finally, the proposed methods are numerically verified.