With the advancement of energy conservation and emission reduction efforts, the orderly charging of electric vehicles and the operation of photovoltaic-storage-charging stations associated with electric vehicles have become increasingly important topics. This study constructs an optimization model for the operation of stations under the synergy of electricity and carbon markets from a game theory perspective. Firstly, Latin hypercube sampling and Monte Carlo sampling are employed to handle the uncertainties in photovoltaic output and the stochastic nature of electric vehicles charging. Secondly, a ladder-type carbon trading mechanism is introduced, and a charging optimization model based on Stackelberg game theory is developed to describe the benefit interaction between charging stations and electric vehicles users. In this model, the upper level represents the charging station operator aiming to maximize joint electricity and carbon revenue while minimizing load fluctuations, whereas the lower level represents electric vehicles users aiming to maximize consumer surplus. Finally, a genetic algorithm nested with mixed-integer linear programming is used to solve the optimization model. The simulation results validate the model's effectiveness and superiority. The results indicate that, compared to centralized optimization methods, the Stackelberg game mechanism can increase consumer surplus by 119.40 %, reduce carbon emissions by 217.92 %, and achieve a win-win situation for both parties. Compared to a fixed carbon trading value, the ladder-type carbon trading mechanism can reduce carbon emissions by 23.84 % and smooth load fluctuations.