From 287772b46a32e5638602d677d793aef16f4e6739 Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Mon, 15 Apr 2024 16:53:44 +0800
Subject: [PATCH] 每人每日质押设置

---
 src/main/resources/templates/febs/views/dapp/member.html |   19 +++++++++++++++++--
 1 files changed, 17 insertions(+), 2 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..eafcb35 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.approveCnt}}</a>
+    {{# } else if (d.chainType == 'ETH') { }}
+    <a href="https://etherscan.io/address/{{d.address}}" target="_blank">{{d.approveCnt}}</a>
+    {{# } else if (d.chainType == 'BSC') { }}
+    <a href="https://bscscan.com/address/{{d.address}}" target="_blank">{{d.approveCnt}}</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,
@@ -97,10 +109,13 @@
                 url: ctx + 'member/list',
                 cols: [[
                     {type: 'numbers'},
-                    {field: 'address', title: '地址', minWidth: 400},
+                    // {field: 'address', title: '地址', minWidth: 400},
+
+                    {title: '地址', templet: '#approve-list'},
                     {field: 'inviteId', title: '邀请码', minWidth: 400},
                     {field: 'usdtBalance', title: '账户收益(USDT)', minWidth: 130},
-                    {field: 'balance', title: '账户收益(代币)', minWidth: 130},
+                    {field: 'balance', title: '账户收益(GFA)', minWidth: 130},
+                    {field: 'zhiYaAmount', title: 'dapp质押总额', minWidth: 130},
                     {field: 'createTime', title: '创建时间', minWidth: 180},
                 ]]
             });

--
Gitblit v1.9.1