An electronic device, comprising: a display screen, having a flat area; a middle frame, comprising a border surrounding the display screen, wherein the border is provided with a groove, and the border is provided with a through hole that penetrates a bottom of the groove; a camera module, all or part of which is located inside the border, wherein the camera module comprises a lens for light entrance, and the lens exposes by means of the through hole; and a cover plate, comprising a convex plate and a base plate that are integrated into one piece, wherein the convex plate is protruded from an edge at a side of the base plate, and when the base plate and the convex plate are orthographically projected onto a first reference plane, contours of orthographic projection of the base plate and contours of orthographic projection of the convex plate intersect at two points, the two points are connected to each other to form a reference straight line, the base plate is located at a side of the reference straight line, and the convex plate is located at the other side of the reference straight line; the base plate covers the display screen, and the convex plate is accommodated in the groove and covers the lens; the convex plate comprises a left face and a right face disposed opposite to each other, and a first external surface disposed away from the lens and connected between the left face and the right face, the convex plate comprises a top face at a side opposite to the base plate, the top face is connected between the left face and the right face, characterized in that a boundary of an angle of coverage of the camera module intersects with the first external surface to form intersections, wherein a minimal distance between the intersections and the top face is 0.2mm to 1.4mm; or a minimal distance between the intersections and the left face or the right face is 0.2mm to 1.4mm. a display screen, having a flat area; a middle frame, comprising a border surrounding the display screen, wherein the border is provided with a groove, and the border is provided with a through hole that penetrates a bottom of the groove; a camera module, all or part of which is located inside the border, wherein the camera module comprises a lens for light entrance, and the lens exposes by means of the through hole; and a cover plate, comprising a convex plate and a base plate that are integrated into one piece, wherein the convex plate is protruded from an edge at a side of the base plate, and when the base plate and the convex plate are orthographically projected onto a first reference plane, contours of orthographic projection of the base plate and contours of orthographic projection of the convex plate intersect at two points, the two points are connected to each other to form a reference straight line, the base plate is located at a side of the reference straight line, and the convex plate is located at the other side of the reference straight line; the base plate covers the display screen, and the convex plate is accommodated in the groove and covers the lens; the convex plate comprises a left face and a right face disposed opposite to each other, and a first external surface disposed away from the lens and connected between the left face and the right face, the convex plate comprises a top face at a side opposite to the base plate, the top face is connected between the left face and the right face, characterized in that a boundary of an angle of coverage of the camera module intersects with the first external surface to form intersections, wherein a minimal distance between the intersections and the top face is 0.2mm to 1.4mm; or a minimal distance between the intersections and the left face or the right face is 0.2mm to 1.4mm.