实现步骤:准备 ForEach 遍历数据的页面使用 http 获取数据渲染落地代码:准备 ForEach 遍历数据的页面interface News { id: number title: string source: string cmtcount: number img: string time: string} @Entry@Componentstruct Index { @State newsList: News[] = [{ "id": 1, "title": "5G渗透率持续提升,创新业务快速成长", "sour...