微信小程序点击按钮跳转链接并显示
代码
<view bindtap="groupWebsite">立即进入</view>
groupWebsite() {wx.navigateTo({url: '/pages/groupWeb/groupWeb',})
},
pages/groupWeb/groupWeb.wxml
<view><web-view src="https://www.xxx.com"></web-view>
</view>
在微信公众平台配置域名
不配置会显示: