ios14 使用 <wx-open-launch-weapp> 标签无法显示,其他系统正常?
发布于 5 年前 作者 xiulan86 1599 次浏览 来自 问答
<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>
回到顶部