- 모바일 약관 탭 UI 개선 - 스크롤 추가 및 스타일 조정
eapim-portal CI / build (push) Has been cancelled
eapim-portal Test / test (push) Has been cancelled

- 필수 입력 경고 메세지 추가 및 인증 미완료 경고 추가
This commit is contained in:
Rinjae
2026-06-24 15:32:18 +09:00
parent d7abe2c2e5
commit e242d3ed06
9 changed files with 146 additions and 37 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ gateway:
portal:
auth-virtual-code: 654321
# auth-virtual-code: 654321
test-auth-notice-enabled: true
dev:
# application.yml의 `page:` 트리(브레드크럼/메뉴 이름) 라이브 반영
+2 -6
View File
@@ -11,13 +11,9 @@ spring:
cachecontrol:
max-age: 86400
public: true
# 정적자원 콘텐츠 해시 버전닝: 운영은 항상 ON (파라미터로 비활성화 불가).
# 정적자원 콘텐츠 해시 버전닝은 PortalConfigWebDispatcherServlet 가 prod 프로파일에서
# 항상 ON 으로 수행한다(app.resource-versioning.enabled 토글 무시).
# 해시 URL + 장기 캐시(max-age 86400)로 배포 시 자동 캐시 무효화.
chain:
strategy:
content:
enabled: true
paths: /**
jpa:
properties:
hibernate:
+6 -11
View File
@@ -33,15 +33,10 @@ spring:
max-age: 0
must-revalidate: true
no-cache: true
# 정적자원 콘텐츠 해시 버전닝: /css/main.css -> /css/main-<hash>.css 자동 치환.
# 내용이 바뀌면 URL이 바뀌어 강제 새로고침 없이 캐시가 무효화됨.
# 비-prod 는 app.resource-versioning.enabled 파라미터로 제어(기본 ON),
# false 로 두면 버전닝을 꺼서 sourceMap 디버깅이 가능. (prod 는 application-prod.yml 에서 항상 ON)
chain:
strategy:
content:
enabled: ${app.resource-versioning.enabled:true}
paths: /**
# 정적자원 콘텐츠 해시 버전닝(/css/main.css -> /css/main-<hash>.css)은
# @EnableWebMvc 로 WebMvcAutoConfiguration 이 비활성화되어 spring.web.resources.chain
# 설정으로는 적용되지 않는다. 실제 버전닝은 PortalConfigWebDispatcherServlet 가
# 아래 app.resource-versioning.enabled 토글을 읽어 직접 수행한다.
jta:
enabled: true
@@ -61,7 +56,7 @@ spring:
# 정적자원 해시 버전닝 토글 (prod 제외 전 프로파일에 적용).
# false 로 변경 시 /css/main.css 가 해시 없이 그대로 서빙되어 sourceMap 디버깅 가능.
# prod 는 application-prod.yml 에서 항상 ON 으로 고정되어 이 값을 무시함.
# prod 는 PortalConfigWebDispatcherServlet 에서 항상 ON 으로 고정되어 이 값을 무시함.
app:
resource-versioning:
enabled: true
@@ -257,7 +252,7 @@ page:
path: "#"
children:
terms:
name: "이용약관 및 개인정보처리방침"
name: "이용약관"
path: "/agreements/terms"
about:
name: 안내
+11 -2
View File
@@ -17822,6 +17822,13 @@ body.commission-print-page .btn-primary:hover {
@media (max-width: 768px) {
.terms-tabs {
padding: 0;
flex-wrap: nowrap;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
}
.terms-tabs::-webkit-scrollbar {
display: none;
}
}
.terms-tabs .tab-link {
@@ -17843,8 +17850,10 @@ body.commission-print-page .btn-primary:hover {
}
@media (max-width: 768px) {
.terms-tabs .tab-link {
padding: 16px 16px;
font-size: 16px;
flex: 1 0 auto;
white-space: nowrap;
padding: 8px 16px;
font-size: 14px;
gap: 4px;
}
}
File diff suppressed because one or more lines are too long
@@ -86,6 +86,15 @@
@media (max-width: $breakpoint-sm) {
padding: 0;
// 탭이 가로폭을 넘어갈 경우 가로 스크롤 허용
flex-wrap: nowrap;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: none; // Firefox
&::-webkit-scrollbar {
display: none; // Chrome/Safari
}
}
.tab-link {
@@ -107,8 +116,11 @@
border-radius: 12px 12px 0 0;
@media (max-width: $breakpoint-sm) {
padding: $spacing-md $spacing-md;
font-size: $font-size-base;
// 글자 한 줄 유지 + 글자 크기/높이 축소
flex: 1 0 auto;
white-space: nowrap;
padding: $spacing-sm $spacing-md;
font-size: $font-size-sm;
gap: $spacing-xs;
}
@@ -179,7 +179,9 @@
form.submit();
} else {
customPopups.showAlert('모든 필수 항목을 입력하고 약관에 동의해주세요.');
customPopups.showAlert(!isAuthVerified
? '인증번호확인을 완료해주세요.'
: '모든 필수 항목을 입력하고 약관에 동의해주세요.');
isSubmitting = false;
btn_register.disabled = false;
document.getElementById('loadingOverlay').classList.remove('active');