- web-view内嵌h5中使用wx.miniProgram.navigateTo跳转其他小程序无效?
wx.miniProgram.getEnv(res => { if (res.miniprogram) { wx.miniProgram.navigateTo({ url: '/pages/index/index?appid=xxx', success: (result) => { console.log(mpUrl, 888888) console.log(result) alert(JSON.stringify(result)); // 此处会打印出;{"errMsg":"invokeMiniProgramAPI:ok"} console.log("打开小程序成功!!"); }, fail: (err) => { this.$toast(`打开失败${err}`) wx.navigateBack(); }, complete: () => {} }); } else { this.$toast("请在小程序环境打开"); } })
2022-05-30 - app内嵌h5页面,通过h5调用微信支付,显示白屏?
白屏如图所示 调微信支付的链接 已指定了redirect_url并且通过encode编译 https://wx.tenpay.com/cgi-bin/mmpayweb-bin/checkmweb?prepay_id=wx24151911102338cac9839cced6f9990000&package=2666176566&redirect_url=https%3A%2F%2Ftest.youjiajk.com%2Fsaas%2F%23%2Ftest
2022-02-24