kidd3166 1 gadu atpakaļ
vecāks
revīzija
b6bf2624f0
2 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 1 0
      lib/pages/login/basic.dart
  2. 3 0
      lib/pages/my/weight_page.dart

+ 1 - 0
lib/pages/login/basic.dart

@@ -240,6 +240,7 @@ class _BasicInfoPageState extends State<BasicInfoPage> with InjectLoginApi, Widg
                     width: 300,
                     margin: EdgeInsets.symmetric(vertical: 25),
                     child: PrimaryButton(
+                      height: 44,
                       content: "下一步",
                       callback: throttle(() async{
                         int code = await request(context, () async {

+ 3 - 0
lib/pages/my/weight_page.dart

@@ -101,6 +101,7 @@ class _PageState extends State<WeightPage> {
                   ? Container(
                       margin: EdgeInsets.all(25),
                       child: PrimaryButton(
+                        height: 44,
                         content: "完成",
                         callback: () async {
                           await _updateInfo();
@@ -116,6 +117,7 @@ class _PageState extends State<WeightPage> {
                               child: Padding(
                             padding: const EdgeInsets.all(8.0),
                             child: CancelButton(
+                              height: 44,
                               content: "取消",
                               callback: () {
                                 Navigator.maybePop(context);
@@ -126,6 +128,7 @@ class _PageState extends State<WeightPage> {
                               child: Padding(
                             padding: const EdgeInsets.all(8.0),
                             child: PrimaryButton(
+                              height: 44,
                               content: "完成",
                               callback: () async {
                                 await _updateInfo();