var openid = $("#openid").val();
		window.addEventListener('message', function(e) {
			if(e.source != window.parent) return;
			window.parent.postMessage(openid, '*');
		}, false);
		var ua = navigator.userAgent.toLowerCase();
		if(/iphone|ipad|ipod/.test(ua)) {
			setTimeout(function() {
				getOpenId()
			}, 1000)
		}

		function getOpenId() {
			window.parent.postMessage(openid, '*');
		}

子页面内容

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-24
  • 2022-12-23
  • 2021-06-22
  • 2022-12-23
猜你喜欢
  • 2021-11-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案