Jump to internal links
We should all know this, by means of internal wx.navigateTo, wx.redirectTo, wx.swtichTab other small program, you can jump directly to the links page (that is, app.json already recorded) inside the applet has been registered.
But how to jump to external pages?
Micro letter applet there such a thing: web-view, can help jump should be noted that, jump url is the need to configure the domain name business in the micro-channel public platform above, otherwise there will be this:
For details see documents
Jump to external pages
1. First you need to click on the page, add a bindtap method used to trigger the jump page
wxml:
<text class="login_net" bindtap="toOut">此处</text>
js:
toOut:()=>{ wx.navigateTo({ url: '../out/out', }) },
2. Create a new page directory out, add a line of code in the out.wxml
<web-view src="yourUrl"></web-view>
Then you can normally use.
Reference: https://www.cnblogs.com/xiaoxiao2017/p/10515819.html