收藏
回答

map组件使用自定义气泡,通过createAnimation执行动画,开发者工具效果正常,真机卡顿?

<map class="map" id="map" longitude="" latitude="" :scale="12" :markers="markersList">
  <cover-view slot="callout">
      <block>
        <cover-view style="
            z-index: 20;
            width: 318rpx;
            height: 324rpx;
            position: relative;" :marker-id="1">
          <cover-view>
             <cover-view :animation="animation">
                <cover-image :src=""></cover-image>
             </cover-view>
        </cover-view>
      </block>
  </cover-view>
</map>
通过createAnimation创建往复动画,动画在开发者工具显示正常,在真机上卡顿,无法显示完整的动画。
回答关注问题邀请回答
收藏

1 个回答

  • 社区技术运营专员-Jahozheng
    社区技术运营专员-Jahozheng
    03-10

    你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)

    03-10
    有用
    回复
登录 后发表内容