修复订单详情白屏问题

hmxc
张萌 3 years ago
parent d0833caab4
commit cfb370e9cd

@ -165,7 +165,11 @@ class _MyOrderCardState extends State<MyOrderCard> {
].sepWidget(separate: 24.w.widthBox); ].sepWidget(separate: 24.w.widthBox);
case 2: case 2:
return <Widget>[ return <Widget>[
CardBottomButton.yellow(text: '查看详情', onPressed: () {}), CardBottomButton.yellow(
text: '查看详情',
onPressed: () {
Get.to(MyOrderDetailPage(model: widget.model));
}),
].sepWidget(separate: 24.w.widthBox); ].sepWidget(separate: 24.w.widthBox);
case 3: case 3:
return [ return [

@ -70,7 +70,7 @@ class _MyOrderDetailPageState extends State<MyOrderDetailPage> {
widget.model.evaluateDateString), widget.model.evaluateDateString),
_goodsInfoWidget(), _goodsInfoWidget(),
_orderInfo(), _orderInfo(),
_extraWidget(_topGoods), _onload ? SizedBox() : _extraWidget(_topGoods),
].sepWidget( ].sepWidget(
separate: 24.w.heightBox, separate: 24.w.heightBox,
), ),

Loading…
Cancel
Save