{extend name="$base" /} {block name="resources"} {/block} {block name="main"}
{php} $member_account = api("System.Member.memberAccount"); $member_account = $member_account['data']; $sum = $member_account['balance']; // 提现设置 $withdraw_config = api("System.Config.balanceWithdraw"); $withdraw_config = $withdraw_config['data']; {/php}

{$sum}

{:lang('member_balance')}

{:lang('recharge')} {eq name="$withdraw_config['is_use']" value="1"}

- {:lang('member_cash_register')}
- {:lang('member_balance_withdrawal')}

{/eq}
{php} $balances = api("System.Member.accountRecordsList", ['page_index'=>1, 'page_size' => 0, 'account_type' => 2]); $balances = $balances['data']; {/php} {if condition="count($balances.data) neq 0 "}

{volist name="balances.data" id="vo"}
{$vo['type_name']} {$vo['number']} | {$vo['text']} {$vo['create_time'] | getTimeStampTurnTime}
{/volist}

{else/}
{:lang('you_don_not_have_a_balance_record_yet')}！
{/if}
{/block} {block name="footer"}{/block}