KKSU
2024-05-10 febb0e226406f82f2d12b79e46481b24594cb3a4
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,13 +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: '账户收益(GFA)', minWidth: 130},
                    {field: 'zhiYaAmount', title: 'dapp质押总额', 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},
                ]]
            });