1、首先进行微信公众号的相关配置保证wx.config返回OK
2、在页面中
wx-open-launch-weapp appid="wx....." :path="item.url" username="gh_xxxx" @launch="go">
<script type="text/wxtag-template">
<style>
image{
width: 10px;
height: 10px;
}
</style>
<image src="https://7463-tcb-jzoly53ha3fb0b-5dw5mf631f3d4-1302176553.tcb.qcloud.la/123/go.png" mode=""></image>
</script>
</wx-open-launch-weapp>
这里注意,图片访问不到data里的数据,最好用网络图片,最好只做一个按钮,响应事件为launch,
内容必须嵌套到script标签中