PHOENIX -- The Dodgers' patchwork lineup kept Los Angeles atop the National League West. Again.
"These are our guys," Dodgers manager Don Mattingly said. "We're just kind of scratching for every win we can get right now. We've been able to put a couple of runs on the board and we've pitched good. That's been the main thing."
Diamondbacks starter Wade Miley allowed four runs and eight hits in 6 2/3 innings, with four strikeouts.
Van Slyke went deep off Miley, and Herrera hit his first big league homer to chase Arizona's lone All-Star representative in the seventh inning and back Nathan Eovaldi, who got his first win in his eighth start.
"Nice to finally get that first one out of the way," Eovaldi said. "I try to go out there and try to keep us as close in every ballgame as I can."
Eovaldi (1-5) lasted six innings and allowed a run on five hits with three walks and three strikeouts.
The Dodgers are in first place in the division despite missing three starters due to injury -- shortstop Dee Gordon will need surgery on his right thumb and miss six weeks, the club learned earlier Thursday. The Dodgers lost 11 of 12 games last month before turning things around with four wins in their past five games.
"It really goes back to our pitching. They keep us in the game. They keep us close, and then you have a chance," Mattingly said. "Then it's a matter of getting a big hit."
Arizona's club-record streak of 15 games with a home run ended.
"It stings now, and yes, it is a broken record but we will get back," Diamondbacks manager Kirk Gibson said. "I will be in a good mood, and we will go push ahead and play a good game."
Los Angeles second baseman Mark Ellis made his first start since May 18, when injured his left leg. Ellis finished 2-for-4 with a walk.
The Diamondbacks grounded into three double plays, and Herrera made a pair of important running catches on sinking line drives to left field.
Gibson defended his two-time All-Star outfielder, Justin Upton, after Upton heard boos during Wednesday's game, in which he went 0-for-5, stranding five runners on base, and afterward said he doesn't care about the fans. "I didn't read it that way. I think what he was saying was that he goes out and prepares. He's doing everything he can. It's all how you take the context of any quote," Gibson said. "I will say this about fans. Let's just stop if you're the fans and think about it. Do you want him to do good? Would booing in any way, shape or form motivate somebody or help somebody? J-Up cares about everything that he does here. Trust me." There was barely a smattering of boos for Upton on Thursday night after he went 2-for-4. ... Arizona LHP Joe Saunders will pitch in a rehabilitation assignment Sunday night at the Diamondbacks' training facility in nearby Scottsdale. Gibson wants to see Saunders, currently on the 15-day disabled list with a shoulder injury, get his pitch count up and build up his arm strength before he returns to the rotation.
Atlanta Braves shortstop Dansby Swanson and USWNT soccer player Mallory Pugh announce their engagement
Swanson earned a ring with a World Series win last month. Pugh got a ring this month. The two world champions announced their engagement and add to a star-studded list of power couples associated with the U.S. women's national team.
Time to put Minnie Minoso in Cooperstown (finally) and more on this weekend's Baseball Hall of Fame vote
Not everything in baseball is on lockdown. This weekend, the doors to Cooperstown could open for several deserving candidates -- including the most deserving of all.
MLB lockout in full effect as players, owners remain at an impasse
MLB commissioner Rob Manfred and union head Tony Clark voice opposing views of the players and owners that point to a lengthy lockout.
Advocates for Minor Leaguers forms steering committee to give players a voice, push for better conditions
Advocates for Minor Leaguers announced the formation of a player steering committee on Thursday that will provide strategic advice and leadership regarding the ongoing labor battle to provide better conditions across baseball's development levels.
What we do in the shadows: Locked-out players play into MLB's scrubbed pages
Players have started to change their profile pictures on Twitter to generic player silhouettes in response to MLB's decision to wipe their photos off league websites.
Rob Manfred defends MLB's decision to lock out players
MLB commissioner Rob Manfred explains why he believes a lockout is the best strategy to protect the 2022 MLB season for the benefit of fans.