An electronic device, comprising: a device body having a display surface, a side enclosure connected to the display surface, and a back cover connected to a side of the side enclosure away from the display surface, the side enclosure being provided with a camera extending-retracting hole; a camera module provided in the device body and being able to be ejected from or retracted into the device body through the camera extending-retracting hole; and a lifting and rotating assembly connected with the camera module, and driving the camera module to be ejected from the device body through the camera extending-retracting hole and rotate, wherein the lifting and rotating assembly comprises a rotation driving member connected with the camera module, wherein the camera module is drivingly connected to the rotation driving member, and a rotating shaft of the rotation driving member is juxtaposed with a rotating shaft of the camera module, wherein a first rotating member is connected to an output end of the rotation driving member, and the camera module is provided with a second rotating member meshing with the first rotating member, wherein the camera module comprises: a main body configured to encapsulate at least one camera; and a connecting portion connected to the main body, an end of the connecting portion away from the main body being connected with the second rotating member, characterized in that, the camera module is configured to perform an image capturing through a light transmission hole in the back cover when retracted into the device body, and further configured to perform another image capturing in an opposite direction when ejected from the device body and rotated, wherein the second rotating member is of a half gear structure, and comprises a transmission portion and a non-transmission portion, the transmission portion and the non-transmission portion are connected and distributed circumferentially, the transmission portion is configured to mesh with the first rotating member, and the non-transmission portion is configured to limit rotation of the second rotating member relative to the first rotating member, wherein the transmission portion has meshing teeth and the non-transmission portion has no meshing tooth, wherein a central angle corresponding to the transmission portion is at least 180°. a device body having a display surface, a side enclosure connected to the display surface, and a back cover connected to a side of the side enclosure away from the display surface, the side enclosure being provided with a camera extending-retracting hole; a camera module provided in the device body and being able to be ejected from or retracted into the device body through the camera extending-retracting hole; and a lifting and rotating assembly connected with the camera module, and driving the camera module to be ejected from the device body through the camera extending-retracting hole and rotate, wherein the lifting and rotating assembly comprises a rotation driving member connected with the camera module, wherein the camera module is drivingly connected to the rotation driving member, and a rotating shaft of the rotation driving member is juxtaposed with a rotating shaft of the camera module, wherein a first rotating member is connected to an output end of the rotation driving member, and the camera module is provided with a second rotating member meshing with the first rotating member, wherein the camera module comprises: a main body configured to encapsulate at least one camera; and a connecting portion connected to the main body, an end of the connecting portion away from the main body being connected with the second rotating member, a main body configured to encapsulate at least one camera; and a connecting portion connected to the main body, an end of the connecting portion away from the main body being connected with the second rotating member, characterized in that, the camera module is configured to perform an image capturing through a light transmission hole in the back cover when retracted into the device body, and further configured to perform another image capturing in an opposite direction when ejected from the device body and rotated, wherein the second rotating member is of a half gear structure, and comprises a transmission portion and a non-transmission portion, the transmission portion and the non-transmission portion are connected and distributed circumferentially, the transmission portion is configured to mesh with the first rotating member, and the non-transmission portion is configured to limit rotation of the second rotating member relative to the first rotating member, wherein the transmission portion has meshing teeth and the non-transmission portion has no meshing tooth, wherein a central angle corresponding to the transmission portion is at least 180°.