A camera assembly , disposed on an electronic device and comprising: a camera module , a push block , an elastic component , a transmission rod , a transmission mechanism , a transmission shaft , and a limiting block , wherein a first end (14-A1) of the transmission rod is connected to the transmission mechanism , a second end (14-A2) of the transmission rod is connected to a first end (12-B1) of the push block by the elastic component , a second end (12-B2) of the push block is configured for contact with the camera module , a first through hole is provided in the transmission rod , and a first thread is arranged in the first through hole; a first end of the transmission shaft is fixedly connected to the camera module , a second end of the transmission shaft penetrates the first through hole in the transmission rod , a second thread is arranged on the transmission shaft , and the second thread on the transmission shaft matches the first thread in the first through hole in the transmission rod ; the transmission mechanism is configured to drive the transmission rod to move from a first position (Y1) to a second position (Y2) in a preset direction along the transmission shaft , and the transmission rod is configured to drive the push block to move in the preset direction, until the push block comes into contact with the limiting block fixed to the electronic device , and drive the camera module to move in the preset direction by using the elastic component and the push block ; and the transmission mechanism is configured to drive the transmission rod to move from the second position (Y2) to a third position (Y3) in the preset direction, the transmission rod is configured to drive the transmission shaft to rotate under the influence of the sum of the gravity of the camera module and the transmission shaft , and the transmission shaft is configured to drive the camera module to rotate. a camera module , a push block , an elastic component , a transmission rod , a transmission mechanism , a transmission shaft , and a limiting block , wherein a first end (14-A1) of the transmission rod is connected to the transmission mechanism , a second end (14-A2) of the transmission rod is connected to a first end (12-B1) of the push block by the elastic component , a second end (12-B2) of the push block is configured for contact with the camera module , a first through hole is provided in the transmission rod , and a first thread is arranged in the first through hole; a first end of the transmission shaft is fixedly connected to the camera module , a second end of the transmission shaft penetrates the first through hole in the transmission rod , a second thread is arranged on the transmission shaft , and the second thread on the transmission shaft matches the first thread in the first through hole in the transmission rod ; the transmission mechanism is configured to drive the transmission rod to move from a first position (Y1) to a second position (Y2) in a preset direction along the transmission shaft , and the transmission rod is configured to drive the push block to move in the preset direction, until the push block comes into contact with the limiting block fixed to the electronic device , and drive the camera module to move in the preset direction by using the elastic component and the push block ; and the transmission mechanism is configured to drive the transmission rod to move from the second position (Y2) to a third position (Y3) in the preset direction, the transmission rod is configured to drive the transmission shaft to rotate under the influence of the sum of the gravity of the camera module and the transmission shaft , and the transmission shaft is configured to drive the camera module to rotate. <EOS>