huxiaoqiang 4 år sedan
förälder
incheckning
bd4335059c

+ 2 - 2
lib/my_tools/my_views.dart

@@ -613,7 +613,7 @@ class MyViews {
                           ),
                         ),
                         Text(
-                          '${flow.paidAmount}',
+                          '${flow.paidAmount.toStringAsFixed(2)}',
                           style: TextStyle(
                               color: flow.paidAmount > 0
                                   ? MyColors.cff3646
@@ -649,7 +649,7 @@ class MyViews {
                               TextStyle(color: MyColors.c666666, fontSize: 12),
                         ),
                         Text(
-                          '${flow.userBalance}',
+                          '${flow.userBalance.toStringAsFixed(2)}',
                           style:
                               TextStyle(color: MyColors.c666666, fontSize: 11),
                         ),

+ 1 - 1
lib/paegs/mine_page/bind_alipay_page/bind_alipay_page.dart

@@ -207,7 +207,7 @@ class _BindAlipayPageState extends State<BindAlipayPage> {
                   ),
                 ),
               ),
-            if (showWeChat)
+            if (true)
               Container(
                 height: 220,
                 margin: EdgeInsets.fromLTRB(15, 20, 15, 50),

+ 1 - 1
lib/paegs/mine_page/mine_page.dart

@@ -157,7 +157,7 @@ class _MinePageState extends State<MinePage> {
                                       Container(
                                         margin: EdgeInsets.only(left: 20),
                                         child: MyViews().myText(
-                                            '¥${MyCookie().userBean.balance}',
+                                            '¥${MyCookie().userBean.balance.toStringAsFixed(2)}',
                                             Colors.white,
                                             24),
                                       ),