A front-loading washing machine, comprising: a cabinet having a front panel, wherein the front panel is provided with an opening; a tub having an access port for loading and unloading clothes, wherein the tub is disposed in the cabinet and configured in such a manner that the access port is capable of being moved up and down in the opening; a rotatable drum disposed in the tub; a door unit mounted to the tub and configured to cover the access port; and a driving mechanism configured to drive the tub to move, wherein the driving mechanism is provided in the cabinet and coupled with the tub, and the driving mechanism is configured to drive the access port to move up and down between a washing position and a non-washing position in the opening; wherein the driving mechanism comprises: a longitudinal pushrod disposed at a front side of the tub; a transverse shaft disposed at a rear side of the tub and coupled to the tub; and a support frame disposed in the cabinet and having an hole; wherein the transverse shaft is configured to rotate in the hole of the support frame, and the support frame comprises: two longitudinal brackets, spaced apart from each other on the cabinet, and provided with the hole; and a transverse bracket, having two ends connected with the two longitudinal brackets respectively, and the longitudinal pushrod being mounted on the transverse bracket. a cabinet having a front panel, wherein the front panel is provided with an opening; a tub having an access port for loading and unloading clothes, wherein the tub is disposed in the cabinet and configured in such a manner that the access port is capable of being moved up and down in the opening; a rotatable drum disposed in the tub; a door unit mounted to the tub and configured to cover the access port; and a driving mechanism configured to drive the tub to move, wherein the driving mechanism is provided in the cabinet and coupled with the tub, and the driving mechanism is configured to drive the access port to move up and down between a washing position and a non-washing position in the opening; wherein the driving mechanism comprises: a longitudinal pushrod disposed at a front side of the tub; a transverse shaft disposed at a rear side of the tub and coupled to the tub; and a support frame disposed in the cabinet and having an hole; wherein the transverse shaft is configured to rotate in the hole of the support frame, and the support frame comprises: two longitudinal brackets, spaced apart from each other on the cabinet, and provided with the hole; and a transverse bracket, having two ends connected with the two longitudinal brackets respectively, and the longitudinal pushrod being mounted on the transverse bracket. a longitudinal pushrod disposed at a front side of the tub; a transverse shaft disposed at a rear side of the tub and coupled to the tub; and a support frame disposed in the cabinet and having an hole; wherein the transverse shaft is configured to rotate in the hole of the support frame, and the support frame comprises: two longitudinal brackets, spaced apart from each other on the cabinet, and provided with the hole; and a transverse bracket, having two ends connected with the two longitudinal brackets respectively, and the longitudinal pushrod being mounted on the transverse bracket. two longitudinal brackets, spaced apart from each other on the cabinet, and provided with the hole; and a transverse bracket, having two ends connected with the two longitudinal brackets respectively, and the longitudinal pushrod being mounted on the transverse bracket.