The nanoparticle was prepared in two steps: in the first step, PcS could associate with APA2 to form non-fluorescent irregular binary nanoaggregates that integrate π–π interactions, electrostatic interactions and the heterodimer aggregation quenching effect; in the second step, FA-CD could co-assemble with a binary PcS/APA2 supramolecular complex via the host–guest interaction between CD and adamantane to obtain a ternary system with great biocompatibility and targeting capacity of cancer cells. The gene discussed is CNTN3; the disease is cancer.