Eighteen novel triazole compounds containing thioamide were designed and synthesized. Their structures were confirmed by elemental analysis, 1H NMR, IR, and MS. The title compounds exhibited certain antifungal activity. And the geometry structures of the title compounds were optimized by means of the density functional theory (DFT) method at B3LYP/6-31G∗ level. The quantitative structure–activity relationship (QSAR) of the title ...