|
|
@ -68,7 +68,7 @@
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if condition="C('sqpay.status') eq 1 and C('sqpay.shortcut') eq 1">
|
|
|
|
<if condition="C('sqpay.status') eq 1 and C('sqpay.shortcut') eq 1">
|
|
|
|
<div class="payment_rest_way way_btn" data-type="shorcut" data-url="{:U('Shortcut/wap_shortcut_pay', array('user_id'=>$user_id,'game_id'=>I('game_id'),'user_token'=>I('user_token'),'code'=>0,'type'=>'platform', 'price' => $money, 'api_ver' => 2))}">
|
|
|
|
<div class="payment_rest_way way_btn" data-type="sqshorcut" data-url="{:U('Shortcut/wap_shortcut_pay', array('user_id'=>$user_id,'game_id'=>I('game_id'),'user_token'=>I('user_token'),'code'=>0,'type'=>'platform', 'price' => $money, 'api_ver' => 2))}">
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<img src="__IMG__/pay_way/xianshang.png" alt="">
|
|
|
|
<img src="__IMG__/pay_way/xianshang.png" alt="">
|
|
|
|
<span>快捷支付</span>
|
|
|
|
<span>快捷支付</span>
|
|
|
@ -164,7 +164,7 @@
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if condition="C('sqpay.status') eq 1 and C('sqpay.shortcut') eq 1">
|
|
|
|
<if condition="C('sqpay.status') eq 1 and C('sqpay.shortcut') eq 1">
|
|
|
|
<div class="payment_rest_way way_btn" data-type="shorcut" data-url="{:U('Shortcut/wap_shortcut_pay', array('user_id'=>$user_id,'game_id'=>I('game_id'),'user_token'=>I('user_token'),'code'=>0,'type'=>'platform', 'price' => $money, 'api_ver' => 2))}">
|
|
|
|
<div class="payment_rest_way way_btn" data-type="sqshorcut" data-url="{:U('Shortcut/wap_shortcut_pay', array('user_id'=>$user_id,'game_id'=>I('game_id'),'user_token'=>I('user_token'),'code'=>0,'type'=>'platform', 'price' => $money, 'api_ver' => 2))}">
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<img src="__IMG__/pay_way/xianshang.png" alt="">
|
|
|
|
<img src="__IMG__/pay_way/xianshang.png" alt="">
|
|
|
|
<span>快捷支付</span>
|
|
|
|
<span>快捷支付</span>
|
|
|
@ -247,6 +247,9 @@
|
|
|
|
if(payway == "shorcut"){
|
|
|
|
if(payway == "shorcut"){
|
|
|
|
shorcut();
|
|
|
|
shorcut();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if(payway == "sqshorcut"){
|
|
|
|
|
|
|
|
sqshorcut();
|
|
|
|
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
//微信支付
|
|
|
|
//微信支付
|
|
|
|
function wxpay(){
|
|
|
|
function wxpay(){
|
|
|
@ -332,6 +335,12 @@
|
|
|
|
// flag = false;
|
|
|
|
// flag = false;
|
|
|
|
// window.location.href =payurl;
|
|
|
|
// window.location.href =payurl;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//快捷支付
|
|
|
|
|
|
|
|
function sqshorcut(){
|
|
|
|
|
|
|
|
flag = false;
|
|
|
|
|
|
|
|
window.location.href =payurl;
|
|
|
|
|
|
|
|
}
|
|
|
|
$(".payment_rest_btn").click(function(){
|
|
|
|
$(".payment_rest_btn").click(function(){
|
|
|
|
$(".payment_rest_btn").hide();
|
|
|
|
$(".payment_rest_btn").hide();
|
|
|
|
$(".weixin").show();
|
|
|
|
$(".weixin").show();
|
|
|
|