Shares of retailers and other consumer companies rose after surprisingly strong earnings for some retailers.

Shares of Dick's Sporting Goods surged after the sportswear and equipment store posted second-quarter sales growth ahead of expectations, helped by the popularity of its curbside pickup service and a rush on at-home fitness equipment.

Nordstrom shares fell after the department store, one of the early adopters on e-commerce among mall-based chains, posted second-quarter revenue short of the Wall Street target, hurt by the postponement of a promotional sale.

Bricks-and-mortar stores are still seeing depleted traffic in many mall locations. Apparel retailer Express said it has reopened more than 500 stores as of Wednesday, but Chief Executive Tim Baxter said it remained focused on ecommerce delivery and pickup business, as reported earlier.

Write to Rob Curran at rob.curran@dowjones.com