An ophthalmic device that comprises a first objective lens system, an optical system, an anterior eye segment photographing system, and a first optical-path combining member. The first objective lens system includes two or more lenses. The optical system includes a projection system configured to project light onto a target eye via the first objective lens system. The anterior eye segment photographing system is used for photographing an anterior eye segment of the target eye. The first optical-path combining member is located between the two or more lenses to combine an optical path of the optical system and an optical path of the anterior eye segment photographing system.