Construction, mechanism, and antibacterial resistance insight into polypeptide-based nanoparticles.