First give a button a click event
<view style="width:30%;text-align:center" bindtap="click_jd"></view>
Then configure routing in app.json
“pages/jd/jd”
Then give the click event
click_jd(){
wx.navigateTo({
url:'/pages/jd/jd'
})
}
Then configure in jd.wxml
<web-view src="https://www.baidu.com"></web-view>
Here is a business domain name issue, and then I will share the article!