From cfb370e9cd208767dd416c653915dc78218453cd Mon Sep 17 00:00:00 2001 From: zhangmeng <494089941@qq.com> Date: Wed, 16 Jun 2021 11:13:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AE=A2=E5=8D=95=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E7=99=BD=E5=B1=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/ui/market/order/my_order_card.dart | 6 +++++- lib/ui/market/order/my_order_detail_page.dart | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) 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, ),