...
|
...
|
@@ -304,7 +304,7 @@ |
|
|
<div class="paymentMode" onclick="changeRadioState(1)">
|
|
|
<img id="weChat" class="checkboxImg" src="__CDN__/assets/store/images/checkbox_orange.png" alt="radio">
|
|
|
<div>
|
|
|
<img src="images/weixin.png" alt="" class="paymentModeIcon">
|
|
|
<img src="__CDN__/assets/store/images/weixin.png" alt="" class="paymentModeIcon">
|
|
|
<span class="paymentModeText">微信支付</span>
|
|
|
</div>
|
|
|
|
...
|
...
|
@@ -312,7 +312,7 @@ |
|
|
<div class="paymentMode" onclick="changeRadioState(2)">
|
|
|
<img id="aliPay" class="checkboxImg" src="__CDN__/assets/store/images/radioUnSelect.png" alt="radio">
|
|
|
<div>
|
|
|
<img src="images/zhufubao.png" alt="" class="paymentModeIcon">
|
|
|
<img src="__CDN__/assets/store/images/zhufubao.png" alt="" class="paymentModeIcon">
|
|
|
<span class="paymentModeText">支付宝支付</span>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -397,6 +397,7 @@ |
|
|
success: function (res) {
|
|
|
console.log(res);
|
|
|
if (res.code == 1) {
|
|
|
if(res.data.status == 1){
|
|
|
if (pay_type == 1) {
|
|
|
//微信支付
|
|
|
order_id = res.data.viporder_id;
|
...
|
...
|
@@ -407,6 +408,9 @@ |
|
|
order_id = res.data.viporder_id;
|
|
|
window.open(res.data.url);
|
|
|
}
|
|
|
}else{
|
|
|
window.location.href="{:url('index/member/member')}";
|
|
|
}
|
|
|
} else {
|
|
|
toast(res.msg);
|
|
|
return false;
|
...
|
...
|
|