An electronic device comprising: a display panel; and a photosensitive device located under the display panel wherein the display panel comprises: a non-light-transmissive display area comprising: second pixel driving circuits; a second pixel array, the second pixel array including a plurality of sub-pixels, and each one of the plurality of sub-pixels corresponds to one of the second pixel driving circuits; a light-transmissive display area, set to correspond to the photosensitive device, the light-transmissive display area characterized in comprising: first pixel driving circuits; a first pixel array, comprising an alternating light-emitting region, wherein the alternating light-emitting region includes a plurality of sub-pixel groups (1211, 1212, 1213, 1214), the plurality of sub-pixel groups include at least two colors, and each one of the plurality of sub-pixel groups includes at least one sub-pixel of the same color, at least two sub-pixel groups of the same color are connected in parallel to the same one of said first pixel driving circuits; and a plurality of switching circuits, each one of the plurality of switching circuits being connected with corresponding sub-pixel groups and first pixel driving circuit; a control circuit configured to connect with the plurality of the switching circuits and the first pixel driving circuits, wherein the control circuit is configured to control at least two switching circuits connected with the sub-pixel groups of the same color to alternately turn on and control the first pixel driving circuits to make the sub-pixel groups of the same color in the alternating light-emitting region to emit light alternately. a photosensitive device located under the display panel wherein the display panel comprises: a non-light-transmissive display area comprising: second pixel driving circuits; a second pixel array, the second pixel array including a plurality of sub-pixels, and each one of the plurality of sub-pixels corresponds to one of the second pixel driving circuits; a light-transmissive display area, set to correspond to the photosensitive device, the light-transmissive display area characterized in comprising: first pixel driving circuits; a first pixel array, comprising an alternating light-emitting region, wherein the alternating light-emitting region includes a plurality of sub-pixel groups (1211, 1212, 1213, 1214), the plurality of sub-pixel groups include at least two colors, and each one of the plurality of sub-pixel groups includes at least one sub-pixel of the same color, at least two sub-pixel groups of the same color are connected in parallel to the same one of said first pixel driving circuits; and a plurality of switching circuits, each one of the plurality of switching circuits being connected with corresponding sub-pixel groups and first pixel driving circuit; a control circuit configured to connect with the plurality of the switching circuits and the first pixel driving circuits, wherein the control circuit is configured to control at least two switching circuits connected with the sub-pixel groups of the same color to alternately turn on and control the first pixel driving circuits to make the sub-pixel groups of the same color in the alternating light-emitting region to emit light alternately. a non-light-transmissive display area comprising: second pixel driving circuits; a second pixel array, the second pixel array including a plurality of sub-pixels, and each one of the plurality of sub-pixels corresponds to one of the second pixel driving circuits; a light-transmissive display area, set to correspond to the photosensitive device, the light-transmissive display area characterized in comprising: first pixel driving circuits; a first pixel array, comprising an alternating light-emitting region, wherein the alternating light-emitting region includes a plurality of sub-pixel groups (1211, 1212, 1213, 1214), the plurality of sub-pixel groups include at least two colors, and each one of the plurality of sub-pixel groups includes at least one sub-pixel of the same color, at least two sub-pixel groups of the same color are connected in parallel to the same one of said first pixel driving circuits; and a plurality of switching circuits, each one of the plurality of switching circuits being connected with corresponding sub-pixel groups and first pixel driving circuit; a control circuit configured to connect with the plurality of the switching circuits and the first pixel driving circuits, wherein the control circuit is configured to control at least two switching circuits connected with the sub-pixel groups of the same color to alternately turn on and control the first pixel driving circuits to make the sub-pixel groups of the same color in the alternating light-emitting region to emit light alternately. first pixel driving circuits; a first pixel array, comprising an alternating light-emitting region, wherein the alternating light-emitting region includes a plurality of sub-pixel groups (1211, 1212, 1213, 1214), the plurality of sub-pixel groups include at least two colors, and each one of the plurality of sub-pixel groups includes at least one sub-pixel of the same color, at least two sub-pixel groups of the same color are connected in parallel to the same one of said first pixel driving circuits; and a plurality of switching circuits, each one of the plurality of switching circuits being connected with corresponding sub-pixel groups and first pixel driving circuit;