Compare commits

..

No commits in common. 'fd46c6db616af08fbcf0a0353117e1148254c4fc' and '76cf17e850ce071e13b04962b7e0ee31a7ae9214' have entirely different histories.

  1. 28
      src/view/tabs/home-screen.vue

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

@ -1,16 +1,5 @@ @@ -1,16 +1,5 @@
<template>
<div id="home-screen-wrapper">
<van-overlay
:show="showOverlay"
z-index="100"
style="background-color: #000;"
>
<van-loading
size="80px"
vertical
color="#1989fa"
><span>加载中...</span></van-loading>
</van-overlay>
<div class="bg-video" @click="changeAnimation()">
<!-- 关机动画循环 -->
<video
@ -128,9 +117,6 @@ import { @@ -128,9 +117,6 @@ import {
import router from "@/router";
import { CountTo } from "vue3-count-to";
/** 是否显示遮罩层 */
const showOverlay = ref(true);
/** 小时 */
const hour = ref("--");
/** 分钟 */
@ -214,9 +200,6 @@ onActivated(() => { @@ -214,9 +200,6 @@ onActivated(() => {
});
onMounted(() => {
setTimeout(() => {
showOverlay.value = false;
}, 3500);
getTimeTimer.value = setInterval(() => {
const date = new Date();
hour.value =
@ -508,16 +491,5 @@ const timeTouchEnd = () => { @@ -508,16 +491,5 @@ const timeTouchEnd = () => {
justify-content: center;
}
}
.van-loading {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
span {
font-size: 30px !important;
}
}
}
</style>

Loading…
Cancel
Save