<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
wx.config({
debug: false,
appId: appId,
timestamp: timestamp,
nonceStr: nonceStr,
signature: sign,
jsApiList: ['chooseImage'],
openTagList: ['wx-open-launch-weapp']
})
wx.ready(function () {
$("#wxOpenInAPP").append("<wx-open-launch-weapp env-version=release id='launch-btn' username='xxxxx' path='xxxxx'><template><div id='bangdingCardImg' onclick='bangdingCard()'><img width='100%' src='https://xxxxxx'/></div></template></wx-open-launch-weapp>");
});
// 代码如上,现象是各环境的安卓微信显示,仅生产IOS微信打开不显示,生产vconsole不方便使用调试,wx.config暂时不好开启debug,所以想先问一下可能的原因,会跟要跳转小程序配置有关吗,跟当前域名有关系吗中途有重定向到其他域名,或者在IOS微信上是否有方法实机USB调试
你好,打印下fail,提供下控制台Debug截图和config截图