From d58192555729b8fac0ac44d74788f88ce5e568a0 Mon Sep 17 00:00:00 2001 From: Tomas <tomasysh@gmail.com> Date: 星期二, 01 八月 2023 12:38:54 +0800 Subject: [PATCH] Update: 首頁活動影片 loop --- PAMapp/components/loading.vue | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/PAMapp/components/loading.vue b/PAMapp/components/loading.vue index f4099e8..8fd2578 100644 --- a/PAMapp/components/loading.vue +++ b/PAMapp/components/loading.vue @@ -17,16 +17,23 @@ } }) export default class Loading extends Vue { + isLoading = false; + defaultOptions = { animationData: require('@/assets/lottie/loading.json') }; + + ////////////////////////////////////////////////////////////////////// + start(): void { this.isLoading = true; } + finish(): void { this.isLoading = false; } + } </script> @@ -38,7 +45,7 @@ background-color: rgba(#222222, 0.5); width: 100%; height: 100%; - z-index: 99; + z-index: 2500; display: flex; justify-content: center; align-items: center; -- Gitblit v1.8.0