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

发布于 5 年前作者 lei384150 次浏览最后编辑 5 年前来自 ask
    <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 {
            width: 300px;
            height: 100px;
            min-height: 100px;
            line-height: 100px;
            text-align: center;
            color: #444;
            font-size: 14px;
            display: inline-block;
            background: #fff100;
            border-radius: 100px;
            border: 0;
            padding: 0 10px;
          }
        </style>
        <button class="btn" >打开小程序</button>
      </script>
    </wx-open-launch-weapp>
1 回复
taoluo
taoluo1 楼11 个月前

js部分写了吗