<iframe id="qrcode-iframe" name="submitIframe" src="about:blank" > </iframe> <script> $(function() { var qrdiv = $("<div></div>").qrcode("URl:weixin://wxpay/s/An4baqw"); $("#qrcode-iframe").contents().find("body").append(qrdiv); }); </script>
原创文章,作者:Maggie-Hunter,如若转载,请注明出处:https://blog.ytso.com/14042.html