An optical proximity sensor component, comprising an optical proximity sensor and a light guide body , wherein the light guide body comprises a first end face , the light guide body is fixed on the optical proximity sensor , the light guide body is configured to transfer, to the optical proximity sensor , light that enters from the first end face , and send out, through the first end face , light that is emitted by the optical proximity sensor , the light guide body comprises a second end face disposed opposite to the first end face , a light-shielding separating rib is disposed inside the light guide body , the light-shielding separating rib is disposed in a manner of extending from the first end face to the second end face , the light-shielding separating rib divides the light guide body into a first light guide part and a second light guide part , the first light guide part is configured to guide, into the optical proximity sensor , light that enters from the first end face , and the second light guide part is configured to guide out light that is emitted by the optical proximity sensor , and characterized in that an end that is of the light-shielding separating rib and that is near the first end face is a bent section (A), the bent section (A) bends towards the second light guide part , to form a light guide slope (B) facing the first end face , wherein the light guide slope (B) is configured to guide light entering the first end face into the first light guide part , the optical proximity sensor comprises a working face , a light shielding plate is disposed at a peripheral edge of the second end face of the light guide body , a slot is disposed at a peripheral edge of the working face , the light shielding plate is inserted into the slot, and the second end face and the working face are close and fit to each other. the light guide body comprises a first end face , the light guide body is fixed on the optical proximity sensor , the light guide body is configured to transfer, to the optical proximity sensor , light that enters from the first end face , and send out, through the first end face , light that is emitted by the optical proximity sensor , the light guide body comprises a second end face disposed opposite to the first end face , a light-shielding separating rib is disposed inside the light guide body , the light-shielding separating rib is disposed in a manner of extending from the first end face to the second end face , the light-shielding separating rib divides the light guide body into a first light guide part and a second light guide part , the first light guide part is configured to guide, into the optical proximity sensor , light that enters from the first end face , and the second light guide part is configured to guide out light that is emitted by the optical proximity sensor , and characterized in that an end that is of the light-shielding separating rib and that is near the first end face is a bent section (A), the bent section (A) bends towards the second light guide part , to form a light guide slope (B) facing the first end face , wherein the light guide slope (B) is configured to guide light entering the first end face into the first light guide part , the optical proximity sensor comprises a working face , a light shielding plate is disposed at a peripheral edge of the second end face of the light guide body , a slot is disposed at a peripheral edge of the working face , the light shielding plate is inserted into the slot, and the second end face and the working face are close and fit to each other. <EOS>