|
|
@ -29,6 +29,7 @@
|
|
|
|
<a href="{:U('order_add')}" class="current">充值</a>
|
|
|
|
<a href="{:U('order_add')}" class="current">充值</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<if condition="$config['is_open'] == 1 ">
|
|
|
|
<div class="trunk-list">
|
|
|
|
<div class="trunk-list">
|
|
|
|
<form id="payform" action="{:U('agent_pay')}" method="post" enctype="multipart/form-data" style="position: relative;">
|
|
|
|
<form id="payform" action="{:U('agent_pay')}" method="post" enctype="multipart/form-data" style="position: relative;">
|
|
|
|
<div class="remittance" hidden style="width: 300px;height: 450px;position: absolute;left: 600px;top: 0;">
|
|
|
|
<div class="remittance" hidden style="width: 300px;height: 450px;position: absolute;left: 600px;top: 0;">
|
|
|
@ -38,9 +39,9 @@
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td class="l">充值方式:</td>
|
|
|
|
<td class="l">充值方式:</td>
|
|
|
|
<td class="r form-radio jspayradio">
|
|
|
|
<td class="r form-radio jspayradio">
|
|
|
|
<label><input type="radio" value="1" name="pay_type" checked><i class="current"></i><span>在线转账</span></label>
|
|
|
|
<!-- <label><input type="radio" value="1" name="pay_type" checked><i class="current"></i><span>在线转账</span></label> -->
|
|
|
|
<if condition="$config['is_open'] == 1 ">
|
|
|
|
<if condition="$config['is_open'] == 1 ">
|
|
|
|
<label><input type="radio" value="2" name="pay_type"><i></i><span>线下转账</span><span class="noticetxt">(需上传截图)</span></label>
|
|
|
|
<label><input type="radio" value="2" name="pay_type" checked><i></i><span>线下转账</span><span class="noticetxt">(需上传截图)</span></label>
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
@ -127,6 +128,7 @@
|
|
|
|
</table>
|
|
|
|
</table>
|
|
|
|
</form>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</if>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</block>
|
|
|
|
</block>
|
|
|
@ -153,6 +155,13 @@
|
|
|
|
calculation_money($("input[name=coin_num]").val());
|
|
|
|
calculation_money($("input[name=coin_num]").val());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
//---begin 直接执行 如需线上取消
|
|
|
|
|
|
|
|
$(".remittance").show();
|
|
|
|
|
|
|
|
$("#tip").hide();
|
|
|
|
|
|
|
|
calculation_money($("input[name=coin_num]").val());
|
|
|
|
|
|
|
|
$("input[name='pay_type']").siblings('i').addClass('current');
|
|
|
|
|
|
|
|
//----end
|
|
|
|
|
|
|
|
|
|
|
|
$("input[name=coin_num]").bind('input propertychange', function () {
|
|
|
|
$("input[name=coin_num]").bind('input propertychange', function () {
|
|
|
|
calculation_money($(this).val());
|
|
|
|
calculation_money($(this).val());
|
|
|
|
})
|
|
|
|
})
|
|
|
@ -216,7 +225,8 @@
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
layer.alert(result.info,function () {
|
|
|
|
layer.alert(result.info,function () {
|
|
|
|
parent.layer.closeAll();
|
|
|
|
parent.layer.closeAll();
|
|
|
|
location.reload();
|
|
|
|
var url = "{:U('CoinOrder/order_list')}";
|
|
|
|
|
|
|
|
location.href = url;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|