This utility model provides a display module and an electronic device. The display module includes a frame structure, a
light guide plate disposed in the frame structure, a
light source, and a flexible circuit board. The
light source is disposed on one side wall of the flexible circuit board, the
light guide plate is located on one side of the
light source, and a gap is provided between the
light guide plate and the light source. The flexible circuit board is located above the light guide plate, and a portion of the flexible circuit board and the end of the light guide plate facing the light source are staggered. A
colored film layer is provided on the side wall of the flexible circuit board facing the light source. The
colored film layer is used to mix the refracted light to form
white light before it is emitted. This application can improve the problem of yellowing in the lamp opening area.