FO 로딩바 추가

This commit is contained in:
주수현
2025-07-04 14:05:00 +09:00
parent 69b7bda52a
commit 017258c937
7 changed files with 18 additions and 1 deletions

View File

@@ -1598,6 +1598,17 @@ hr::before {
border-radius: 3.2rem 0rem 0rem 0rem;
}
.loading {
position: absolute;
left: 50%;
top: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
width: 4.8rem !important;
height: 4.8rem !important;
z-index: 3200;
}
/*약관 폰트 가이드 규칙*/
.term-wrap .modal-content-inner {
margin-top: 3.2rem;

View File

@@ -323,10 +323,13 @@ var ajaxUtil = {
if (ajaxUtil.loadingStatus) {
ajaxUtil.loadingStatus = false;
// TODO : 로딩바 숨김
document.querySelector('#loadingBar').style.display = 'none';
}
},
_showWaiting:function(){
ajaxUtil.loadingStatus = true;
// TODO : 로딩바 활성화
document.querySelector('#loadingBar').style.display = 'block';
debugger
},
};

View File

@@ -5,6 +5,7 @@
<body>
<div id="wrap">
<div class="loading" id="loadingBar" style="display: none"><i class="ico-spinner" aria-hidden="true"></i></div>
<section th:replace="~{common/components :: header(true)}"></section>
<div id="container" layout:fragment="content">

View File

@@ -5,6 +5,7 @@
<body>
<div id="wrap">
<div class="loading" id="loadingBar" style="display: none"><i class="ico-spinner" aria-hidden="true"></i></div>
<section th:replace="~{common/components :: header(true)}"></section>
<div id="container" layout:fragment="content">

View File

@@ -5,6 +5,7 @@
<body>
<div id="wrap">
<div class="loading" id="loadingBar" style="display: none"><i class="ico-spinner" aria-hidden="true"></i></div>
<section th:replace="~{common/components :: header(false)}"></section>
<div id="container" layout:fragment="content">

View File

@@ -303,6 +303,7 @@
let formData = new FormData();
formData.append('file', file);
ajaxUtil._showWaiting();
$.ajax({
method: 'POST',