The invention provides an electrochemical device and an electronic device, the electrochemical device comprises a positive
pole piece, a negative
pole piece and a diaphragm, a functional layer is arranged between the positive
pole piece and the diaphragm, the functional layer comprises porous
aerogel and a
phase change heat absorption material, and the heat
conductivity coefficient of the porous
aerogel is 0.01 W / (m.k)-0.05 W / (m.k). The porous
aerogel comprises at least one of silica aerogel,
metal oxide aerogel,
polymer aerogel and carbon aerogel; the
phase change heat absorption material comprises at least one of
gallium alloy,
indium tin alloy, paraffin, salt
hydrate or
fatty acid; the thickness of the functional layer is 1-5 [mu] m. Based on the total
mass of the functional layer, the total
mass percentage of the
phase change heat absorption material and the porous aerogel is 80%-98%. The characteristics are met by regulating and controlling the types of the functional layer and the content of each component, and the design of the functional layer can reduce the temperature
rise rate of the positive pole piece while improving the heat dissipation performance of the functional layer, so that the
thermal stability safety performance and the crushing-resistant safety performance of the electrochemical device are improved.