An exemplary lens module (20) includes a lens barrel (5), a focusing
mechanism (7), a resilient member (9), and a bottom seat (6). The lens
barrel is mounted with a lens (517) therein. The lens barrel is axially
movable relative to the bottom seat due to a rotation of the focusing
mechanism and the force generated by the resilient member. Such an axial
movement, in turn, would change a position of the lens relative to the
bottom seat.