html52.com
我爱小程序-开发者交流社区

页面中包含 wx-open-launch-weapp 组件后就不能再跳转其它页面是什么原因呢?

网页中加加入<wx-open-launch-weapp>组件后页面就无法跳转到其它页面了是什么原因

<wx-open-launch-weapp

    id="launch-btn"

    username="xxxx"

style="position:fixed;top:55%;left:0;width:100%;height:100%;z-index:999;"

>

  <script type="text/wxtag-template" >

      <style lang="less">

  .guideBtn{

width: 304px;

height: 60px;

line-height:60px;

text-align: center;

background: url('xx.png') no-repeat;

background-size: 100%;

animation: breathe 2.1s infinite;

// margin-top:60px;

box-sizing: border-box;

margin:60px auto;

   }

    @keyframes breathe{

      0%{ transform: scale(.99); }

      50%{ transform: scale(1.03); }

      100%{ transform: scale(.99); }

    }

button:hover{border:none!important}

</style>

<div class="guideBtn" hover-class='none' style="border:none!important;padding:20px!important;"></div>

<!-- <button class="guideBtn" style="border:none!important;padding:0!important;"></button> -->

  </script>

</wx-open-launch-weapp>

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

真正的个人免签约支付接口

云免签H5支付