A wireless charging method for an electronic device, comprising: detecting an environmental parameter transmitted by a wireless charging device; and moving a receiving antenna board within the electronic device to a designated position according to the environmental parameter, wherein charging efficiency for charging the electronic device at the designated position is higher than charging efficiency for charging the electronic device at other positions, wherein prior to moving the receiving antenna board within the electronic device to the designated position according to the environmental parameter, the method further comprises: reserving a designated region on a back surface of the electronic device or a protective cover of the electronic device, wherein the designated region is a range of movement of the receiving antenna board; moving the receiving antenna board within the electronic device to the designated position according to the environmental parameter comprises: determining a center position of a transmitting antenna board in the wireless charging device according to the environmental parameter; and moving the receiving antenna board to a position matching with the center position, wherein the position matching with the center position is taken as the designated position, determining the center position of the transmitting antenna board in the wireless charging device according to the environmental parameter comprises: firstly dividing the designated region to obtain firstly divided regions and controlling the receiving antenna board to move on the firstly divided regions; when detecting that the environmental parameter exceeds a predetermined threshold, further dividing a firstly divided region where the environmental parameter exceeds the predetermined threshold into further divided regions; and controlling the receiving antenna board to move on the further divided regions. detecting an environmental parameter transmitted by a wireless charging device; and moving a receiving antenna board within the electronic device to a designated position according to the environmental parameter, wherein charging efficiency for charging the electronic device at the designated position is higher than charging efficiency for charging the electronic device at other positions, wherein prior to moving the receiving antenna board within the electronic device to the designated position according to the environmental parameter, the method further comprises: reserving a designated region on a back surface of the electronic device or a protective cover of the electronic device, wherein the designated region is a range of movement of the receiving antenna board; moving the receiving antenna board within the electronic device to the designated position according to the environmental parameter comprises: determining a center position of a transmitting antenna board in the wireless charging device according to the environmental parameter; and moving the receiving antenna board to a position matching with the center position, wherein the position matching with the center position is taken as the designated position, determining the center position of the transmitting antenna board in the wireless charging device according to the environmental parameter comprises: firstly dividing the designated region to obtain firstly divided regions and controlling the receiving antenna board to move on the firstly divided regions; when detecting that the environmental parameter exceeds a predetermined threshold, further dividing a firstly divided region where the environmental parameter exceeds the predetermined threshold into further divided regions; and controlling the receiving antenna board to move on the further divided regions.