BEIJING — The Chinese consumer isn’t dead yet.

So says Alibaba Group, the Chinese e-commerce giant, which on Thursday reported strong financial results for the three months that ended in June, despite China’s slowing economic growth and a trade war with the United States that has hit the country’s factories.

The results, from a company that symbolizes the rising confidence of the Chinese consumer, suggest a mixed picture for the world’s second-largest economy after the United States. Just the day before, the country reported its worst monthly figures for industrial output in 17 years. Exports have fallen, though they rose unexpectedly in July, and the country’s factories are having a harder time charging higher prices for the goods they turn out.

But Alibaba’s results point to strengths. Though the pace of growth has slowed, Alibaba is still adding customers. China’s overall retail sales growth, while also slowing, is still strong compared with that of other countries.

“The question that is invariably asked is: How does Alibaba’s business, which is consumption-driven, continue to deliver robust growth despite challenges in the broader economy?” an Alibaba co-founder, Joseph Tsai, said in a conference call.