diff --git a/lib/ui/market/order/my_order_card.dart b/lib/ui/market/order/my_order_card.dart index 5a34decf..87c1f867 100644 --- a/lib/ui/market/order/my_order_card.dart +++ b/lib/ui/market/order/my_order_card.dart @@ -165,7 +165,11 @@ class _MyOrderCardState extends State { ].sepWidget(separate: 24.w.widthBox); case 2: return [ - CardBottomButton.yellow(text: '查看详情', onPressed: () {}), + CardBottomButton.yellow( + text: '查看详情', + onPressed: () { + Get.to(MyOrderDetailPage(model: widget.model)); + }), ].sepWidget(separate: 24.w.widthBox); case 3: return [ diff --git a/lib/ui/market/order/my_order_detail_page.dart b/lib/ui/market/order/my_order_detail_page.dart index 5a915082..67b1eda8 100644 --- a/lib/ui/market/order/my_order_detail_page.dart +++ b/lib/ui/market/order/my_order_detail_page.dart @@ -70,7 +70,7 @@ class _MyOrderDetailPageState extends State { widget.model.evaluateDateString), _goodsInfoWidget(), _orderInfo(), - _extraWidget(_topGoods), + _onload ? SizedBox() : _extraWidget(_topGoods), ].sepWidget( separate: 24.w.heightBox, ),