The invention belongs to the field of radiopharmaceuticals, and particularly relates to an 18-labeling affinity type compound and a preparation method and application thereof. On one hand, the absorbing value of a tumor to the 18-labeling affinity type compound is high, and the tumor development sensitivity high; on the other hand, the absorbing value of the liver to the 18-labeling affinity type compound is low, and the toxic and side effect on the liver is little. Animal experiments show that the 18-labeling affinity type compound can serve as tumor PET photographic developer targeting an HER2 receiver due to the fact that the absorbing value of the tumor to the 18-labeling affinity type compound is high, the residence time is short, the target ratio / target-to-nontarget ratio is high, good pharmacokinetics characters are achieved, and the biological performance is excellent. The preparation method is low in cost, and easy, convenient and quick to operate, the labeling rate is high, the radiochemical purity of a labeled product is high, and the prepared 18-labeling affinity type compound serving as the tumor PET photographic developer tarting the HER2 receiver can be clinically applied and popularized easily.