安卓 animation 真机偶尔卡顿
发布于 5 年前 作者 gaolei 10645 次浏览 来自 官方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](/user/keyframes) move {
  0% {
    transform: rotate(270deg);
  }
  50% {
    transform: rotate(360deg);
  }
  60% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(270deg);
  }
}
2 回复

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

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

回到顶部