安卓 animation 真机偶尔卡顿

发布于 7 年前作者 gaolei10800 次浏览最后编辑 7 年前来自 issues

animation样式有时候会出现卡顿    卡顿视频地址    有时候不卡

animation样式使用在cover-view上面。

.video-animate-box .animate-img-box {
  width: 100%;
  height: 100%;
  -moz-transform-origin: 0 0;
  -webkit-transform-origin: 0 0;
  -o-transform-origin: 0 0;
  animation: move 2s linear;
  -webkit-animation: move 2s linear;
  -moz-animation: move 2s linear;
  -o-animation: move 2s linear;
}
@keyframes move {
  0% {
    transform: rotate(270deg);
  }
  50% {
    transform: rotate(360deg);
  }
  60% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(270deg);
  }
}
2 回复
qiang26
qiang261 楼6 年前

7.0.5的cover-image已经可以放gif了

jinjun
jinjun2 楼5 年前

卡顿 不是你的问题,是你解决不了的问题