收藏
回答

ios14 使用 <wx-open-launch-weapp> 标签无法显示,其他系统正常?

<wx-open-launch-weapp id="launchBtn" username={username} path={path}>
              <script type="text/wxtag-template">
                <style>
                  {`
                  .buttonWrapper{
                    padding: 4px;
                    border-radius: 27px;
                    background:rgba(0,0,0,0.2);
                    animation:zoom 1s infinite;
                    display:inline-block;
                  }
                  .button{
                    width:270px;
                    height:46px;
                    line-height:40px;
                    background:#ff4872;
                    color:#fff;
                    border-radius: 23px;
                    border:2px solid #282852;
                    font-size: 18px;
                    font-weight: bold;
                  }
                `
                </style>
                <div className="buttonWrapper">
                  <button className="button">点击参与</button>
                </div>
              </script>
            </wx-open-launch-weapp>
回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容
问题标签