This invention discloses a method for preparing hydrophobic and oleophobic photovoltaic glass, comprising the following steps: Step 1: Preparing ordinary photovoltaic glass according to conventional photovoltaic glass preparation methods; Step 2: Preparing a hydrophobic and oleophobic modified
epoxy resin coating solution, wherein the hydrophobic and oleophobic modified
epoxy resin coating solution comprises, by weight, 2-5 parts of
thiolactone-terminated fluorinated
prepolymer, 15-16 parts of 4,4'-diaminodiphenylmethane, 0.13-0.14 parts of
alkaline catalyst, 25-26.5 parts of
epoxy resin, and the remainder being
tetrahydrofuran solvent; Step 3: Preparing the hydrophobic and oleophobic photovoltaic glass by spraying the hydrophobic and oleophobic modified epoxy
resin coating solution obtained in Step 2 onto the surface of the photovoltaic glass obtained in Step 1, and after curing and
drying, forming a hydrophobic and oleophobic layer on the surface of the photovoltaic glass, thereby obtaining the hydrophobic and oleophobic photovoltaic glass. The hydrophobic and oleophobic photovoltaic glass provided by this invention achieves improved hydrophobic and oleophobic properties without affecting light
transmittance.