|
|
@ -42,15 +42,14 @@ class _HouseKeepingDetailPageState extends State<HouseKeepingDetailPage> {
|
|
|
|
16.w.heightBox,
|
|
|
|
16.w.heightBox,
|
|
|
|
_buildProcess(),
|
|
|
|
_buildProcess(),
|
|
|
|
16.w.heightBox,
|
|
|
|
16.w.heightBox,
|
|
|
|
Offstage(
|
|
|
|
if (widget.model.handlingTime != null)
|
|
|
|
offstage: widget.model.handlingTime == null,
|
|
|
|
Column(
|
|
|
|
child: Column(
|
|
|
|
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
16.w.heightBox,
|
|
|
|
16.w.heightBox,
|
|
|
|
_serviceFeedBack(),
|
|
|
|
_serviceFeedBack(),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
Container(
|
|
|
|
Container(
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: 24.w, vertical: 24.w),
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: 24.w, vertical: 24.w),
|
|
|
|
color: Colors.white,
|
|
|
|
color: Colors.white,
|
|
|
@ -66,15 +65,14 @@ class _HouseKeepingDetailPageState extends State<HouseKeepingDetailPage> {
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Offstage(
|
|
|
|
if (widget.model.evaluationTime != null)
|
|
|
|
offstage: widget.model.evaluationTime == null,
|
|
|
|
Column(
|
|
|
|
child: Column(
|
|
|
|
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
16.w.heightBox,
|
|
|
|
16.w.heightBox,
|
|
|
|
_buildEvaluate(),
|
|
|
|
_buildEvaluate(),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
// 40.w.heightBox,
|
|
|
|
// 40.w.heightBox,
|
|
|
|
// _background(),
|
|
|
|
// _background(),
|
|
|
|
],
|
|
|
|
],
|
|
|
@ -93,7 +91,9 @@ class _HouseKeepingDetailPageState extends State<HouseKeepingDetailPage> {
|
|
|
|
case 5:
|
|
|
|
case 5:
|
|
|
|
return BottomButton(
|
|
|
|
return BottomButton(
|
|
|
|
onPressed: () {
|
|
|
|
onPressed: () {
|
|
|
|
Get.to(() => EvaluatePage());
|
|
|
|
Get.to(() => EvaluatePage(
|
|
|
|
|
|
|
|
id: widget.model.id,
|
|
|
|
|
|
|
|
));
|
|
|
|
},
|
|
|
|
},
|
|
|
|
child: '立即评价'.text.size(28.sp).bold.black.make());
|
|
|
|
child: '立即评价'.text.size(28.sp).bold.black.make());
|
|
|
|
default:
|
|
|
|
default:
|
|
|
@ -265,7 +265,7 @@ class _HouseKeepingDetailPageState extends State<HouseKeepingDetailPage> {
|
|
|
|
8.w.widthBox,
|
|
|
|
8.w.widthBox,
|
|
|
|
'维修人'.text.size(28.sp).color(ktextSubColor).make(),
|
|
|
|
'维修人'.text.size(28.sp).color(ktextSubColor).make(),
|
|
|
|
Spacer(),
|
|
|
|
Spacer(),
|
|
|
|
widget.model.handlerName.text.size(28.sp).black.make(),
|
|
|
|
widget.model.handlerName!.text.size(28.sp).black.make(),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
16.w.heightBox,
|
|
|
|
16.w.heightBox,
|
|
|
@ -279,7 +279,7 @@ class _HouseKeepingDetailPageState extends State<HouseKeepingDetailPage> {
|
|
|
|
8.w.widthBox,
|
|
|
|
8.w.widthBox,
|
|
|
|
'联系电话'.text.size(28.sp).color(ktextSubColor).make(),
|
|
|
|
'联系电话'.text.size(28.sp).color(ktextSubColor).make(),
|
|
|
|
Spacer(),
|
|
|
|
Spacer(),
|
|
|
|
widget.model.handlerTel.text.size(28.sp).black.make(),
|
|
|
|
widget.model.handlerTel!.text.size(28.sp).black.make(),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
16.w.heightBox,
|
|
|
|
16.w.heightBox,
|
|
|
@ -300,92 +300,4 @@ class _HouseKeepingDetailPageState extends State<HouseKeepingDetailPage> {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// int _airPlane = 1;
|
|
|
|
|
|
|
|
// int _train = 2;
|
|
|
|
|
|
|
|
// int _xxx = 3;
|
|
|
|
|
|
|
|
// int _select = 1;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Widget _background() {
|
|
|
|
|
|
|
|
// return Center(
|
|
|
|
|
|
|
|
// child: Container(
|
|
|
|
|
|
|
|
// width: 600.w,
|
|
|
|
|
|
|
|
// height: 600.w,
|
|
|
|
|
|
|
|
// decoration: BoxDecoration(
|
|
|
|
|
|
|
|
// color: Colors.transparent,
|
|
|
|
|
|
|
|
// borderRadius: BorderRadius.circular(16.w)),
|
|
|
|
|
|
|
|
// child: Column(
|
|
|
|
|
|
|
|
// children: [
|
|
|
|
|
|
|
|
// Row(
|
|
|
|
|
|
|
|
// children: [
|
|
|
|
|
|
|
|
// _header(
|
|
|
|
|
|
|
|
// _airPlane,
|
|
|
|
|
|
|
|
// _select,
|
|
|
|
|
|
|
|
// 'aaa',
|
|
|
|
|
|
|
|
// 'left'
|
|
|
|
|
|
|
|
// ).expand(),
|
|
|
|
|
|
|
|
// _header(_train, _select, 'bbb', 'mid').expand(),
|
|
|
|
|
|
|
|
// _header(_xxx, _select, 'ccc', 'right').expand(),
|
|
|
|
|
|
|
|
// ],
|
|
|
|
|
|
|
|
// ),
|
|
|
|
|
|
|
|
// Container(
|
|
|
|
|
|
|
|
// width: double.infinity,
|
|
|
|
|
|
|
|
// alignment: Alignment.center,
|
|
|
|
|
|
|
|
// child: 'xxxxxxxx'.text.size(36.sp).black.make(),
|
|
|
|
|
|
|
|
// color: Colors.white,
|
|
|
|
|
|
|
|
// ).expand(),
|
|
|
|
|
|
|
|
// ],
|
|
|
|
|
|
|
|
// ),
|
|
|
|
|
|
|
|
// ),
|
|
|
|
|
|
|
|
// );
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Widget _header(int value, int selectValue, String title, String position) {
|
|
|
|
|
|
|
|
// bool isSelect = value == selectValue;
|
|
|
|
|
|
|
|
// return Column(
|
|
|
|
|
|
|
|
// children: [
|
|
|
|
|
|
|
|
// isSelect
|
|
|
|
|
|
|
|
// ? Container(
|
|
|
|
|
|
|
|
// height: 40.w,
|
|
|
|
|
|
|
|
// decoration: BoxDecoration(
|
|
|
|
|
|
|
|
// color: Colors.white,
|
|
|
|
|
|
|
|
// borderRadius: BorderRadius.only(
|
|
|
|
|
|
|
|
// topLeft: position == 'left'
|
|
|
|
|
|
|
|
// ? Radius.zero
|
|
|
|
|
|
|
|
// : Radius.circular(20.w),
|
|
|
|
|
|
|
|
// topRight: position == 'right'
|
|
|
|
|
|
|
|
// ? Radius.zero
|
|
|
|
|
|
|
|
// : Radius.circular(20.w))),
|
|
|
|
|
|
|
|
// )
|
|
|
|
|
|
|
|
// : Container(height: 40.w, color: Colors.transparent),
|
|
|
|
|
|
|
|
// isSelect
|
|
|
|
|
|
|
|
// ? Container(
|
|
|
|
|
|
|
|
// height: 120.w,
|
|
|
|
|
|
|
|
// alignment: Alignment.center,
|
|
|
|
|
|
|
|
// width: double.infinity,
|
|
|
|
|
|
|
|
// child: title.text.size(32.sp).red500.make(),
|
|
|
|
|
|
|
|
// color: Colors.white,
|
|
|
|
|
|
|
|
// )
|
|
|
|
|
|
|
|
// : GestureDetector(
|
|
|
|
|
|
|
|
// onTap: () {
|
|
|
|
|
|
|
|
// _select = value;
|
|
|
|
|
|
|
|
// setState(() {});
|
|
|
|
|
|
|
|
// },
|
|
|
|
|
|
|
|
// child: Container(
|
|
|
|
|
|
|
|
// height: 120.w,
|
|
|
|
|
|
|
|
// width: double.infinity,
|
|
|
|
|
|
|
|
// alignment: Alignment.center,
|
|
|
|
|
|
|
|
// child: title.text.size(30.sp).black.make(),
|
|
|
|
|
|
|
|
// decoration: BoxDecoration(
|
|
|
|
|
|
|
|
// color: Colors.pinkAccent,
|
|
|
|
|
|
|
|
// borderRadius: BorderRadius.only(
|
|
|
|
|
|
|
|
// topLeft:!(position=='right')? Radius.circular(16.w):Radius.zero,
|
|
|
|
|
|
|
|
// topRight: !(position=='left')?Radius.circular(16.w):Radius.zero,
|
|
|
|
|
|
|
|
// bottomLeft: !(position=='left')?Radius.circular(16.w):Radius.zero,
|
|
|
|
|
|
|
|
// bottomRight:!(position=='right')?Radius.circular(16.w):Radius.zero)),
|
|
|
|
|
|
|
|
// ),
|
|
|
|
|
|
|
|
// ),
|
|
|
|
|
|
|
|
// ],
|
|
|
|
|
|
|
|
// );
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|