收藏
回答

wx-open-launch-app 标签里面的内容不显示,怎么处理?

    <wx-open-launch-weapp
      id="xxx"
      username="gh_xxxxxxxxx"
      path="pages/index/index.html"
      @ready="btnReady"
      @launch="btnLaunch"
      @error="btnError"
    >
      <script type="text/wxtag-template">
        <style>
          .btn {
            width300px;
            height100px;
            min-height100px;
            line-height100px;
            text-align: center;
            color#444;
            font-size14px;
            display: inline-block;
            background#fff100;
            border-radius100px;
            border0;
            padding0 10px;
          }
        </style>
        <button class="btn" >打开小程序</button>
      </script>
    </wx-open-launch-weapp>
回答关注问题邀请回答
收藏

1 个回答

  • 才不是
    才不是
    2020-12-17

    js部分写了吗

    2020-12-17
    有用
    回复 1
    • 丿后知丶后觉
      丿后知丶后觉
      2020-12-18
      都有的,后面解决了,在他外层的div设置了一下样式,他才出来了
      2020-12-18
      回复
登录 后发表内容
问题标签