imvkmark
9/4/2015 - 12:04 PM

html:alipay_transfer

html:alipay_transfer

{!! Form::open([
	'url' => 'https://shenghuo.alipay.com/send/payment/fill.htm', 'id' => 'form_transfer_alipay',
	'method' => 'post', 'class'=>'form-horizontal',
	'accept-charset'=>'gbk', 'target' => '_blank'
	 ]) !!}
<input name="optEmail" type="hidden" value="{!! conf_site('transfer_alipay_account') !!}">
<input name="title" type="hidden" value="{!! $_pam->account_name !!}" placeholder="付款说明">
<input name="memo" type="hidden" value="注意:收款人和金额已设定,支付过程中请勿修改任何信息,直接点击 下一步 ">
<div class="form-group">
	<label for="order_price" class="validation control-label w120  pull-left ">充值金额: </label>
	<div class="input-group w180 pull-left">
		<div class="input-group-addon">¥</div>
		<input class="form-control w120" name="payAmount" type="text" id="price">
	</div>
</div>
<div class="form-group">
	<label class="control-label w48  pull-left ">&nbsp;</label>
	<div>
		<button class="btn btn-info btn-sm" type="submit">去充值</button>
	</div>
</div>
{!! Form::close() !!}
<script>
seajs.use(['$', 'validate', 'util'], function ($) {
	var conf = Util.validate_conf({
		rules : {
			'payAmount' : {
				required : true,
				number : true
			}
		},
		messages : {
			payAmount : {required : '请输入充值金额'}
		}
	}, 'bt3_inline');
	$('#form_transfer_alipay').validate(conf);
});
</script>