The invention relates to a fluid power-generation shock damper of an electric bicycle. The telescopic action of a spring is used for pressing fluid in order to promote magnetoelectric effect for realizing power generation in a shocking process. The fluid power-generation shock damper comprises a damping device and a fluid power-generating device, wherein the damping device comprises a damping cylinder, a main hydraulic cylinder, a main piston rod, a main piston and a damping spring, wherein the top of the damping cylinder is provided with an upper lifting ring, the lower part of the main hydraulic cylinder is provided with a transmitting pipe, the bottom of the main hydraulic cylinder is provided with a lower lifting ring, the main piston rod is connected with the damping cylinder, the main piston is squeezed into the main hydraulic cylinder, and the upper end and the lower end of the damping spring are respectively fixed with the damping cylinder and the main hydraulic cylinder; the fluid power-generating device comprises an auxiliary hydraulic cylinder, circular magnets and a central shaft, wherein a coil is arranged into the auxiliary hydraulic cylinder, the auxiliary hydraulic cylinder is communicated with the upper end and the lower end of the main hydraulic cylinder, the circular magnets can move in the coil up and down, and the central shaft is used for connecting the circular magnets in series and is fixed into the auxiliary hydraulic cylinder. The fluid power-generation shock damper solves the problems that the traditional shock damper only has a damping action and wastes energy in a shocking process and has the characteristics of collecting and converting energy generated in the shocking process into electric energy, increasing once-charging running mileage, reducing energy waste, and the like.