The invention provides an X-
ray detector based on halogenated
metal complex gel and a preparation method thereof, and belongs to the technical field of X-
ray detectors. The X-
ray detector comprises a substrate, a modification layer, a gel
active layer and an
electrode which are sequentially stacked from bottom to top, the material of the gel
active layer is a halogenated
metal complex formed by mixing a
phosphorus-containing complex and a
metal halide in a
solvent. The preparation method of the X-ray
detector comprises the following steps: mixing a
phosphorus-containing complex with a metal
halide, and fully dissolving the mixture in a
solvent to prepare a gel precursor solution;
coating the substrate with a liquid cementing material, and
drying to form a modification layer; dropwise adding a gel precursor solution on the surface of the modification layer of the substrate, covering the modification layer, and performing annealing treatment to obtain a gel
active layer; and arranging a conductive
electrode on the surface of the gel active layer to prepare the X-ray detector. The X-ray detector prepared on the basis of the halogenated metal complex gel has the advantages of high stability, high sensitivity, high response speed and the like.