浏览代码

1.优化我的订单

tags/0.0.12+7
“yanghuaxuan” 3 年前
父节点
当前提交
3157474860
共有 1 个文件被更改,包括 8 次插入1 次删除
  1. +8
    -1
      lib/pages/orders_page/views/order_item_widget.dart

+ 8
- 1
lib/pages/orders_page/views/order_item_widget.dart 查看文件

@@ -260,7 +260,7 @@ class OrderItemWidget extends StatelessWidget {
Widget centerWidget;
String str1;
String str2;
if (state.type == '3' || state.type == '4') {
if (state.type == '3' || state.type == '4' || state.type == '5') {
// state?.tips=(state?.tips ?? '').replaceAll(state?.tipsReplaceKey,model?.reason);
// state?.tips=(state?.tips ?? '').replaceAll(state?.tipsReplaceKey,"2007-0808");

@@ -286,7 +286,14 @@ class OrderItemWidget extends StatelessWidget {
(model.reason ?? ''),
style: TextStyle(color: HexColor.fromHex(state?.tipsReplaceColor ?? ""), fontSize: 10),
);
}

///失效原因
if (state.type == '5') {
centerWidget = Text(
(model.settleAt ?? ''),
style: TextStyle(color: HexColor.fromHex(state?.tipsReplaceColor ?? ""), fontSize: 10),
);
}
}



正在加载...
取消
保存