A series of new compounds (1-12) containing 1,5-diaza-fluorenone, 1,10-phenanthroline-5,6-dione, ferrocene-1,1ʹ-dione, anthracene-9-carbaldehyde have been synthesized and optimized. The nanomaterials were also developed successfully. ) by theoretical investigation, UV-vis, and fluorescence experiments, and compound 6 displayed the strongest binding ability for AcO − ion among the synthesized compounds. Theoretical investigation analysis revealed that the intramolecular hydrogen bond existed in the structure of compound 6 and the roles of molecular frontier orbitals in molecular interplay. In addition, compound 6 showed wide antibacterial activity for colon bacillus, typhoid bacillus, and Pseudomonas aeruginosa, and inferior activity for hay bacillus and Staphylococcus aureus. This series of acylhydrazone nanomaterials showed double properties, anion binding ability, and antibacterial activity.