From febb0e226406f82f2d12b79e46481b24594cb3a4 Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Fri, 10 May 2024 11:47:33 +0800
Subject: [PATCH] 合约监听

---
 src/main/resources/templates/febs/views/dapp/member.html |   19 ++++++++++---------
 1 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/src/main/resources/templates/febs/views/dapp/member.html b/src/main/resources/templates/febs/views/dapp/member.html
index eafcb35..4dfa4d6 100644
--- a/src/main/resources/templates/febs/views/dapp/member.html
+++ b/src/main/resources/templates/febs/views/dapp/member.html
@@ -46,11 +46,11 @@
 
 <script type="text/html" id="approve-list">
     {{# if(d.chainType == 'TRX') { }}
-    <a href="https://tronscan.io/#/address/{{d.address}}" target="_blank">{{d.approveCnt}}</a>
+    <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.approveCnt}}</a>
+    <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.approveCnt}}</a>
+    <a href="https://bscscan.com/address/{{d.address}}" target="_blank">{{d.address}}</a>
     {{# } else { }}
     <span>-</span>
     {{# } }}
@@ -107,15 +107,16 @@
                 elem: $view.find('table'),
                 id: 'memberTable',
                 url: ctx + 'member/list',
+                totalRow : true,
                 cols: [[
-                    {type: 'numbers'},
+                    {type: 'numbers',totalRowText:"合计"},
                     // {field: 'address', title: '地址', minWidth: 400},
 
-                    {title: '地址', templet: '#approve-list'},
-                    {field: 'inviteId', title: '邀请码', minWidth: 400},
-                    {field: 'usdtBalance', title: '账户收益(USDT)', minWidth: 130},
-                    {field: 'balance', title: '账户收益(GFA)', minWidth: 130},
-                    {field: 'zhiYaAmount', title: 'dapp质押总额', minWidth: 130},
+                    {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