支付成功后跳转到商家小票页面,页面内放置了二维码图片。安卓端可以长按识别二维码,但ios端无法长按识别二维码。页面代码如下:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>GOLD PLAN</title>
<script src="https://cdn.staticfile.org/vConsole/3.14.2/vconsole.min.js"></script>
<script type="text/javascript" charset="UTF-8"
src="https://wx.gtimg.com/pay_h5/goldplan/js/jgoldplan-1.0.0.js"></script>
<script src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
<script>
var vConsole = new VConsole();
</script>
</head>
<body>
<div id="app">
<img style="width: 200px;" alt="111" src="https://yzhmb-hn3.oss-cn-guangzhou.aliyuncs.com/yzxxhmb-yinlian-pay.png">
</div>
</body>
<script type="text/javascript">
window.onload = function () {
var mchData = {action: 'onIframeReady', displayStyle: 'SHOW_CUSTOM_PAGE'}
var postData = JSON.stringify(mchData)
parent.postMessage(postData, 'https://payapp.weixin.qq.com')
}
</script>
</html>
楼主有处理方案么?
请问最后是怎么解决的