The invention relates to a composite carbon nanomaterial as well as a preparation method and application thereof, and belongs to the technical field of material preparation. The invention provides a preparation method of a composite carbon nanomaterial, which comprises the following steps: (1) stirring tetraethyl
silicate in an alkaline solution, adding
dopamine hydrochloride, continuously stirring, centrifuging,
drying, calcining and
etching to obtain N-doped hollow carbon spheres; and (2) uniformly mixing 2-methylimidazole and the N-doped hollow carbon spheres obtained in the step (1) in a
solvent, carrying out rotary
evaporation, adding a
zinc source, continuously carrying out rotary
evaporation, adding
triethylamine, heating at a constant temperature, washing, centrifuging and
drying to obtain the composite carbon nanomaterial. The prepared composite carbon material has
high conductivity, high
porosity, high specific surface area and excellent
chemical stability, and when the composite carbon material is applied to detection of
luteolin through an electrochemical method, the operation is simple, the cost is low, the reliability is high, the response speed is high, the detection cost is reduced to a great extent, and the detection efficiency is improved.