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 {
            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 回复
taoluo
taoluo1 楼7 个月前

js部分写了吗