修改微信跳转bug

master
tpingzhang 5 years ago
parent a0bb839f8b
commit cdbd86373f

@ -69,7 +69,7 @@
<span>{$price}元</span>
</div>
<a class="order-payinfo-item"
href="#;" onclick="jump('{$url}')"
href="#;" onclick="jump('{$url}', '{$order_id}')"
title="支付宝">
<div class="order-payinfo-icon">
<img src="__IMG__/ssg/alipay/zfb-pic.jpg" alt="支付宝">
@ -86,9 +86,9 @@
</div>
</body>
<script>
function jump(pay_url) {
function jump(pay_url, order_id) {
if(isWeiXin()){
window.location.href = "/sdk.php/Ipa365/paytip/order_id/"+pay_url;
window.location.href = "/sdk.php/Ipa365/paytip/order_id/"+order_id;
}else{
window.location.href=pay_url;
}

Loading…
Cancel
Save