Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added src/main/resources/templates/IMG_6772.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/main/resources/templates/IMG_6773.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 33 additions & 5 deletions src/main/resources/templates/payment.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,13 +123,32 @@
justify-content: center;
font-weight: bold;
font-size: 16px;
overflow: hidden;
}

.woori-pay-button .logo-icon {
background-color: white;
color: #0067ac;
}

.woori-bank-button .logo-icon {
background-color: white;
color: #0067ac;
}

.woori-card-button .logo-icon {
background-color: white;
color: #0067ac;
}

/* 로고 이미지 스타일 */
.logo-icon img {
width: 100%;
height: 100%;
object-fit: contain;
border-radius: 8px;
}

.payment-text {
display: flex;
flex-direction: column;
Expand Down Expand Up @@ -225,9 +244,12 @@ <h1>결제 방법 선택</h1>
<input type="hidden" name="paymentId" th:value="${paymentId}"/>
<button type="submit" class="payment-button woori-pay-button">
<div class="button-content">
<div class="logo-icon">우</div>
<div class="logo-icon">
<img src="IMG_6773.jpg" alt="우리은행 로고" onerror="this.style.display='none'; this.nextElementSibling.style.display='flex';">
<span style="display:none;">우</span>
</div>
<div class="payment-text">
<span class="woori-logo-text">우리Pay로 결제하기</span>
<span class="woori-logo-text">원큐PAY로 결제하기</span>
<span class="payment-desc">간편하고 빠른 우리페이 결제</span>
</div>
</div>
Expand All @@ -237,7 +259,10 @@ <h1>결제 방법 선택</h1>

<button class="payment-button woori-bank-button">
<div class="button-content">
<div class="logo-icon">우</div>
<div class="logo-icon">
<img src="wooribank_logo.jpeg" alt="우리은행 로고" onerror="this.style.display='none'; this.nextElementSibling.style.display='flex';">
<span style="display:none;">우</span>
</div>
<div class="payment-text">
<span class="woori-logo-text">우리뱅크로 결제하기</span>
<span class="payment-desc">우리은행 계좌 이용 결제</span>
Expand All @@ -248,7 +273,10 @@ <h1>결제 방법 선택</h1>

<button class="payment-button woori-card-button">
<div class="button-content">
<div class="logo-icon">우</div>
<div class="logo-icon">
<img src="IMG_6772.jpg" alt="우리카드 로고" onerror="this.style.display='none'; this.nextElementSibling.style.display='flex';">
<span style="display:none;">우</span>
</div>
<div class="payment-text">
<span class="woori-logo-text">우리카드로 결제하기</span>
<span class="payment-desc">우리카드 앱카드 간편결제</span>
Expand Down Expand Up @@ -281,7 +309,7 @@ <h1>결제 방법 선택</h1>
// 폼 상태 표시
const submitButton = this.querySelector('button[type="submit"]');
const originalContent = submitButton.innerHTML;
submitButton.innerHTML = '<div class="button-content"><div class="logo-icon"></div><div class="payment-text"><span class="woori-logo-text">처리 중...</span></div></div>';
submitButton.innerHTML = '<div class="button-content"><div class="logo-icon"><img src="/images/wooribank_logo.jpeg" alt="우리은행 로고" onerror="this.style.display=\'none\'; this.nextElementSibling.style.display=\'flex\';"><span style="display:none;">우</span></div><div class="payment-text"><span class="woori-logo-text">처리 중...</span></div></div>';

// 폼 제출 진행 확인을 위해 fetch API 사용
event.preventDefault();
Expand Down
Binary file added src/main/resources/templates/wooribank_logo.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.