(2610_102)MY-010 취소반품 상세 페이지 내 버튼 대응 요청 수정 내역

공통css/mypage.css

@@ -383,6 +383,17 @@ margin: 0 0 0 8px;}
383 .invoce-list li.sum:last-child{border:none;}
384 .invoce-list li.sum span,.invoce-list li.sum p{font-weight:600}
385 .invoce-list li.sum p{font-size:16px}
386+
387+/* [2610_102] MY-010 취소/반품 상세 페이지 내 버튼 대응 요청 */
388+.invoce-list li.sum:has(.info-actions) {flex-wrap:wrap;height:auto;padding-bottom:10px;}
389+.invoce-list li.sum:has(.info-actions) > span {line-height:50px;}
390+.invoce-list li.sum:has(.info-actions) > div:not(.info-actions) {display:flex;align-items:center;justify-content:flex-end;height:50px;}
391+.invoce-list li.sum .info-actions {display:flex;justify-content:flex-end;gap:8px;width:100%;margin-top:-5px;line-height:14px;}
392+.mypage .info-actions .btn-type-underline {height:auto;padding:0;border:0;background:none;font-size:12px;font-weight:400;line-height:14px;color:#000;text-decoration:underline;}
393+.mypage .my-cart .payment-info .info-actions .order-detail {padding:0;}
394+.mypage .my-cart .payment-info .info-actions #btn-receipt {width:auto;color:#000;font-size:12px;font-weight:400;line-height:14px;border:0;}
395+/* //[2610_102] MY-010 취소/반품 상세 페이지 내 버튼 대응 요청 */
396+
397 .invoce-list li p.bag{background:url(../images/svg/bag.svg) left center no-repeat;width:auto;padding:0 0 0 18px}
398 .invoce-list.intype2 span{color:#333;font-weight:500}
399 .invoce-list.intype3{background:#f5f5f5;width:calc(100% + 40px);margin:0 0 0 -20px;padding:15px 20px 0 20px;border-top:1px solid #ddd;border-bottom:1px solid #ddd}

공통html/detail_cancel.html

@@ -905,13 +905,14 @@ groobee("serviceKey", "149537f7f34642698831c8fc30f4501f");
905 data-rurl="https://dashboard-sandbox.tosspayments.com/receipt/redirection?transactionId=tthek20261002132022ffRY6&ref=PX"
906 data-cardCd="-"
907 >영수증</button> -->
908- <button class="btn-type-line small end" id="btn-receipt"
908+ <!-- [2610_102] MY-010 취소/반품 상세 페이지 내 버튼 대응 요청
909+ <button class="btn-type-line small end" id="btn-receipt"
910 data-pgcd="50"
911 data-dlngNo="txrd_a01m3xdffhkz1ccph4trm0dfyyk"
912 data-paymeancd="10"
913 data-rurl="https://dashboard-sandbox.tosspayments.com/receipt/redirection?transactionId=tthek20261002132022ffRY6&ref=PX"
914 data-cardCd="-"
914- >영수증</button>
915+ >영수증</button> -->
916 </div>
917 <ul class="invoce-list intype3">
918 <li class="sum">
@@ -919,6 +920,18 @@ groobee("serviceKey", "149537f7f34642698831c8fc30f4501f");
920 <div>
921 <p>98,140원</p>
922 </div>
923+ <!-- [2610_102] MY-010 취소/반품 상세 페이지 내 버튼 대응 요청 -->
924+ <div class="info-actions">
925+ <button type="button" class="btn-type-underline order-detail popBtn">할인상세</button>
926+ <button type="button" class="btn-type-underline" id="btn-receipt"
927+ data-pgcd="50"
928+ data-dlngNo="txrd_a01m3xdffhkz1ccph4trm0dfyyk"
929+ data-paymeancd="10"
930+ data-rurl="https://dashboard-sandbox.tosspayments.com/receipt/redirection?transactionId=tthek20261002132022ffRY6&ref=PX"
931+ data-cardCd="-"
932+ >영수증</button>
933+ </div>
934+ <!-- //[2610_102] MY-010 취소/반품 상세 페이지 내 버튼 대응 요청 -->
935 </li>
936
937 <!-- 신용카드 -->

공통html/detail_order.html

@@ -891,7 +891,8 @@ groobee("serviceKey", "149537f7f34642698831c8fc30f4501f");
891 <div class="wrap-holder">
892 <div class="date-order-view bigger">
893 <div>결제정보</div>
894- <div class="info-actions">
894+ <!-- [2610_102] MY-010 취소/반품 상세 페이지 내 버튼 대응 요청
895+ <div class="info-actions">
896 <button type="button" class="btn-arrow order-detail popBtn">할인 상세</button>
897 <button id="btn-receipt" type="button" class="btn-arrow order-detail"
898 data-pgcd="50"
@@ -903,7 +904,7 @@ groobee("serviceKey", "149537f7f34642698831c8fc30f4501f");
904 data-cardCd="-"
905 >영수증
906 </button>
906- </div>
907+ </div> -->
908 </div>
909 <ul class="invoce-list intype2">
910 <li><span>총 상품금액</span>
@@ -942,6 +943,18 @@ groobee("serviceKey", "149537f7f34642698831c8fc30f4501f");
943 40,550
944 원</p>
945 </div>
946+ <!-- [2610_102] MY-010 취소/반품 상세 페이지 내 버튼 대응 요청 -->
947+ <div class="info-actions">
948+ <button type="button" class="btn-type-underline order-detail popBtn">할인상세</button>
949+ <button type="button" class="btn-type-underline" id="btn-receipt"
950+ data-pgcd="50"
951+ data-dlngNo="txrd_a01m3xdffhkz1ccph4trm0dfyyk"
952+ data-paymeancd="10"
953+ data-rurl="https://dashboard-sandbox.tosspayments.com/receipt/redirection?transactionId=tthek20261002132022ffRY6&ref=PX"
954+ data-cardCd="-"
955+ >영수증</button>
956+ </div>
957+ <!-- //[2610_102] MY-010 취소/반품 상세 페이지 내 버튼 대응 요청 -->
958 </li>
959
960 <!-- 신용카드 -->

공통js/mypage-cancel-refund.js

@@ -80,7 +80,8 @@ $(function () {
80 });
81
82 /* 할인상세 팝업 이벤트 */
83- $('.cart-wrap .date-order-view .popBtn').click(function(){
83+ // [2610_102] MY-010 취소/반품 상세 페이지 내 버튼 대응 요청 — 할인상세 버튼이 총 결제금액 줄(.info-actions)로 옮겨져 선택자 추가
84+ $('.cart-wrap .date-order-view .popBtn, .cart-wrap .info-actions .popBtn').click(function(){
85 $('.mypage-dis').addClass('on dim');
86 $('body').css({'height':'100%', 'overflow':'hidden'});
87 })

공통js/mypage-order.js

@@ -416,7 +416,8 @@ const ordersPageDataInit = {
416 });
417
418 /* 할인상세 팝업 이벤트 */
419- $('.cart-wrap .date-order-view .popBtn').click(function(){
419+ // [2610_102] MY-010 취소/반품 상세 페이지 내 버튼 대응 요청 — 할인상세 버튼이 총 결제금액 줄(.info-actions)로 옮겨져 선택자 추가
420+ $('.cart-wrap .date-order-view .popBtn, .cart-wrap .info-actions .popBtn').click(function(){
421 $('.mypage-dis').addClass('on dim');
422 $('body').css({'height':'100%', 'overflow':'hidden'});
423 })