|
...
|
...
|
@@ -2567,97 +2567,97 @@ class InvicationPageState extends State<InvicationPage> |
|
|
|
)
|
|
|
|
],
|
|
|
|
)),
|
|
|
|
InkWell(
|
|
|
|
onTap: () {
|
|
|
|
FocusScope.of(context)
|
|
|
|
.requestFocus(FocusNode()); //隐藏键盘
|
|
|
|
|
|
|
|
//跳转到新页面
|
|
|
|
|
|
|
|
NavigatorUtil.goInvicationAdditionPage(context);
|
|
|
|
|
|
|
|
},
|
|
|
|
child: Container(
|
|
|
|
margin: EdgeInsets.only(
|
|
|
|
// top: ScreenUtil().setWidth(40),
|
|
|
|
bottom: ScreenUtil().setWidth(40)),
|
|
|
|
height: ScreenUtil().setWidth(68),
|
|
|
|
padding: EdgeInsets.symmetric(
|
|
|
|
horizontal: ScreenUtil().setWidth(16)),
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
borderRadius: BorderRadius.circular(
|
|
|
|
ScreenUtil().setWidth(12)),
|
|
|
|
// color: Colors.red,
|
|
|
|
border: Border.all(
|
|
|
|
width: ScreenUtil().setWidth(2),
|
|
|
|
color: MyColours.color_DBDBDB)),
|
|
|
|
child: Row(
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
children: [
|
|
|
|
Text(
|
|
|
|
'自定义图文:',
|
|
|
|
style: TextStyle(
|
|
|
|
fontSize: ScreenUtil().setSp(28),
|
|
|
|
color: MyColours.color_515151),
|
|
|
|
),
|
|
|
|
|
|
|
|
Expanded(
|
|
|
|
child: Text(
|
|
|
|
'点击设置本单追加的自定义图文',
|
|
|
|
textAlign: TextAlign.right,
|
|
|
|
style: TextStyle(
|
|
|
|
fontSize: ScreenUtil().setSp(28),
|
|
|
|
color: MyColours.color_999999),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
// InkWell(
|
|
|
|
// onTap: () {
|
|
|
|
// FocusScope.of(context)
|
|
|
|
// .requestFocus(FocusNode()); //隐藏键盘
|
|
|
|
// // 存储
|
|
|
|
|
|
|
|
// DialogUtil.openDishTypeSelectModalBottomSheet(
|
|
|
|
// context,
|
|
|
|
// detailModel.reserveTypes,
|
|
|
|
// reserveType, rCallback: (value) async {
|
|
|
|
// if (value != null) {
|
|
|
|
// reserveType = value;
|
|
|
|
// setState(() {});
|
|
|
|
// bool sucess = await detailModel
|
|
|
|
// .upReserveInfo(context, widget.rid,
|
|
|
|
// reserveType: reserveType,
|
|
|
|
// needToast: false);
|
|
|
|
// if (sucess) {
|
|
|
|
// EventBus()
|
|
|
|
// .emit("refresh_tablemanager"); //刷新桌位
|
|
|
|
// bus.emit("refresh_book_list"); //刷新已预订列表
|
|
|
|
// bus.emit("refresh_detail");
|
|
|
|
// // await _getReserveDetail(
|
|
|
|
// // showCicle: false);
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// });
|
|
|
|
// },
|
|
|
|
// child: Row(children: [
|
|
|
|
// Text(
|
|
|
|
// reserveType,
|
|
|
|
// style: TextStyle(
|
|
|
|
// color: reserveType == '请选择'
|
|
|
|
// ? MyColours.color_999999
|
|
|
|
// : MyColours.color_515151,
|
|
|
|
// fontSize: ScreenUtil().setSp(28),
|
|
|
|
// ),
|
|
|
|
// ),
|
|
|
|
// HEmptyView(4),
|
|
|
|
// Image.asset(Utils.getImgPath('quan_down_f'),
|
|
|
|
// width: ScreenUtil().setWidth(28),
|
|
|
|
// height: ScreenUtil().setWidth(28)),
|
|
|
|
// ]),
|
|
|
|
// )
|
|
|
|
],
|
|
|
|
))),
|
|
|
|
// InkWell(
|
|
|
|
// onTap: () {
|
|
|
|
// FocusScope.of(context)
|
|
|
|
// .requestFocus(FocusNode()); //隐藏键盘
|
|
|
|
|
|
|
|
// //跳转到新页面
|
|
|
|
|
|
|
|
// NavigatorUtil.goInvicationAdditionPage(context);
|
|
|
|
|
|
|
|
// },
|
|
|
|
// child: Container(
|
|
|
|
// margin: EdgeInsets.only(
|
|
|
|
// // top: ScreenUtil().setWidth(40),
|
|
|
|
// bottom: ScreenUtil().setWidth(40)),
|
|
|
|
// height: ScreenUtil().setWidth(68),
|
|
|
|
// padding: EdgeInsets.symmetric(
|
|
|
|
// horizontal: ScreenUtil().setWidth(16)),
|
|
|
|
// decoration: BoxDecoration(
|
|
|
|
// borderRadius: BorderRadius.circular(
|
|
|
|
// ScreenUtil().setWidth(12)),
|
|
|
|
// // color: Colors.red,
|
|
|
|
// border: Border.all(
|
|
|
|
// width: ScreenUtil().setWidth(2),
|
|
|
|
// color: MyColours.color_DBDBDB)),
|
|
|
|
// child: Row(
|
|
|
|
// mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
// crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
// children: [
|
|
|
|
// Text(
|
|
|
|
// '自定义图文:',
|
|
|
|
// style: TextStyle(
|
|
|
|
// fontSize: ScreenUtil().setSp(28),
|
|
|
|
// color: MyColours.color_515151),
|
|
|
|
// ),
|
|
|
|
|
|
|
|
// Expanded(
|
|
|
|
// child: Text(
|
|
|
|
// '点击设置本单追加的自定义图文',
|
|
|
|
// textAlign: TextAlign.right,
|
|
|
|
// style: TextStyle(
|
|
|
|
// fontSize: ScreenUtil().setSp(28),
|
|
|
|
// color: MyColours.color_999999),
|
|
|
|
// ),
|
|
|
|
// ),
|
|
|
|
|
|
|
|
// // InkWell(
|
|
|
|
// // onTap: () {
|
|
|
|
// // FocusScope.of(context)
|
|
|
|
// // .requestFocus(FocusNode()); //隐藏键盘
|
|
|
|
// // // 存储
|
|
|
|
|
|
|
|
// // DialogUtil.openDishTypeSelectModalBottomSheet(
|
|
|
|
// // context,
|
|
|
|
// // detailModel.reserveTypes,
|
|
|
|
// // reserveType, rCallback: (value) async {
|
|
|
|
// // if (value != null) {
|
|
|
|
// // reserveType = value;
|
|
|
|
// // setState(() {});
|
|
|
|
// // bool sucess = await detailModel
|
|
|
|
// // .upReserveInfo(context, widget.rid,
|
|
|
|
// // reserveType: reserveType,
|
|
|
|
// // needToast: false);
|
|
|
|
// // if (sucess) {
|
|
|
|
// // EventBus()
|
|
|
|
// // .emit("refresh_tablemanager"); //刷新桌位
|
|
|
|
// // bus.emit("refresh_book_list"); //刷新已预订列表
|
|
|
|
// // bus.emit("refresh_detail");
|
|
|
|
// // // await _getReserveDetail(
|
|
|
|
// // // showCicle: false);
|
|
|
|
// // }
|
|
|
|
// // }
|
|
|
|
// // });
|
|
|
|
// // },
|
|
|
|
// // child: Row(children: [
|
|
|
|
// // Text(
|
|
|
|
// // reserveType,
|
|
|
|
// // style: TextStyle(
|
|
|
|
// // color: reserveType == '请选择'
|
|
|
|
// // ? MyColours.color_999999
|
|
|
|
// // : MyColours.color_515151,
|
|
|
|
// // fontSize: ScreenUtil().setSp(28),
|
|
|
|
// // ),
|
|
|
|
// // ),
|
|
|
|
// // HEmptyView(4),
|
|
|
|
// // Image.asset(Utils.getImgPath('quan_down_f'),
|
|
|
|
// // width: ScreenUtil().setWidth(28),
|
|
|
|
// // height: ScreenUtil().setWidth(28)),
|
|
|
|
// // ]),
|
|
|
|
// // )
|
|
|
|
// ],
|
|
|
|
// ))),
|
|
|
|
//输入框
|
|
|
|
Container(
|
|
|
|
width: double.infinity,
|
...
|
...
|
|