A push-pull rotating mechanism includes a first fixing member, a pulling member, a rotating member, a connecting member, and a steering member. The first fixing member includes a first side plate and a second side plate connected to the first side plate; the pulling member is movably disposed on the first side plate, the pulling member defines a first slideway, the rotating member is rotatably disposed on the second side plate, and the rotating member protrudes to form a first pin. The connecting member includes a first end, a second end, and a connecting portion connected between the first end and the second end, the first end corresponding to the first slideway is provided with a second pin, the second pin is movably inserted into the first slideway, the connecting portion is rotatably disposed on the first side plate, and the second end protrudes to form a third pin.