PHOENIX -- The Arizona Diamondbacks fell into an early hole against a team ahead of them in the National League wild-card standings.
Once they cycled through the third inning, the hits kept coming.
"I was really pleased with the way we swung the bats tonight," Diamondbacks manager Torey Lovullo said. "We fell behind early and kept plowing away. We had the six-run inning and kept tacking on."
The Diamondbacks broke open the game with six runs in the third inning against Jhoulys Chacin (3-10), punctuated by hitting a single, double, triple and home run in four straight at-bats.
Arizona moved to within a game of the final NL wild-card spot after its seventh win in 10 games.
"We're feeling good. We're playing well," Marte said. "We feel like we have what it takes to make the playoffs."
Christian Yelich hit a two-run homer, his majors-leading 35th, and Lorenzo Cain hit a solo shot for the Brewers. Milwaukee led 3-1 early and scored three runs in the seventh inning to pull to within 10-7 but couldn't make up the deficit after the third.
"Offensively we did a nice job, put pressure on them," Brewers manager Craig Counsell said. "It just wasn't enough."
Chacin was sharp his last start in a no-decision against the San Francisco Giants, giving up an earned run and four hits in five innings.
He was not so sharp against the Diamondbacks.
Nick Ahmed hit a sacrifice fly in the second inning before Arizona went up 7-3 in the third.
Marte followed Jarrod Dyson's one-out single with his second double to score Dyson. Escobar then lined a run-scoring triple, and Walker followed with a two-run homer to left.
Arizona scored two more runs after Chacin was lifted and second baseman Keston Hiura botched a potential double play for an error.
Chacin gave up seven runs -- six earned -- and seven hits in 2 1/3 innings to remain winless in 11 straight starts since April 30.
"I haven't done anything to keep me in the rotation," Chacin said.
Arizona's Taylor Clarke (back) was reinstated from the 10-day injured list to start against the Brewers.
The right-hander was hit hard early.
Hiura lined a two-run single in the second inning, and Cain led off the third with his seventh homer to put Milwaukee up 3-1.
Clarke gave up four runs and seven hits in 3 2/3 innings.
"Just a few of those counts of falling behind and not really making a quality pitch," he said.
Marte was ejected in the seventh inning -- after swinging through a pitch on a strikeout.
He questioned a previous strike call by plate umpire Sam Holbrook then slammed his bat and helmet to the ground after missing Burch Smith's third strike. Holbrook sent Marte off right after his helmet hit the dirt.
"I felt it was unfair because I didn't say anything to him," Marte said through an interpreter after his second career ejection. "Maybe the helmet landed a little too close to him, but I really didn't say anything to warrant what happened."
Brewers: RHP Jimmy Nelson (elbow) is slated to make a rehab start for Class A Wisconsin on Sunday.
Diamondbacks: Dyson was back in the lineup after missing Thursday's game because of a hamstring cramp. ... RHP Jon Duplantier (shoulder) was reinstated from the 10-day injured list and optioned to Triple-A Reno. Infielder Domingo Leyba also was sent to Reno.
Brewers: LHP Gio Gonzalez is expected to be activated from the 10-day injured list (left arm fatigue) to start against Arizona on Saturday. He made rehab starts with Class A Carolina and Triple-A San Antonio after going on the injured list May 29.
Diamondbacks: RHP Zack Greinke needs six strikeouts against the Brewers on Saturday to tie Tim Keefe (2,555) for 31st and seven to tie Jerry Koosman (2,556) for 30th on the career strikeouts list.
Pineda hopes to put Twins back on track vs. White Sox
After their four-game winning streak was snapped by the Chicago White Sox in the series opener Monday, the American League Central-leading Minnesota Twins will turn to right-hander Michael Pineda in Game 2 of the three-game series on Tuesday night in...
Rangers to go young in doubleheader vs. Angels
The Texas Rangers have a treasure trove of young left-handers trying to break into the major leagues. They plan to start two more against the Los Angeles Angels in a doubleheader Tuesday at Arlington, Tex.
Cardinals look to maintain hold on Brewers
The St. Louis Cardinals will try to maintain their upper hand on the visiting Milwaukee Brewers as their three-game series continues Tuesday night at Busch Stadium.
King Felix 'prepared to go' after Triple-A start
Felix Hernandez, on the injured list since May, said after a rehab start that he is ready to return to the Mariners.
Two hot starters meet as Padres face Reds
San Diego manager Andy Green watched Kirby Yates, his All-Star closer, do what he has done much of the year on Monday night, and when the dust settled on a 3-2 Padres victory, Green sprinkled one word throughout his postgame conversation: clutch.
Mariners' Fraley might make debut vs. Rays
When he was selected by the Tampa Bay Rays in the second round of the 2016 draft out of Louisiana State, outfielder Jake Fraley figured to one day make his major league debut at Tropicana Field.