Browse Source

0514 搜索结果页提示优化

tags/0.0.17
23028876916@qq.com 3 years ago
parent
commit
28618068e6
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      lib/pages/order_found_page/order_found_result/order_found_result_page.dart

+ 4
- 2
lib/pages/order_found_page/order_found_result/order_found_result_page.dart View File

@@ -60,6 +60,7 @@ class _OrderFoundResultPageState extends State<OrderFoundResultPage> {
// _bloc.getData(); // _bloc.getData();
} }


//找回订单操作
retrieveOrderClick() { retrieveOrderClick() {
print("是我的,找回该订单点击"); print("是我的,找回该订单点击");
Map<String, dynamic> params = {}; Map<String, dynamic> params = {};
@@ -77,9 +78,10 @@ class _OrderFoundResultPageState extends State<OrderFoundResultPage> {
} }


//复制订单号 //复制订单号
copyOrderCode() {
copyOrderCode() async{
ClipboardData data = new ClipboardData(text: model?.ordId); ClipboardData data = new ClipboardData(text: model?.ordId);
Clipboard.setData(data);
await Clipboard.setData(data);
Fluttertoast.showToast(msg: "已复制订单号");
} }


@override @override


Loading…
Cancel
Save