Polyvinyl formal(PVF) and polyvinyl butyral(PVB) as polymer frameworks are used to prepare quasi-solid-state electrolytes loaded with I2 and Li I,which are further applied in dye-sensitized solar cells(DSCs) to improve the stability of DSCs. FTIR spectra