An electronic device, comprising a rear cover and a camera decoration component that are fixedly connected, wherein the camera decoration component comprises a decoration member, a dial plate, a plurality of positioning members and a plurality of induction members; the dial plate is annular, and is sleeved on an outer peripheral side of the decoration member; the decoration member comprises a virtual rotation axis, and the dial plate is rotatably connected to the decoration member, and is configured to rotate around the virtual rotation axis of the decoration member; the plurality of positioning members are fixed to the decoration member and are disposed toward the dial plate, the plurality of positioning members are disposed at equal intervals along a circumferential direction of the virtual rotation axis, the plurality of induction members are fixed to the dial plate and are disposed toward the decoration member, and the plurality of induction members are disposed at equal intervals along the circumferential direction of the virtual rotation axis; the virtual rotation axis is used as a center of a circle, an angle between two adjacent positioning members is α, an angle between two adjacent induction members is β, and there is an integer multiple relationship between the angle α and the angle β; and during directly facing each other, the positioning member and the induction member are configured to control the dial plate to be in a hovering state, wherein the plurality of induction members is made of magnetic iron, and the plurality of positioning members is made of magnetic metal or magnetic iron; or the plurality of induction members is made of magnetic metal, and the plurality of positioning members is made of magnetic iron. the camera decoration component comprises a decoration member, a dial plate, a plurality of positioning members and a plurality of induction members; the dial plate is annular, and is sleeved on an outer peripheral side of the decoration member; the decoration member comprises a virtual rotation axis, and the dial plate is rotatably connected to the decoration member, and is configured to rotate around the virtual rotation axis of the decoration member; the plurality of positioning members are fixed to the decoration member and are disposed toward the dial plate, the plurality of positioning members are disposed at equal intervals along a circumferential direction of the virtual rotation axis, the plurality of induction members are fixed to the dial plate and are disposed toward the decoration member, and the plurality of induction members are disposed at equal intervals along the circumferential direction of the virtual rotation axis; the virtual rotation axis is used as a center of a circle, an angle between two adjacent positioning members is α, an angle between two adjacent induction members is β, and there is an integer multiple relationship between the angle α and the angle β; and during directly facing each other, the positioning member and the induction member are configured to control the dial plate to be in a hovering state, wherein the plurality of induction members is made of magnetic iron, and the plurality of positioning members is made of magnetic metal or magnetic iron; or the plurality of induction members is made of magnetic metal, and the plurality of positioning members is made of magnetic iron.