Browse Source

优惠券更改2

remove_uniapp
w-R 3 years ago
parent
commit
a78e04a28b
  1. 8
      lib/settlement/settlement.dart
  2. 4
      lib/view_widget/tips_dialog.dart

8
lib/settlement/settlement.dart

@ -597,7 +597,7 @@ class _Settlement extends State<Settlement> {
selectedBtn,
couponListBean?.id,
0,
null,
promotion?.id,
);
// }
}
@ -612,17 +612,17 @@ class _Settlement extends State<Settlement> {
return SettlementActivity(settleOrderInfo, storeInfo);
},
);
if (pro != null) {
// if (pro != null) {
this.promotion = pro;
promotions = promotion?.name ?? "";
coupons = "";
queryOrderInfo(
address?.id,
selectedBtn,
null,
couponListBean?.id,
0,
promotion?.id,
);
}
// }
}
}

4
lib/view_widget/tips_dialog.dart

@ -23,7 +23,7 @@ class _Tips extends State<Tips> {
child: Center(
child: Container(
width: MediaQuery.of(context).size.width - 80.w,
height: 146.h,
height: 165.h,
decoration: BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.circular(8),
@ -32,7 +32,7 @@ class _Tips extends State<Tips> {
children: [
Container(
width: double.infinity,
height: 90.h,
height:109.h,
alignment: Alignment.center,
padding: EdgeInsets.all(10),
child: Text(

Loading…
Cancel
Save