|  |  |  | 
|---|
|  |  |  | <!-- 表格操作栏 end --> | 
|---|
|  |  |  | <script data-th-inline="none" type="text/javascript"> | 
|---|
|  |  |  | // 引入组件并初始化 | 
|---|
|  |  |  | layui.use(['dropdown', 'jquery', 'laydate', 'form', 'table', 'febs', 'treeSelect'], function () { | 
|---|
|  |  |  | layui.use([ 'jquery', 'form', 'table', 'febs'], function () { | 
|---|
|  |  |  | var $ = layui.jquery, | 
|---|
|  |  |  | laydate = layui.laydate, | 
|---|
|  |  |  | febs = layui.febs, | 
|---|
|  |  |  | form = layui.form, | 
|---|
|  |  |  | table = layui.table, | 
|---|
|  |  |  | treeSelect = layui.treeSelect, | 
|---|
|  |  |  | dropdown = layui.dropdown, | 
|---|
|  |  |  | $view = $('#febs-user'), | 
|---|
|  |  |  | $query = $view.find('#query'), | 
|---|
|  |  |  | $reset = $view.find('#reset'), | 
|---|
|  |  |  | 
|---|
|  |  |  | url: ctx + 'tradeManage/memberAccountInfo', | 
|---|
|  |  |  | totalRow: true, | 
|---|
|  |  |  | cols: [[ | 
|---|
|  |  |  | {field: 'phone', title: '手机号', minWidth: 100,align:'left',totalRowText: '合计'}, | 
|---|
|  |  |  | {field: 'phone', title: '手机号', minWidth: 100,align:'left'}, | 
|---|
|  |  |  | {field: 'email', title: '邮箱', minWidth: 200,align:'left'}, | 
|---|
|  |  |  | {field: 'inviteId', title: '邀请码UID', minWidth: 80,align:'center'}, | 
|---|
|  |  |  | {field: 'walletCoinAvailableBalance', title: '币币可用', minWidth: 80,align:'center',totalRow: true}, | 
|---|
|  |  |  | {field: 'walletCoinFrozenBalance', title: '币币冻结', minWidth: 80,align:'center',totalRow: true}, | 
|---|
|  |  |  | {field: 'walletCoinTotalBalance', title: '币币总金额', minWidth: 80,align:'center',totalRow: true}, | 
|---|
|  |  |  | {field: 'walletAvailableBalance', title: '合约可用', minWidth: 80,align:'center',totalRow: true}, | 
|---|
|  |  |  | {field: 'walletFrozenBalance', title: '合约冻结', minWidth: 80,align:'center',totalRow: true}, | 
|---|
|  |  |  | {field: 'walletTotalBalance', title: '合约总金额', minWidth: 80,align:'center',totalRow: true}, | 
|---|
|  |  |  | {field: 'rewardratioByMid', title: '盈亏', | 
|---|
|  |  |  | templet: function (d) { | 
|---|
|  |  |  | if (d.rewardratioByMid > 0) { | 
|---|
|  |  |  | return '<span style="color:green;">'+d.rewardratioByMid+'</span>' | 
|---|
|  |  |  | } else { | 
|---|
|  |  |  | return '<span style="color:red;">'+d.rewardratioByMid+'</span>' | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }, minWidth: 80,align:'center',totalRow: true}, | 
|---|
|  |  |  | {field: 'walletAvailableBalance', title: '币币可用', minWidth: 80,align:'center',totalRow: true}, | 
|---|
|  |  |  | {field: 'walletFrozenBalance', title: '币币冻结', minWidth: 80,align:'center',totalRow: true}, | 
|---|
|  |  |  | {field: 'walletCoinAvailableBalance', title: '合约可用', minWidth: 80,align:'center',totalRow: true}, | 
|---|
|  |  |  | {field: 'walletCoinFrozenBalance', title: '合约冻结', minWidth: 80,align:'center',totalRow: true}, | 
|---|
|  |  |  | {field: 'walletCoinTotalBalance', title: '合约总金额', minWidth: 80,align:'center',totalRow: true}, | 
|---|
|  |  |  | {field: 'isSuAccount', title: '是否是代理', | 
|---|
|  |  |  | templet: function (d) { | 
|---|
|  |  |  | if (d.isSuAccount === 1) { | 
|---|