Browse Source

优化动画,解决开始出现视频加载三角号问题

dev_230517
zhangzhiyi 1 year ago
parent
commit
38fb11a253
  1. BIN
      src/assets/imgs/home-screen/approach.mp4
  2. BIN
      src/assets/imgs/home-screen/exit.mp4
  3. BIN
      src/assets/imgs/home-screen/power_on_loop.mp4
  4. BIN
      src/assets/imgs/home-screen/shutdown_loop.mp4
  5. 6
      src/view/tabs/home-screen.vue

BIN
src/assets/imgs/home-screen/approach.mp4

Binary file not shown.

BIN
src/assets/imgs/home-screen/exit.mp4

Binary file not shown.

BIN
src/assets/imgs/home-screen/power_on_loop.mp4

Binary file not shown.

BIN
src/assets/imgs/home-screen/shutdown_loop.mp4

Binary file not shown.

6
src/view/tabs/home-screen.vue

@ -224,7 +224,7 @@ const queryData = (data: any) => { @@ -224,7 +224,7 @@ const queryData = (data: any) => {
};
onActivated(() => {
animationShutdown.value && animationShutdown.value.play();
animationPower.value.animationPower && animationPower.value.play();
animationPower.value && animationPower.value.play();
});
onMounted(() => {
@ -307,7 +307,7 @@ const changeAnimation = () => { @@ -307,7 +307,7 @@ const changeAnimation = () => {
setTimeout(() => {
currentAnimation.value = 2;
proxy.$eventBusService.emit("openControl", true);
}, 11 * 1000);
}, 10.8 * 1000);
} else if (currentAnimation.value === 1 || currentAnimation.value === 3) {
} else if (currentAnimation.value === 2) {
if (animationExit.value) {
@ -332,7 +332,7 @@ const changeAnimation = () => { @@ -332,7 +332,7 @@ const changeAnimation = () => {
if (indoorValue.value) {
indoorValue.value.style.opacity = "1";
}
}, 4.4 * 1000);
}, 4.7 * 1000);
}
};

Loading…
Cancel
Save