refer to fig1 and fig2 fig1 is an exploded structural drawing of an electronic apparatus with photographing function of the present invention fig2 is a perspective drawing of the electronic apparatus with photographing function of the present invention as shown in fig1 and fig2 an electronic apparatus 1 comprises a main body 10 and a sliding structure 20 the main body 10 comprises a lens module 11 a control module 12 and a track structure 13 the track structure 13 enables the sliding structure 20 to be moveably engaged with the main body 10 and the sliding structure 20 comprises an optical module 22 the optical module 22 comprises an upper cover 222 and a lower cover 224 and the upper cover 222 further comprises an indentation 222 a and two light incidence openings 222 b furthermore a light reflecting element not shown is disposed on the inside surface of the indentation 222 a and the two light incidence openings 222 b are located at the two ends of the upper cover 222 the distance between the two light incidence openings 222 b is substantially equal to the average distance between a human 39 s eyes the lower cover 224 comprises a lens hole 224 a and two inclines 224 b the lens hole 224 a corresponds to the indentation 222 a of the upper cover 222 such that light can be reflected into the lens module 11 two inclines 224 b are located at two ends of the lower cover 224 each incline 224 b corresponds to each light incidence opening 222 b of the upper cover 222 and a light reflecting element not.