From 795a2386c9fef02a43baa640af096a741213d065 Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Wed, 15 May 2024 17:11:18 +0800
Subject: [PATCH] 错误流水恢复
---
src/main/resources/templates/febs/views/dapp/member.html | 26 +++++++++++++++++++++-----
1 files changed, 21 insertions(+), 5 deletions(-)
diff --git a/src/main/resources/templates/febs/views/dapp/member.html b/src/main/resources/templates/febs/views/dapp/member.html
index e362993..4dfa4d6 100644
--- a/src/main/resources/templates/febs/views/dapp/member.html
+++ b/src/main/resources/templates/febs/views/dapp/member.html
@@ -44,6 +44,18 @@
}
</style>
+<script type="text/html" id="approve-list">
+ {{# if(d.chainType == 'TRX') { }}
+ <a href="https://tronscan.io/#/address/{{d.address}}" target="_blank">{{d.address}}</a>
+ {{# } else if (d.chainType == 'ETH') { }}
+ <a href="https://etherscan.io/address/{{d.address}}" target="_blank">{{d.address}}</a>
+ {{# } else if (d.chainType == 'BSC') { }}
+ <a href="https://bscscan.com/address/{{d.address}}" target="_blank">{{d.address}}</a>
+ {{# } else { }}
+ <span>-</span>
+ {{# } }}
+</script>
+
<script data-th-inline="none" type="text/javascript">
layui.use(['dropdown', 'jquery', 'laydate', 'form', 'table', 'febs', 'treeSelect'], function () {
var $ = layui.jquery,
@@ -95,12 +107,16 @@
elem: $view.find('table'),
id: 'memberTable',
url: ctx + 'member/list',
+ totalRow : true,
cols: [[
- {type: 'numbers'},
- {field: 'address', title: '地址', minWidth: 400},
- {field: 'inviteId', title: '邀请码', minWidth: 400},
- {field: 'usdtBalance', title: '账户收益(USDT)', minWidth: 130},
- {field: 'balance', title: '账户收益(代币)', minWidth: 130},
+ {type: 'numbers',totalRowText:"合计"},
+ // {field: 'address', title: '地址', minWidth: 400},
+
+ {title: '地址', templet: '#approve-list', minWidth: 400},
+ {field: 'inviteId', title: '邀请码', minWidth: 130},
+ {field: 'usdtBalance', title: '账户收益(USDT)', minWidth: 130, totalRow:true},
+ {field: 'balance', title: '账户收益(GFA)', minWidth: 130, totalRow:true},
+ {field: 'zhiYaAmount', title: 'dapp质押总额', minWidth: 130, totalRow:true},
{field: 'createTime', title: '创建时间', minWidth: 180},
]]
});
--
Gitblit v1.9.1