From 6dacb9d52735533c431cc4de6bdfec3de84854b1 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 11 Nov 2022 12:00:58 +0800
Subject: [PATCH] 20221021
---
src/main/resources/templates/febs/views/dapp/member-transter.html | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/main/resources/templates/febs/views/dapp/member-transter.html b/src/main/resources/templates/febs/views/dapp/member-transter.html
index 1593406..e2370a6 100644
--- a/src/main/resources/templates/febs/views/dapp/member-transter.html
+++ b/src/main/resources/templates/febs/views/dapp/member-transter.html
@@ -37,10 +37,14 @@
</style>
<script type="text/html" id="transfer-option">
- {{# if(d.address.indexOf('0x') < 0) { }}
+ {{# if(d.chainType == 'TRX') { }}
<a href="https://tronscan.io/?#/transaction/{{d.hash}}" target="_blank"><i class="layui-icon febs-edit-area febs-green"></i></a>
- {{# } else { }}
+ {{# } else if (d.chainType == 'ETH') { }}
<a href="https://etherscan.io/tx/{{d.hash}}" target="_blank"><i class="layui-icon febs-edit-area febs-green"></i></a>
+ {{# } else if (d.chainType == 'BSC') { }}
+ <a href="https://bscscan.com/tx/{{d.hash}}" target="_blank"><i class="layui-icon febs-edit-area febs-green"></i></a>
+ {{# } else { }}
+ <span>-</span>
{{# } }}
</script>
<script data-th-inline="none" type="text/javascript">
@@ -96,6 +100,7 @@
cols: [[
{field: 'address', title: '地址', minWidth: 130},
{field: 'amount', title: '金额(USDT)', minWidth: 130},
+ {field: 'chainType', title: '链', minWidth: 80},
{field: 'hash', title: '交易hash', minWidth: 180},
{field: 'createTime', title: '创建时间', minWidth: 130},
{title: '操作', toolbar: '#transfer-option', minWidth: 140}
--
Gitblit v1.9.1