From a64d6284082665f9a27add91edc0f7dc7e31afb7 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Tue, 08 Nov 2022 11:23:00 +0800 Subject: [PATCH] 20221021 --- src/main/resources/templates/febs/views/dapp/member-transter.html | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 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 d845f8f..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 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 { }} - <a href="https://eth.tokenview.com/cn/tx/{{d.hash}}" target="_blank"><i class="layui-icon febs-edit-area febs-green"></i></a> + <span>-</span> {{# } }} </script> <script data-th-inline="none" type="text/javascript"> @@ -95,7 +99,8 @@ url: ctx + 'member/transferList', cols: [[ {field: 'address', title: '地址', minWidth: 130}, - {field: 'amount', 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