12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- {extend name="default/base/base_member" /}
- {block name="member_main"}
- <div class="dsm-default-form">
- <form method="post" id="cash_form" action="{:url('Predeposit/pd_cash_add')}">
- <dl>
- <dt><i class="required">*</i>{$Think.lang.withdrawal_amount}:</dt>
- <dd><input name="pdc_amount" type="text" class="text w50" id="pdc_amount" maxlength="10" ><em class="add-on">
- <i class="iconfont"></i></em> ({$Think.lang.current_available_amount}:<strong class="orange">{:floatval($member_info.available_predeposit)}</strong> {$Think.lang.ds_yuan})<span></span>
- <p class="hint mt5">{$Think.lang.predeposit_withdraw_cycle}{$Think.config.ds_config.member_withdraw_cycle}{$Think.lang.day},{$Think.lang.predeposit_withdraw_min}{$Think.config.ds_config.member_withdraw_min}{$Think.lang.ds_yuan},{$Think.lang.predeposit_withdraw_max}{$Think.config.ds_config.member_withdraw_max}{$Think.lang.ds_yuan}</p>
- </dd>
- </dl>
- <dl>
- <dt><i class="required">*</i>{$Think.lang.collection_bank}:</dt>
- <dd>
- <select name="memberbank_id">
- {foreach name="memberbank_list" item="memberbank"}
- <option value="{$memberbank.memberbank_id}" >
- {if $memberbank.memberbank_type eq 'alipay'}
- {$Think.lang.pay_method_alipay}
- {elseif $memberbank.memberbank_type eq 'weixin'}
- {$Think.lang.pay_method_wechat}
- {else/}
- {$memberbank.memberbank_name}
- {/if}
- {$memberbank.memberbank_no}
- </option>
- {/foreach}
- </select>
-
- <p class="hint mt5"><a href="{:url('Memberbank/index')}" target="_blank">管理提现账户</a></p>
- </dd>
- </dl>
- <dl>
- <dt><i class="required">*</i>{$Think.lang.payment_password}:</dt>
- <dd><input name="password" type="password" autocomplete="new-password" class="text w100" id="password" maxlength="20"/><span></span>
- <p class="hint">
- {if !$member_info.member_paypwd}
- <strong class="red">{$Think.lang.withdrawal_information3}</strong><a href="{:url('Membersecurity/auth',['type'=>'modify_paypwd'])}" class="dsm-btn-mini dsm-btn-acidblue vm ml10" target="_blank">{$Think.lang.immediately_set}</a>
- {/if}
- </p>
- </dd>
- </dl>
- <dl class="bottom"><dt> </dt>
- <dd>
- <input type="submit" class="submit" value="{$Think.lang.confirm_withdrawal}" />
- <a class="dsm-btn ml10" href="javascript:history.go(-1);">{$Think.lang.cancel_return}</a>
- </dd>
- </dl>
- </form>
- </div>
- <script type="text/javascript">
- $(function () {
- $('#cash_form').validate({
- submitHandler: function (form) {
- ds_ajaxpost('cash_form', 'url', "{:url('Predeposit/pd_cash_list')}")
- },
- errorPlacement: function (error, element) {
- var error_td = element.parent('dd').children('span');
- error_td.append(error);
- },
- rules: {
- pdc_amount: {
- required: true,
- number: true,
- min: 0.01,
- max: {$member_info.available_predeposit}
- },
- password: {
- required: true
- }
- },
- messages: {
- pdc_amount: {
- required: '<i class="iconfont"></i>{$Think.lang.enter_withdrawal_amount_correctly}',
- number: '<i class="iconfont"></i>{$Think.lang.enter_withdrawal_amount_correctly}',
- min: '<i class="iconfont"></i>{$Think.lang.enter_withdrawal_amount_correctly}',
- max: '<i class="iconfont"></i>{$Think.lang.enter_withdrawal_amount_correctly}'
- },
- password: {
- required: '<i class="iconfont"></i>{$Think.lang.enter_payment_password}'
- }
- }
- });
- });
- </script>
- {/block}
|