<wx-open-launch-app
appid="wx50977e46945ec540"
:extinfo="'page=/pages/index/goodsDetails/goodsDetails2?id=' + id"
style="width: 150px !important; height: 40px !important; font-size: 24px"
>
<script type="text/wxtag-template">
<button style="width: 150px !important; height: 40px !important; background: #07c160; color: white; border: none;font-size: 24px;border-radius: 20px;">打开App</button>
</script>
</wx-open-launch-app>
wx.config({
debug: false,
appId: res.data.appId,
timestamp: res.data.timestamp,
nonceStr: res.data.nonceStr,
signature: res.data.signature,
jsApiList: [],
openTagList: ['wx-open-launch-app'] // 关键:申请开放标签
});
wx.config显示的是成功,但是wx-open-launch-app就是没有按钮

debug一下啊