收藏
回答

wx-open-launch-app,公众号为什么不展示按钮?

<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就是没有按钮

回答关注问题邀请回答
收藏

2 个回答

  • 智能回答 智能回答 本次回答由AI生成
    03-06
    有用 1
  • 我是小白
    我是小白
    03-06

    debug一下啊

    03-06
    有用
    回复
登录 后发表内容