更新资讯页面

hmxc
小赖 4 years ago
parent f04beccfd6
commit 524bcc1610

@ -25,6 +25,7 @@ class _PublicInfomationViewState extends State<PublicInfomationView>
return BeeListView(
path: API.news.list,
controller: _refreshController,
extraParams: {'newsCategoryId': widget.model.id},
convert: (model) =>
model.tableList!.map((e) => NewsItemModel.fromJson(e)).toList(),
builder: (items) {

@ -17,7 +17,7 @@ class GoodsCard extends StatelessWidget {
color: Colors.white,
elevation: 0,
padding: EdgeInsets.zero,
onPressed: () => Get.to(() => GoodsDetailPage(id: 0)),
onPressed: () => Get.to(() => GoodsDetailPage(id: item.id)),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [

Loading…
Cancel
Save