Browse Source

优化提现记录,优化提现页面

master
王子贤 2 months ago
parent
commit
b6a864442a
2 changed files with 3 additions and 11 deletions
  1. 6
      lib/pages/mine/withdraw_history_page.dart
  2. 8
      lib/pages/mine/withdraw_page.dart

6
lib/pages/mine/withdraw_history_page.dart

@ -147,8 +147,8 @@ class WithdrawHistoryPage extends StatelessWidget {
], ],
), ),
SizedBox(height: 8.w,), SizedBox(height: 8.w,),
Text(
"${item.extDetailsInfo?.bankName}${item.extDetailsInfo?.cardNum!.substring(item.extDetailsInfo!.cardNum!.length - 4)}",
if(item.extDetailsInfo?.bankName != null && item.extDetailsInfo?.cardNum!.substring(item.extDetailsInfo!.cardNum!.length - 4) != null) Text(
"${item.extDetailsInfo?.bankName ?? ""}${item.extDetailsInfo?.cardNum!.substring(item.extDetailsInfo!.cardNum!.length - 4) ?? ""}",
style: TextStyle( style: TextStyle(
fontSize: 12.w, fontSize: 12.w,
), ),
@ -172,7 +172,7 @@ class WithdrawHistoryPage extends StatelessWidget {
color: const Color.fromRGBO(153, 153, 153, 1) color: const Color.fromRGBO(153, 153, 153, 1)
), ),
), ),
Text(
if(item.remitUrl != "" && item.remitUrl != null)Text(
"查看打款凭证", "查看打款凭证",
style: TextStyle( style: TextStyle(
fontSize: 12.w, fontSize: 12.w,

8
lib/pages/mine/withdraw_page.dart

@ -63,14 +63,6 @@ class WithdrawPage extends StatelessWidget {
fontWeight: FontWeight.w500 fontWeight: FontWeight.w500
), ),
), ),
SizedBox(height: 6.w,),
Text(
"1个工作日内到账",
style: TextStyle(
fontSize: 12.w,
color: const Color.fromRGBO(153, 153, 153, 1)
),
)
], ],
), ),
if(controller.nowBankCard.value.id == null) Text( if(controller.nowBankCard.value.id == null) Text(

Loading…
Cancel
Save