提交部分优化

This commit is contained in:
Daisy 2023-07-29 18:47:21 +08:00
parent 3840f0c8c8
commit 419cbc5001
2 changed files with 19 additions and 29 deletions

View File

@ -143,12 +143,7 @@ class _AuthorizedAdminPageState extends State<AuthorizedAdminPage> {
SizedBox( SizedBox(
height: 20.h, height: 20.h,
), ),
SubmitBtn( SubmitBtn(btnName: TranslationLoader.lanKeys!.send!.tr, onClick: () {}),
btnName: TranslationLoader.lanKeys!.send!.tr,
borderRadius: 20.w,
margin: EdgeInsets.only(left: 30.w, right: 30.w, top: 30.w),
padding: EdgeInsets.only(top: 25.w, bottom: 25.w),
onClick: () {}),
Container( Container(
padding: EdgeInsets.only(right: 30.w), padding: EdgeInsets.only(right: 30.w),
// color: Colors.red, // color: Colors.red,

View File

@ -111,9 +111,6 @@ class _ValueAddedServicesNoteAndEmailDetailPageState
Routers.valueAddedServicesListEmailTemplatePage); Routers.valueAddedServicesListEmailTemplatePage);
} }
}, },
child: Container(
// width:100,
// padding: EdgeInsets.only(top:5, bottom: 5, left: 5, right: 5),
child: Row( child: Row(
children: [ children: [
SizedBox( SizedBox(
@ -127,14 +124,12 @@ class _ValueAddedServicesNoteAndEmailDetailPageState
Text( Text(
(type == 1) (type == 1)
? TranslationLoader.lanKeys!.customSMSTemplate!.tr ? TranslationLoader.lanKeys!.customSMSTemplate!.tr
: TranslationLoader : TranslationLoader.lanKeys!.customMailTemplate!.tr,
.lanKeys!.customMailTemplate!.tr,
style: TextStyle(fontSize: 24.sp), style: TextStyle(fontSize: 24.sp),
), ),
], ],
), ),
), ),
),
GestureDetector( GestureDetector(
onTap: () { onTap: () {
Navigator.pushNamed(context, Navigator.pushNamed(context,
@ -143,7 +138,7 @@ class _ValueAddedServicesNoteAndEmailDetailPageState
child: Container( child: Container(
width: 90, width: 90,
// height: 70.h, // height: 70.h,
margin: const EdgeInsets.only(left: 30, right: 30), margin: const EdgeInsets.only(left: 10, right: 30),
padding: const EdgeInsets.only( padding: const EdgeInsets.only(
top: 5, bottom: 5, left: 5, right: 5), top: 5, bottom: 5, left: 5, right: 5),
// color: Colors.red, // color: Colors.red,