A washing machine, comprising: a machine body provided with a port for putting clothes into the washing machine and taking clothes out of the washing machine; a door cover provided at a top of the machine body to cover the port, said door cover defining a frame strip; a driving motor and a bearing element, wherein the bearing element defines: a first end fixedly mounted within a bearing mounting part of the door cover and a second end connected with the driving motor and, wherein the driving motor is configured to drive the door cover via the bearing element to open around the frame strip which is configured as a pivot shaft characterized in that: the frame strip of the door cover is provided with the bearing mounting part, and that the bearing element is a one-way bearing comprising: an inner shaft part connected with the driving motor and an outer ring part fixedly mounted within the bearing mounting part of the frame strip of the door cover, so that: if the driving motor is driven to rotate to a first direction, the door cover follows to rotate to the first direction and the first direction is set to be a direction of opening the door cover; and if the driving motor is driven to rotate to a second direction, the one-way bearing and the inner shaft part connected to the driving motor rotate to the second direction, and the outer ring part follows the inner shaft part to rotate to the second direction under the gravity of the door cover, so that the door cover connected to the outer ring part falls down or becomes closed under the gravity of the door cover. a machine body provided with a port for putting clothes into the washing machine and taking clothes out of the washing machine; a door cover provided at a top of the machine body to cover the port, said door cover defining a frame strip; a driving motor and a bearing element, wherein the bearing element defines: a first end fixedly mounted within a bearing mounting part of the door cover and a second end connected with the driving motor and, wherein the driving motor is configured to drive the door cover via the bearing element to open around the frame strip which is configured as a pivot shaft characterized in that: the frame strip of the door cover is provided with the bearing mounting part, and that the bearing element is a one-way bearing comprising: an inner shaft part connected with the driving motor and an outer ring part fixedly mounted within the bearing mounting part of the frame strip of the door cover, so that: if the driving motor is driven to rotate to a first direction, the door cover follows to rotate to the first direction and the first direction is set to be a direction of opening the door cover; and if the driving motor is driven to rotate to a second direction, the one-way bearing and the inner shaft part connected to the driving motor rotate to the second direction, and the outer ring part follows the inner shaft part to rotate to the second direction under the gravity of the door cover, so that the door cover connected to the outer ring part falls down or becomes closed under the gravity of the door cover. and if the driving motor is driven to rotate to a second direction, the one-way bearing and the inner shaft part connected to the driving motor rotate to the second direction, and the outer ring part follows the inner shaft part to rotate to the second direction under the gravity of the door cover, so that the door cover connected to the outer ring part falls down or becomes closed under the gravity of the door cover.