The invention relates to a preparation method of a
metal halide perovskite-coated three-dimensional
cobalt porphyrin-based COFs (Covalent Organic Frameworks)
composite material, which comprises the following steps: S1, reacting an
aldehyde precursor with an amine precursor in a first
organic solvent, and after the reaction is finished, performing post-treatment to obtain a three-dimensional
cobalt porphyrin-based COFs material; wherein the
aldehyde precursor is 5 ', 5 '', 5'' '', 5'' ''''-(5, 10, 15, 20-tetrayl)
tetra (([1, 1': 3 ', 1 ''-
terphenyl]-4, 4''-diformyl))-21H, 23H-
cobalt porphyrin (II), and the amine precursor is 4, 4'-diamino
terphenyl and 2 ', 5'-bis ((methylthio) methyl)-[1, 1 ': 4', 1 ''-
biphenyl]-4, 4''-
diamine; s2, in a second
organic solvent, enabling the three-dimensional cobalt porphyrin-based COFs material to react with
lead bromide, and after the reaction is finished, performing post-treatment to obtain a PbBr2 (at) 3D Co-COFs material; and S3, in a third
organic solvent, carrying out a reaction on the PbBr2 (at) 3D Co-COFs material and
methylamine bromide, and after the reaction is finished, carrying out post-treatment to obtain the
metal halide perovskite (at) three-dimensional cobalt porphyrin-based COFs
composite material. The preparation method has the
advantage that the photocatalytic activity and stability are improved.