Batman has more technology while Spider-Man has more outright power
Batman has the advantages of more experience, more hand-to-hand combat ability, a stronger suit, overall more defense.
Spider-Man is smarter, has more agility, has the high ground, can shut down a lot of Bat’s tech with his webs, and can prob beat bat in an arm wrestling match.
So I’d say Spider-Man would win