A camera assembly , comprising a base body , a driving component , a sliding body , and a camera module ; the base body being provided with a receiving cavity , and the driving component and the sliding body being received in the receiving cavity ; the driving component being configured to drive the sliding body moving relative to the base body , to enable the sliding body to extend out of or retract into the receiving cavity ; the sliding body comprising a base member and a cover plate , wherein the cover plate covers the base member and is engaged with the base member to define a component space ; the cover plate is provided with a through hole communicating with the component space , and the camera module is received in the component space ; the camera module comprising a voice coil motor and a lens , wherein the lens faces the through hole , and the voice coil motor is configured to drive the lens to extend out of or retract into the sliding body through the through hole ; characterized in that , the driving component comprises a motor and a leading screw , wherein the leading screw comprises a connecting portion , a main body portion , and a first rotating portion that are fixedly connected in order; wherein the connecting portion is connected to the motor and driven to rotate by the motor ; wherein the sliding body is slidably connected to the base body, and the sliding body further comprises a sliding portion and a second rotating portion , wherein the sliding portion is engaged with the main body portion so as to drive the sliding body to slide when the leading screw is driven to rotate by the motor ; the base member is fixed to a side of the second rotating portion away from the sliding portion , and the second rotating portion is capable of rotating relative to the sliding portion when cooperating with the first rotating portion , so as to enable the base member to rotate outside the receiving cavity . the base body being provided with a receiving cavity , and the driving component and the sliding body being received in the receiving cavity ; the driving component being configured to drive the sliding body moving relative to the base body , to enable the sliding body to extend out of or retract into the receiving cavity ; the sliding body comprising a base member and a cover plate , wherein the cover plate covers the base member and is engaged with the base member to define a component space ; the cover plate is provided with a through hole communicating with the component space , and the camera module is received in the component space ; the camera module comprising a voice coil motor and a lens , wherein the lens faces the through hole , and the voice coil motor is configured to drive the lens to extend out of or retract into the sliding body through the through hole ; characterized in that , the driving component comprises a motor and a leading screw , wherein the leading screw comprises a connecting portion , a main body portion , and a first rotating portion that are fixedly connected in order; wherein the connecting portion is connected to the motor and driven to rotate by the motor ; wherein the sliding body is slidably connected to the base body, and the sliding body further comprises a sliding portion and a second rotating portion , wherein the sliding portion is engaged with the main body portion so as to drive the sliding body to slide when the leading screw is driven to rotate by the motor ; the base member is fixed to a side of the second rotating portion away from the sliding portion , and the second rotating portion is capable of rotating relative to the sliding portion when cooperating with the first rotating portion , so as to enable the base member to rotate outside the receiving cavity . <EOS>