The invention provides a solar sun-shading device which is used for sun shading in an automobile and comprises a first sun-shading plate, a second sun-shading plate, a sliding rail and a driving rotating shaft, the first sun-shading plate and/or the second sun-shading plate are solar cell sun-shading plates, the first sun-shading plate slides along the sliding rail, the driving rotating shaft is arranged at one end of the sliding rail. The driving rotating shaft comprises a shell, a sliding driving system and an angle driving system, the sliding driving system and the angle driving system are arranged in the shell, the sliding driving system controls horizontal movement of the first sun shield and the second sun shield, and the angle driving system controls the sliding rail to rotate along the driving rotating shaft. The invention further provides a vehicle front windshield sun-shading method. The front end and the rear end can be adjusted to be opened and closed according to the needs of passengers in the automobile, the front gear is used for shading, even if the automobile is parked, electric quantity can be provided for a storage battery and electric control equipment in the automobile while the front gear is used for shading, and the automobile is economical, environmentally friendly and convenient to operate.