{extend name="$member_base" /} {block name="right_main"} {php} // 提现账号 $account_list = api("System.Member.accountQuery"); $account_list = $account_list['data']; // 提现配置 $withdraw_config = api("System.Config.balanceWithdraw"); $withdraw_config = $withdraw_config['data']; $withdraw_account_type = $withdraw_config['value']['withdraw_account']; $cash = $balanceConfig['value']["withdraw_cash_min"]; $poundage = $withdraw_config['value']["withdraw_multiple"]; $withdraw_message = $withdraw_config['value']["withdraw_message"]; // 会员账户信息 $member_account = api("System.Member.memberAccount"); $member_account = $member_account['data']; {/php}

### 余额提现

{eq name="$withdraw_config['is_use']" value="1"}
可提现金额：
{$member_account['balance']}
提现账号：

{notempty name="$account_list"} {foreach name="$account_list" item="vo" key="k"}

- 真实姓名：{$vo.realname}

  账号类型：{$vo.account_type_name}

  {if $vo.account_type == 1}

  支行信息：{$vo.branch_bank_name}

  {/if} {if $vo.account_type == 1 || $vo.account_type == 3}

  提现账号：{$vo.account_number}

  {/if}
{/foreach} {/notempty}

提现金额：
{notempty name="$cash"} 提现金额不能低于{$cash}元 {/notempty} {notempty name="$poundage"} 提现金额必须是{$poundage}的整数倍 {/notempty}
{else/}

商家已禁止提现！

{/eq}

#### 添加账户

{:lang('member_real_name')}：
{:lang('member_phone_number')}：
{:lang('member_account_type')}：
{:lang('member_sub_branch_information')}：
{:lang('cash_account')}：
{/block} {block name="script"}
{/block}