|
|
@ -41,7 +41,7 @@ class _FacilityPreorderPageState extends State<FacilityPreorderPage> {
|
|
|
|
List<int> dateList = [];
|
|
|
|
List<int> dateList = [];
|
|
|
|
DateTime? date;
|
|
|
|
DateTime? date;
|
|
|
|
|
|
|
|
|
|
|
|
bool get canTap => dateList.isNotEmpty;
|
|
|
|
bool get canTap => dateList.isNotEmpty&&UserTool.userProvider.defaultHouse!=null;
|
|
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
Widget build(BuildContext context) {
|
|
|
@ -63,7 +63,7 @@ class _FacilityPreorderPageState extends State<FacilityPreorderPage> {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
onTap: () => Get.to(() => AdviceHousePage()),
|
|
|
|
onTap: () => Get.to(() => AdviceHousePage()),
|
|
|
|
title: Text(
|
|
|
|
title: Text(
|
|
|
|
UserTool.userProvider.userInfoModel!.name??'请先选择房屋',
|
|
|
|
UserTool.userProvider.userInfoModel!.name??'',
|
|
|
|
style: TextStyle(
|
|
|
|
style: TextStyle(
|
|
|
|
fontSize: 30.sp,
|
|
|
|
fontSize: 30.sp,
|
|
|
|
),
|
|
|
|
),
|
|
|
@ -76,7 +76,13 @@ class _FacilityPreorderPageState extends State<FacilityPreorderPage> {
|
|
|
|
color: Colors.black.withOpacity(0.45),
|
|
|
|
color: Colors.black.withOpacity(0.45),
|
|
|
|
fontSize: 26.sp,
|
|
|
|
fontSize: 26.sp,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
):SizedBox(),
|
|
|
|
):Text(
|
|
|
|
|
|
|
|
'请先绑定房屋',
|
|
|
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
|
|
|
color: Colors.black.withOpacity(0.45),
|
|
|
|
|
|
|
|
fontSize: 26.sp,
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
trailing: Icon(
|
|
|
|
trailing: Icon(
|
|
|
|
CupertinoIcons.chevron_forward,
|
|
|
|
CupertinoIcons.chevron_forward,
|
|
|
|
size: 35.w,
|
|
|
|
size: 35.w,
|
|
|
|