{php}
$pay_config = api("System.Pay.getPayConfig");// 支付方式配置
$pay_config = $pay_config['data'];
{/php}
{assign name="un_num" value="0"}
{notempty name="pay_config"}
{foreach name="pay_config" item="pay_item"}
{if $pay_item.is_use}

{else/}
{php}$un_num += 1;{/php}
{/if}
{/foreach}
{if $un_num eq count($pay_config)}
{:lang('not_yet_open_payment_background')}
{else/}
当余额不足时,请选择上方的任一支付方式支付不足的部分
{/if}
{/notempty}