工单提醒自定义对话框样式

master
戴余标 2 years ago
parent 9018e8f2bd
commit 7738795115

@ -17,19 +17,28 @@ class UrgeDialog extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Container(
return Align(
alignment: Alignment.topCenter,
child: Container(
margin: EdgeInsets.all(40.w),
width: double.infinity,
height: 400.h,
padding: EdgeInsets.symmetric(horizontal: 32.w),
decoration: BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.circular(20.w),
),
child: Column(
children: [
120.w.heightBox,
90.w.heightBox,
title.text.size(36.sp).black.bold.isIntrinsic.make(),
40.w.heightBox,
content.text.size(28.sp).align(TextAlign.center).isIntrinsic.make(),
150.w.heightBox,
30.w.heightBox,
BeeLongButton(onPressed: onConfirm, text: '确认')
],
),
),
);
}
}

@ -25,9 +25,17 @@ class WorkOrderBillDialog extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Container(
return Align(
alignment: Alignment.topCenter,
child: Container(
margin: EdgeInsets.all(30.w),
padding: EdgeInsets.only(left: 40.w,right: 40.w,),
height: 430.h,
width: double.infinity,
decoration: BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.circular(20.w),
),
child: Column(
children: [
40.w.heightBox,
@ -60,7 +68,9 @@ class WorkOrderBillDialog extends StatelessWidget {
.sepWidget(
separate: 16.w.heightBox,
),
10.heightBox,
BeeDivider.horizontal(),
10.heightBox,
Row(
children: [
'工单总费用'
@ -82,6 +92,7 @@ class WorkOrderBillDialog extends StatelessWidget {
BeeLongButton(onPressed: onConfirm, text: '提醒用户支付'),
],
),
),
);
}
}

Loading…
Cancel
Save