设备 预约接口
This commit is contained in:
@@ -45,6 +45,7 @@ class ApplyRepairPage extends GetView<ApplyRepairController> {
|
||||
),
|
||||
),
|
||||
child: Scaffold(
|
||||
resizeToAvoidBottomInset: true, // 自动调整页面避免被键盘遮挡
|
||||
backgroundColor: Colors.transparent,
|
||||
appBar: AppBar(
|
||||
backgroundColor: Colors.transparent,
|
||||
@@ -1779,8 +1780,8 @@ class ApplyRepairPage extends GetView<ApplyRepairController> {
|
||||
),
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsetsDirectional.fromSTEB(
|
||||
15, 15, 15, AppConstants.page_button_bottom_padding),
|
||||
padding: EdgeInsetsDirectional.fromSTEB(30.rpx, 30.rpx,
|
||||
30.rpx, AppConstants.page_button_bottom_padding),
|
||||
child: Container(
|
||||
width: bodysize!.maxWidth,
|
||||
height: bodysize!.maxHeight * 0.056,
|
||||
@@ -1836,61 +1837,7 @@ class ApplyRepairPage extends GetView<ApplyRepairController> {
|
||||
),
|
||||
),
|
||||
),
|
||||
)
|
||||
|
||||
// Container(
|
||||
// width: bodysize!.maxWidth,
|
||||
// height: bodysize!.maxHeight * 0.056,
|
||||
// decoration: BoxDecoration(
|
||||
// color: FlutterFlowTheme.of(context)
|
||||
// .secondaryBackground,
|
||||
// borderRadius: BorderRadius.circular(16.rpx),
|
||||
// ),
|
||||
// child: FFButtonWidget(
|
||||
// onPressed: () {
|
||||
// print('Button pressed ...');
|
||||
// controller.submitRepair(context).then((msg) {
|
||||
// if (msg.isEmpty) {
|
||||
// MessageListController messageListController =
|
||||
// Get.find();
|
||||
// messageListController.addMessage();
|
||||
// Get.to(() => ApplyRepairSuccessPage(),
|
||||
// arguments: {'model': controller.model});
|
||||
// controller.model =
|
||||
// ApplyRepairModel(); // 在 submitRepair 完成后执行
|
||||
// controller.updateAll();
|
||||
// }
|
||||
// }).catchError((error) {
|
||||
// // 错误处理
|
||||
// print('Error: $error');
|
||||
// });
|
||||
// },
|
||||
// text: '提交申请',
|
||||
// options: FFButtonOptions(
|
||||
// height: 40,
|
||||
// padding: const EdgeInsetsDirectional.fromSTEB(
|
||||
// 24, 0, 24, 0),
|
||||
// iconPadding: const EdgeInsetsDirectional.fromSTEB(
|
||||
// 0, 0, 0, 0),
|
||||
// color: const Color(0xFFD3B684),
|
||||
// textStyle: FlutterFlowTheme.of(context)
|
||||
// .titleSmall
|
||||
// .override(
|
||||
// fontFamily: 'Readex Pro',
|
||||
// color: Colors.white,
|
||||
// fontSize: AppFontsize.normal_text_size,
|
||||
// letterSpacing: 0,
|
||||
// ),
|
||||
// elevation: 0,
|
||||
// borderSide: const BorderSide(
|
||||
// color: Colors.transparent,
|
||||
// width: 1,
|
||||
// ),
|
||||
// borderRadius: BorderRadius.circular(8),
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
),
|
||||
)),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user