提交部分优化

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,28 +111,23 @@ class _ValueAddedServicesNoteAndEmailDetailPageState
Routers.valueAddedServicesListEmailTemplatePage); Routers.valueAddedServicesListEmailTemplatePage);
} }
}, },
child: Container( child: Row(
// width:100, children: [
// padding: EdgeInsets.only(top:5, bottom: 5, left: 5, right: 5), SizedBox(
child: Row( width: 30.w,
children: [ ),
SizedBox( Image.asset(
width: 30.w, "images/mine/icon_mine_valueAddedServices_buyIcon.png",
), width: 36.w,
Image.asset( height: 36.w,
"images/mine/icon_mine_valueAddedServices_buyIcon.png", ),
width: 36.w, Text(
height: 36.w, (type == 1)
), ? TranslationLoader.lanKeys!.customSMSTemplate!.tr
Text( : TranslationLoader.lanKeys!.customMailTemplate!.tr,
(type == 1) style: TextStyle(fontSize: 24.sp),
? TranslationLoader.lanKeys!.customSMSTemplate!.tr ),
: TranslationLoader ],
.lanKeys!.customMailTemplate!.tr,
style: TextStyle(fontSize: 24.sp),
),
],
),
), ),
), ),
GestureDetector( GestureDetector(
@ -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,