An electro-wetting-based variable-focus liquid lens with a spin coated polydimethylsiloxane (PDMS) layer is presented. The PDMS layer acts as both insulation and hydrophobic material of the liquid lens. By changing the applied voltage between the two electrodes, the radius of the water-oil contact curved surface is adjusted to realize the zoom function. In preparation process, at first, the liquid lens is divided into two parts, the PDMS substrate and the cavity, and then two parts of liquid lens are bonding together after surface treatment. After liquid injection and sealing cavity, the whole process was accomplished. The zooming performance of lens is tested, and COMSOL is used to analyze the shape of the water-oil contact curved surface at different voltages, the results shows that with the applied voltage changing from 0V to 120V, the height of meniscus vertex reduced from 2.41mm to 1.67mm, and the focal length changes from -14.3mm to infinity first, and then to 27.1mm.