<div class="layui-fluid layui-anim febs-anim" id="febs-user" lay-title="个人详情">
|
<div class="layui-row febs-container">
|
<div class="layui-col-md12">
|
<div class="layui-card">
|
<div class="layui-card-body febs-table-full">
|
<table id="memberWithdrawCoin"></table>
|
</div>
|
<div class="layui-card-body febs-table-full">
|
<table id="memberApplyCoin"></table>
|
</div>
|
</div>
|
</div>
|
</div>
|
</div>
|
<!-- 表格操作栏 end -->
|
<script data-th-inline="none" type="text/javascript">
|
// 引入组件并初始化
|
layui.use([ 'jquery', 'form', 'table', 'febs'], function () {
|
var $ = layui.$,
|
febs = layui.febs,
|
form = layui.form,
|
table = layui.table,
|
$view = $('#febs-user'),
|
memberWithdrawCoin,
|
memberApplyCoin;
|
|
form.render();
|
|
initTable();
|
|
function initTable() {
|
memberWithdrawCoin = febs.table.init({
|
elem: $('#memberWithdrawCoin'),
|
url: ctx + 'member/memberWithdrawCoin?account='+2,
|
cols: [[
|
{field: 'inviteId', title: '邀请码UID', minWidth: 80,align:'center'},
|
{field: 'symbol', title: '币种', minWidth: 100,align:'center'},
|
{field: 'amount', title: '提币数量', minWidth: 120,align:'center' ,totalRow: true},
|
{field: 'address', title: '提币地址', minWidth: 300,align:'center'},
|
{field: 'createTime', title: '提币时间', minWidth: 180,align:'center'},
|
{field: 'isInside', title: '内部转账',
|
templet: function (d) {
|
if (d.isInside === 'Y') {
|
return '<span style="color:red;">是</span>'
|
} else {
|
return '<span style="color:green;">否</span>'
|
}
|
},minWidth: 100,align:'center'},
|
{field: 'status', title: '状态',
|
templet: function (d) {
|
if (d.status === 1) {
|
return '<span style="color:blue;"> 等待审核 </span>'
|
} else if (d.status === 2) {
|
return '<span style="color:green;">同意 </span>'
|
} else {
|
return '<span style="color:red;">拒绝</span>'
|
}
|
},minWidth: 100,align:'center'},
|
]]
|
});
|
memberApplyCoin = febs.table.init({
|
elem: $('#memberApplyCoin'),
|
url: ctx + 'member/memberApplyCoin?account='+2,
|
cols: [[
|
{field: 'inviteId', title: '邀请码UID', minWidth: 80,align:'center'},
|
{field: 'symbol', title: '币种', minWidth: 60,align:'center'},
|
{field: 'tag', title: 'USDT类型', minWidth: 60,align:'center'},
|
{field: 'amount', title: '充币数量', minWidth: 100,align:'center',totalRow: true},
|
{field: 'createTime', title: '创建时间', minWidth: 200,align:'center'},
|
{title: '状态', templet: '#status', minWidth: 100,align:'center'}
|
]]
|
});
|
}
|
})
|
</script>
|