An electronic device, comprising: a device body, wherein the device body has an inner cavity and an opening communicating with the inner cavity; a camera module decorative part, wherein the camera module decorative part is disposed in the opening, and the camera module decorative part has a through hole; and a pan-tilt camera apparatus, wherein the pan-tilt camera apparatus is disposed in the inner cavity, the pan-tilt camera apparatus faces toward the through hole, the pan-tilt camera apparatus comprises a base and a camera module, the camera module is movably disposed on the base, and a surface of the camera module facing away from the inner cavity and a surface of the camera module decorative part facing away from the opening are located on a same plane; characterized in that the pan-tilt camera apparatus further comprises a drive assembly, and the camera module is in transmission connection with the base through the drive assembly; wherein in a case that the drive assembly is powered on, the drive assembly is able to deform and drive the camera module to move relative to the base; wherein the drive assembly comprises: a first telescopic member, a second telescopic member, a third telescopic member, and a fourth telescopic member, wherein the first telescopic member, the second telescopic member, the third telescopic member, and the fourth telescopic member are uniformly distributed around the camera module and disposed opposite each other; and two adjacent telescopic members of the first telescopic member, the second telescopic member, the third telescopic member, and the fourth telescopic member are able to bend and deform in a case of being powered on to pull the camera module downwards, and another two adjacent telescopic members of the first telescopic member, the second telescopic member, the third telescopic member, and the fourth telescopic member are in an extended state at the same time, so as to drive the camera module to perform a translation movement on a plane on which the base is located. a device body, wherein the device body has an inner cavity and an opening communicating with the inner cavity; a camera module decorative part, wherein the camera module decorative part is disposed in the opening, and the camera module decorative part has a through hole; and a pan-tilt camera apparatus, wherein the pan-tilt camera apparatus is disposed in the inner cavity, the pan-tilt camera apparatus faces toward the through hole, the pan-tilt camera apparatus comprises a base and a camera module, the camera module is movably disposed on the base, and a surface of the camera module facing away from the inner cavity and a surface of the camera module decorative part facing away from the opening are located on a same plane; characterized in that the pan-tilt camera apparatus further comprises a drive assembly, and the camera module is in transmission connection with the base through the drive assembly; wherein in a case that the drive assembly is powered on, the drive assembly is able to deform and drive the camera module to move relative to the base; wherein the drive assembly comprises: a first telescopic member, a second telescopic member, a third telescopic member, and a fourth telescopic member, wherein the first telescopic member, the second telescopic member, the third telescopic member, and the fourth telescopic member are uniformly distributed around the camera module and disposed opposite each other; and two adjacent telescopic members of the first telescopic member, the second telescopic member, the third telescopic member, and the fourth telescopic member are able to bend and deform in a case of being powered on to pull the camera module downwards, and another two adjacent telescopic members of the first telescopic member, the second telescopic member, the third telescopic member, and the fourth telescopic member are in an extended state at the same time, so as to drive the camera module to perform a translation movement on a plane on which the base is located.