|
|
@@ -21,48 +21,58 @@ class FeedBackPage extends BasePage<FeedBackController> {
|
|
|
|
|
|
@override
|
|
|
Widget buildBody(BuildContext context) {
|
|
|
- return Column(
|
|
|
- crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
+ return Stack(
|
|
|
children: [
|
|
|
- CommonView.buildAppBar(StringName.feedBack,
|
|
|
- backOnTap: controller.back, titleCenter: false),
|
|
|
- SizedBox(height: 12.w),
|
|
|
- Align(
|
|
|
- alignment: Alignment.centerLeft,
|
|
|
- child: Padding(
|
|
|
- padding: EdgeInsets.only(left: 14.w),
|
|
|
- child: Text(StringName.feedBackTitle,
|
|
|
- style: TextStyle(fontSize: 14.sp, color: '#202020'.color)),
|
|
|
- ),
|
|
|
- ),
|
|
|
- SizedBox(height: 12.w),
|
|
|
- buildFeedbackPrintView(),
|
|
|
- Spacer(),
|
|
|
GestureDetector(
|
|
|
- onTap: controller.submit,
|
|
|
+ onTap: () => FocusScope.of(Get.context!).unfocus(),
|
|
|
child: Container(
|
|
|
- width: 240.w,
|
|
|
- height: 50.w,
|
|
|
- decoration: BoxDecoration(
|
|
|
- color: ColorName.colorPrimary,
|
|
|
- borderRadius: BorderRadius.circular(100.w),
|
|
|
- ),
|
|
|
- child: Center(
|
|
|
- child: Text(StringName.feedBackSubmitTxt,
|
|
|
- style: TextStyle(fontSize: 16.sp, color: ColorName.white)),
|
|
|
- ),
|
|
|
+ color: Colors.white,
|
|
|
),
|
|
|
),
|
|
|
- SizedBox(height: 24.w),
|
|
|
- GestureDetector(
|
|
|
- onTap: controller.onCustomerServiceClick,
|
|
|
- child: Text(StringName.feedBackCustomerService,
|
|
|
- style: TextStyle(
|
|
|
- decoration: TextDecoration.underline,
|
|
|
- fontSize: 14.sp,
|
|
|
- color: ColorName.black)),
|
|
|
- ),
|
|
|
- Spacer(),
|
|
|
+ Column(
|
|
|
+ crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
+ children: [
|
|
|
+ CommonView.buildAppBar(StringName.feedBack,
|
|
|
+ backOnTap: controller.back, titleCenter: false),
|
|
|
+ SizedBox(height: 12.w),
|
|
|
+ Align(
|
|
|
+ alignment: Alignment.centerLeft,
|
|
|
+ child: Padding(
|
|
|
+ padding: EdgeInsets.only(left: 14.w),
|
|
|
+ child: Text(StringName.feedBackTitle,
|
|
|
+ style: TextStyle(fontSize: 14.sp, color: '#202020'.color)),
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+ SizedBox(height: 12.w),
|
|
|
+ buildFeedbackPrintView(),
|
|
|
+ Spacer(),
|
|
|
+ GestureDetector(
|
|
|
+ onTap: controller.submit,
|
|
|
+ child: Container(
|
|
|
+ width: 240.w,
|
|
|
+ height: 50.w,
|
|
|
+ decoration: BoxDecoration(
|
|
|
+ color: ColorName.colorPrimary,
|
|
|
+ borderRadius: BorderRadius.circular(100.w),
|
|
|
+ ),
|
|
|
+ child: Center(
|
|
|
+ child: Text(StringName.feedBackSubmitTxt,
|
|
|
+ style: TextStyle(fontSize: 16.sp, color: ColorName.white)),
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+ ),
|
|
|
+ SizedBox(height: 24.w),
|
|
|
+ GestureDetector(
|
|
|
+ onTap: controller.onCustomerServiceClick,
|
|
|
+ child: Text(StringName.feedBackCustomerService,
|
|
|
+ style: TextStyle(
|
|
|
+ decoration: TextDecoration.underline,
|
|
|
+ fontSize: 14.sp,
|
|
|
+ color: ColorName.black)),
|
|
|
+ ),
|
|
|
+ Spacer(),
|
|
|
+ ],
|
|
|
+ )
|
|
|
],
|
|
|
);
|
|
|
}
|