Mechanics knowledge should be incorporated into AI models in AI for computational mechanics. However, existing research mostly remains at shallow forms such as governing equation residuals, where mechanical knowledge only plays secondary roles such as guidance, correction, and soft constraints, and thus has not been fully exploited. This paper proposes a data-driven finite element method that applies two layers of deep mechanics priors to the analytical reconstruction of element stiffness matrices, simultaneously achieving the embedding of physical constraints and a great simplification of the prediction parameter scale. The first layer ensures the physical plausibility of the element stiffness matrix through three physical constraints: rigid-body zero-energy, constant-strain consistency, and energy stability. The second layer parameterizes the element stiffness matrix in modal space using parameters with clear physical interpretations, which are divided into fixed parameters completely determined by element geometry and material parameters, and independent parameters predicted by AI models. Based on these priors, a parameterized analytical expression of the element stiffness matrix is derived, so that the AI model only needs to predict a small number of physically meaningful independent parameters to reconstruct high-quality element stiffness matrices satisfying the required physical constraints, thereby realizing the data-driven finite element method. The derivation is not tied to a particular element type and is applicable to both basic elements and high-order elements, providing a universal and easily generalizable methodological paradigm for the prediction of element stiffness matrices. Numerical examples demonstrate that data-driven elements strictly satisfy the three types of physical constraints in rigid-body zero-energy mode tests and patch tests, and are physically plausible. Furthermore, in the MacNeal cantilever beam, Kirsch perforated plate, and Saint-Venant circular rod torsion examples, data-driven elements agree well with standard integration elements under bending, mesh distortion, stress concentration, and mesh refinement conditions, with convergence orders and errors consistent with conventional elements, fully retaining the numerical characteristics of finite element methods.