쇼핑몰 상품상세, 주문결제화면 - 예상 적립 마일리지 관련

fix : 쇼핑몰 회원정보수정 - 취소 버튼
fix : 쇼핑몰 회원탈퇴 - 취소 버튼, 주요 혜택

(cherry picked from commit 1d72e28600)
This commit is contained in:
이대환
2026-05-29 09:51:04 +09:00
parent 25fcfc3555
commit 99bbfec448
8 changed files with 29 additions and 27 deletions

View File

@@ -4079,23 +4079,24 @@
</dl>
</c:if>
<c:if test="${resultMap.goodsDtl.buttonRplcWordsUseAt ne 'Y'}"> <%--구매대상자 버튼 제한 걸릴경우 미노출--%>
<c:if test="${not empty resultMap.goodsOptList}">
<dl>
<dt>구매시 적립혜택</dt>
<%--구입시 해당 상품 마일리지 적립 금액--%>
<dd>
<em><span class="comma"><fmt:formatNumber value="${(resultMap.goodsDtl.mlgAccmlAmt + resultMap.goodsDtl.gradMlgAccmlAmt + resultMap.goodsDtl.evtMlgAccmlAmt) }"/></span>
<span class="priceUnit">점</span></em>
<c:if test = "${resultMap.goodsDtl.rvwWritngPosblAt eq 'Y'}">
· 리뷰작성시 적립
<button id="reviewBenefit" class="infoBtn">
<i class="icon icon_question"></i>
<span class="visually-hidden">정보</span>
</button>
</c:if>
</dd>
</dl>
</c:if>
<c:set var="mlgTotAmt" value="${(resultMap.goodsDtl.mlgAccmlAmt + resultMap.goodsDtl.gradMlgAccmlAmt + resultMap.goodsDtl.evtMlgAccmlAmt) }"/>
<c:if test="${not empty resultMap.goodsOptList}">
<dl <c:if test="${mlgTotAmt <= 0}">style="display: none;"</c:if>>
<dt>구매시 적립혜택</dt>
<%--구입시 해당 상품 마일리지 적립 금액--%>
<dd>
<em><span class="comma"><fmt:formatNumber value="${mlgTotAmt}"/></span>
<span class="priceUnit">점</span></em>
<c:if test = "${resultMap.goodsDtl.rvwWritngPosblAt eq 'Y'}">
· 리뷰작성시 적립
<button id="reviewBenefit" class="infoBtn">
<i class="icon icon_question"></i>
<span class="visually-hidden">정보</span>
</button>
</c:if>
</dd>
</dl>
</c:if>
</c:if>
</div>
<c:if test="${resultMap.goodsDtl.goodsSttusCd eq '01'}">

View File

@@ -1376,7 +1376,7 @@
</div>
</div>
<div class="sub-bottom-btn-container">
<button type="button" class="btn xl outline" onclick="history.back();">취소</button>
<button type="button" class="btn xl outline" onclick="location.reload();">취소</button>
<button type="button" class="btn xl theme" onclick="fn_update_mbr_info('#mbrInfoUpdtForm');">수정하기</button>
</div>
</div>

View File

@@ -89,7 +89,7 @@ const fn_regist_mbr_secsn = function () {
<div class="sub-right-content__section">
<h3 class="sub-right-content__title">회원탈퇴</h3>
<h3 class="sub-right-content__title" style="text-align: center;">탈퇴하시면 혜택이 모두 사라져요</h3>
<div class="deleteAccount__image signUp-promotion__col-3 ck-content">
<div class="deleteAccount__image ck-content">
<c:out value='${resultMap.sopmalInfo.joinBnef}' escapeXml='false'/>
</div>
<p class="deleteAccount__title">탈퇴 신청</p>
@@ -125,7 +125,7 @@ const fn_regist_mbr_secsn = function () {
</div>
</div>
<div class="sub-bottom-btn-container">
<button class="btn xl outline">취소</button>
<button type="button" class="btn xl outline" onclick="location.href = '/sopmal/mpage/mbr/selectMbrInfoUpdtForm';">취소</button>
<button type="button" class="btn xl theme" onclick="fn_regist_mbr_secsn();">탈퇴하기</button>
</div>
</div>

View File

@@ -4057,7 +4057,7 @@
</div>
</td>
</tr>
<tr>
<tr <c:if test="${purchsr.ableMlgAmt <= 0}">style="display: none"</c:if>>
<th><span class="orderInfo__title">마일리지</span></th>
<td>
<div class="orderInfo__mileage">