An electronic device, comprising: a device body, a screen mounted on a front side of the device body, a photo-sensing module comprising a light emitter and a light receiver, the light emitter being a vertical cavity surface emitting laser or an infrared light emitting diode, an optical axis of the light emitter being obliquely arranged relative to the screen, and a direction of an emitted light from the light emitter being tilted towards a side with the screen relative to the device body, wherein the emitted light from the light emitter is emitted from a preset side surface of the device body and tilted towards the side with the screen, characterized in further comprising a light guide member having a first refracting surface and a second refracting surface, wherein the first refracting surface corresponds to a position of the light emitter and the second refracting surface corresponds to the preset side surface, such that the emitted light enters the light guide member through the first refracting surface and exits out through the second refracting surface in a manner of a refracted light, and an angle between the refracted light and the preset side surface is less than an angle between the emitted light and the preset side surface, and a light absorber, the light guide member comprising a light-leakage surface except the first refracting surface and the second refracting surface, and the light absorber being fitted with the light-leakage surface, wherein the light guide member is arranged between the photo-sensing module and the preset side surface, and the light absorber is arranged on an inner side wall of the device body corresponding to the light-leakage surface, and wherein the light guide member fully fills a gap between the photo-sensing module and the preset side surface. a device body, a screen mounted on a front side of the device body, a photo-sensing module comprising a light emitter and a light receiver, the light emitter being a vertical cavity surface emitting laser or an infrared light emitting diode, an optical axis of the light emitter being obliquely arranged relative to the screen, and a direction of an emitted light from the light emitter being tilted towards a side with the screen relative to the device body, wherein the emitted light from the light emitter is emitted from a preset side surface of the device body and tilted towards the side with the screen, characterized in further comprising a light guide member having a first refracting surface and a second refracting surface, wherein the first refracting surface corresponds to a position of the light emitter and the second refracting surface corresponds to the preset side surface, such that the emitted light enters the light guide member through the first refracting surface and exits out through the second refracting surface in a manner of a refracted light, and an angle between the refracted light and the preset side surface is less than an angle between the emitted light and the preset side surface, and a light absorber, the light guide member comprising a light-leakage surface except the first refracting surface and the second refracting surface, and the light absorber being fitted with the light-leakage surface, wherein the light guide member is arranged between the photo-sensing module and the preset side surface, and the light absorber is arranged on an inner side wall of the device body corresponding to the light-leakage surface, and wherein the light guide member fully fills a gap between the photo-sensing module and the preset side surface.