Files
evus.acvisa.com/app/home/view/public/payment_methods.html
2026-10-30 15:32:38 +08:00

17 lines
1.2 KiB
HTML

{if condition="!empty($payment_methods_configured)"}
<fieldset class="payment-choice" data-mobile="{$ismobile}" data-english="{$payment_english ? '1' : '0'}">
<legend>{$payment_english ? 'Payment method' : '选择支付方式'}</legend>
<div class="payment-choice-options">
{volist name="payment_methods" id="method"}
<label class="payment-choice-option">
<input type="radio" name="payment_method" value="{$method}" lay-ignore {eq name="i" value="1"}checked{/eq}>
<span class="payment-choice-icon payment-choice-icon--{$method}" aria-hidden="true">{$method == 'alipay' ? '支' : '微'}</span>
<span>{if condition="$method == 'alipay'"}{$payment_english ? 'Alipay' : '支付宝'}{else /}{$payment_english ? 'WeChat Pay' : '微信支付'}{/if}</span>
</label>
{/volist}
</div>
{empty name="payment_methods"}<p role="alert">{$payment_english ? 'No payment method is available. Please use another browser or contact support.' : '当前浏览器没有可用支付方式,请更换浏览器或联系客服。'}</p>{/empty}
<div class="payment-choice-status" role="status" aria-live="polite"></div>
</fieldset>
{/if}