From 159c4ae136e14f9bbfb28eef799b42fe59d9fd9e Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Mon, 24 Jun 2024 10:39:55 +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 4d7f82b..7d8e201 100644 --- a/src/main/resources/templates/febs/views/dapp/member.html +++ b/src/main/resources/templates/febs/views/dapp/member.html @@ -8,9 +8,8 @@ <div class="layui-col-md10"> <div class="layui-form-item"> <div class="layui-inline"> - <label class="layui-form-label layui-form-label-sm">邀请码</label> <div class="layui-input-inline"> - <input type="text" name="inviteId" autocomplete="off" class="layui-input"> + <input type="text" name="inviteId" autocomplete="off" placeholder="输入地址或邀请码" class="layui-input"> </div> </div> <div class="layui-inline"> @@ -245,23 +244,25 @@ elem: $view.find('table'), id: 'memberTable', url: ctx + 'member/list', + totalRow: true ,// 开启合计行 cols: [[ // {type: 'checkbox'}, // {type: 'numbers'}, - {field: 'address', title: '地址', minWidth: 400}, + {field: 'address', title: '地址', minWidth: 400, totalRowText: '合计:'}, // {title: '余额(USDT)', templet: '#balance', minWidth: 120}, // {title: '授权列表', templet: '#approve-list', minWidth: 110}, - {field: 'chainType', title: '所属链', minWidth: 130}, - {field: 'totalAmount', title: '总金额', minWidth: 80}, - {field: 'availableAmount', title: '可用金额', minWidth: 80}, - {field: 'frozenAmount', title: '冻结金额', minWidth: 80}, + // {field: 'chainType', title: '所属链', minWidth: 130}, + {field: 'totalAmount', title: '总金额', minWidth: 80,totalRow: '{{= parseInt(d.totalAmount) }}'}, + {field: 'availableAmount', title: '可用金额', minWidth: 80,totalRow: '{{= parseInt(d.availableAmount) }}'}, + // {field: 'frozenAmount', title: '冻结金额', minWidth: 80}, {field: 'inviteId', title: '邀请码', minWidth: 100}, {field: 'refererId', title: '上级邀请码', minWidth: 100}, + {field: 'buyNode', title: '节点数量', minWidth: 100,totalRow: '{{= parseInt(d.buyNode) }}'}, {title: '账户状态', templet: '#user-status', minWidth: 100}, // {title: '是否可兑换', templet: '#change-able', minWidth: 100}, - {title: '是否可提现', templet: '#withdraw-able', minWidth: 100}, + // {title: '是否可提现', templet: '#withdraw-able', minWidth: 100}, {field: 'createTime', title: '创建时间', minWidth: 180}, - {title: '操作', toolbar: '#member-option', minWidth: 300} + // {title: '操作', toolbar: '#member-option', minWidth: 300} ]] }); } -- Gitblit v1.9.1