91 lines
3.7 KiB
HTML
91 lines
3.7 KiB
HTML
<include file="public/header" title="充值VIP" body="g4"/>
|
||
<include file="public/header_nav" title="充值VIP" href="javascript:history.back(-1)"/>
|
||
<form method="post" id="recharge_form" onsubmit="return recharge_submit()" action="{:U('Mobile/Payment/getPay',['buy_vip'=>1])}">
|
||
<div class="loginsingup-input mobil_topup" style="padding-top:1.28rem;">
|
||
<div class="lsu lsu-recharge" style="width:12.16rem; padding:0; overflow:hidden;">
|
||
<span style=" line-height:2.133334rem; margin-left:0.64rem;">充值金额:</span>
|
||
<input name="account"id="add_money" value="{$tpshop_config['basic_rechargevip_price']}" style=" height:2.1rem;">
|
||
</div>
|
||
<a class="lsu usedeb" href="javascript:void(0);" style="display: block;">
|
||
<div class="order order-bordertop-none p">
|
||
<div class="fl">
|
||
<span>充值方式:</span>
|
||
</div>
|
||
<span id="codename" style="font-size:0.5rem; color:#89898A;">请选择支付方式</span>
|
||
<div class="fr" >
|
||
<i class="Mright"></i>
|
||
</div>
|
||
</div>
|
||
</a>
|
||
<div class="lsu-submit">
|
||
<input type="submit" onclick="recharge_submit()" value="提交申请">
|
||
</div>
|
||
</div>
|
||
<!--充值方式-s-->
|
||
<div class="chooseebitcard" style="display: none;">
|
||
<div class="maleri30">
|
||
<div class="choose-titr">
|
||
<span>选择充值方式</span>
|
||
<i class="gb-close"></i>
|
||
</div>
|
||
<foreach name="paymentList" item="v" key="k">
|
||
<div class="card">
|
||
<leable>
|
||
<div class="card-list">
|
||
<input type="radio" style="display: none;" value="pay_code={$v['code']}" name="pay_radio" <if condition="$k eq 'alipayMobile'">checked</if> >
|
||
<div class="radio fl">
|
||
<span name="{$v[name]}" class="che <if condition="$k eq 'alipayMobile'">check_t</if>" >
|
||
<i></i>
|
||
</span>
|
||
</div>
|
||
<p class="fl"> <span><img src="/plugins/{$v['type']}/{$v['code']}/{$v['icon']}" width="110" height="40" /></span></p>
|
||
</div>
|
||
</leable>
|
||
</div>
|
||
</foreach>
|
||
<p class="teuse"><span class="red"></span><span>确定</span></p>
|
||
</div>
|
||
</div>
|
||
</form>
|
||
<!--充值方式-e-->
|
||
<div class="mask-filter-div" style="display: none;"></div>
|
||
|
||
<script type="text/javascript">
|
||
$(function(){
|
||
$('.usedeb').click(function(){
|
||
$('.chooseebitcard').show();
|
||
$('.submit').hide();
|
||
})
|
||
$('.gb-close').click(function(){
|
||
$('.chooseebitcard').hide();
|
||
})
|
||
$('.teuse').click(function(){
|
||
$('.chooseebitcard').hide();
|
||
$('.submit').show();
|
||
$('#codename').text($('.check_t').attr('name'));
|
||
})
|
||
})
|
||
$(function(){
|
||
$('.card-list').click(function(){
|
||
var _this = $(this);
|
||
_this.find('input').prop('checked',true).parents('.card').siblings().find('input').prop('checked',false);
|
||
_this.find('.che').toggleClass('check_t').parents('.card').siblings().find('.che').removeClass('check_t');
|
||
})
|
||
})
|
||
|
||
//提交表单
|
||
//提交表单
|
||
function recharge_submit() {
|
||
layer.confirm('确定充值VIP?', {
|
||
btn: ['确定', '取消']
|
||
}, function () {
|
||
$('#recharge_form').submit();
|
||
}, function (tmp) {
|
||
layer.close(tmp);
|
||
}
|
||
);
|
||
}
|
||
</script>
|
||
</body>
|
||
</html>
|