The application discloses an electrochromic device and an electronic device. The electrochromic device comprises two parallel and opposite
electrode layers, an electrochromic functional layer between the
electrode layers, at least two main division gaps in the
electrode layers, the main division gaps dividing the electrode layers into multiple independent electrode blocks, the main division gaps in the two electrode layers being mirror-symmetrical, multiple parallel secondary division gaps in the electrode blocks, the secondary division gaps dividing the electrode blocks into multiple sub-electrodes, one end of the secondary division gaps being
cut off at a main division gap adjacent to the electrode block, the other end of the secondary division gaps being
cut off at the edge of the electrode layer included in the electrode block, the direction perpendicular to the plane where the electrode layers are located being a first direction, and the secondary division gaps in the two electrode blocks being intersected in different planes for the two electrode blocks vertically opposite in the first direction, so that the electrochromic device is divided into multiple pixels. The application can realize real-time conversion
dynamic display, improve the uniformity and response speed of
electrochromism.