The Mets might need to move back the fences in their bandbox ballpark.

Lucas Duda and David Wright sure made Citi Field resemble an East Coast version of the Friendly Confines with monstrous home runs Friday night to offer a glimpse of what was largely missing from this Mets lineup over the first 2 ½ months of the season.

With Duda and Wright each going very deep, the Mets rolled to a 7-1 victory over the Marlins.

Duda’s blast into the Pepsi Porch in right field in the third inning and Wright’s shot that reached the left-field mezzanine in the fifth highlighted a 12-hit attack for the Mets and helped Zack Wheeler get a second straight win.

The Mets have homered in 10 of their last 11 games at Citi Field, perhaps dispelling the notion the ballpark is a graveyard for the home team’s hitters.

“I’ve said all along, and it seems kind of dumb, but I think it’s true: The weather has warmed up,” Wright said. “The ball carries better here when the weather is warm.”

Wright finished 4-for-4 with two RBIs on a night his team bludgeoned nemesis Henderson Alvarez, who had a 20-inning scoreless streak against the Mets snapped when he allowed two runs in the second. In his previous five starts against the Mets, Alvarez had allowed a total of four runs.