feat. 페이지 호출시 로딩 적용
This commit is contained in:
@@ -6,8 +6,8 @@ const { fullLoading } = storeToRefs(loadingStore)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Transition name="fade">
|
||||
<div v-if="fullLoading" class="spinner-wrap">
|
||||
<Transition name="fade-out">
|
||||
<div v-show="fullLoading" class="spinner-wrap">
|
||||
<div class="spinner"></div>
|
||||
</div>
|
||||
</Transition>
|
||||
@@ -15,7 +15,7 @@ const { fullLoading } = storeToRefs(loadingStore)
|
||||
|
||||
<style scoped>
|
||||
.spinner-wrap {
|
||||
@apply fixed inset-0 bg-black/90 flex items-center justify-center z-[150];
|
||||
@apply fixed inset-0 bg-black pt-[96px] flex items-center justify-center sm:pt-[112px] z-[150];
|
||||
}
|
||||
.spinner {
|
||||
@apply w-[80px] h-[80px] bg-cover bg-center bg-no-repeat bg-[url('/images/common/publisning_template_loader_black.png')];
|
||||
|
||||
Reference in New Issue
Block a user