SPRING January 20, 2021

spring-Webmaker03

Words count 6.2k Reading time 6 mins.



        <div class="op-pay-method">
            <h6>결제수단</h6>
            <div class="pay-area">
                <div class="payment-choice">
                    <input type="radio" name="payment" id="card" value="1" checked/>카드결제
                    <input type="radio" name="payment" id="deposit" value="2"/>무통장입금
                </div>
                <div class="payment-choice-result">
                    <div class="left">
                        <div class="payment-card">
                            <div class="card-div">
                                <p>최소 결제 가능 금액은 결제금액에서 배송비를 제외한 금액입니다.</p>
                                <p>소액 결제의 경우 PG사 정책에 따라 결제 금액 제한이 있을 수 있습니다.</p>
                            </div>
                        </div>
                        <div class="payment-deposit">
                            <table class="deposit-info">
                                <tbody>
                                    <tr>
                                        <td>입금자명</td>
                                        <td>
                                            <input type="text" name="deposit_name" id="deposit_name"/>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>입금은행</td>
                                        <td>
                                            <select id="bankaccount" name="bankaccount">
                                                <option value="-1">::: 선택해 주세요 :::</option>
                                                <option value="1">신한은행:110-123-12345 김사장</option>
                                            </select>                  
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                            <p>최소 결제 가능 금액은 결제금액에서 배송비를 제외한 금액입니다</p>
                        </div>
                    </div>
                    <div class="right">
                        <table class="pay-info">
                            <tr>
                                <td colspan="2" id="bor">
                                    <span class="payment-card">카드결제</span>
                                    <span class="payment-deposit">무통장입금</span>
                                    최종 금액
                                </td>
                            </tr>
                            <tr>

                                <td colspan="2" id="bor">
                                    <span>&#8361;</span></span><span class="pst_Price"></span>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <span class="payment-deposit">
                                <input type="checkbox" name="payment-agree" id="payment-agree" value="agree"/> 결제정보를 확인하였으며, 구매진행에 동의합니다.
                                        </span>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <input type="hidden" name="prodPoint" id="prodPoint" value=""/>
                                    <input type="hidden" name="o_price" id="o_price" value=""/>
                                    <input type="hidden" name="m_no" value="${memberDto.m_no}"/>
                                    <input type="hidden" name="p_No" value="${productDto.p_No}"/>
                                    <a href="#none" class="pay" onclick="fn_pay(this.form)"><img src="https://i.esdrop.com/d/Shc4pbWezP.gif" alt="결제하기" /></a>
                                    <!-- <input type="button" class="pay" value="결제하기" onclick="fn_pay(this.form)"/> -->
                                </td>
                            </tr>
                            <tr>
                                <td>총 적립예정금액</td>
                                <td><span class="point"></span>원</td>
                            </tr>
                            <tr>
                                <td>상품별 구매적립금</td>
                                <td>
                                    <fmt:formatNumber value="${productDto.p_Price * 0.005}" pattern="#,##0" />원
                                </td>
                            </tr>
                            <tr>
                                <td>회원 구매적립금</td>
                                <td><span class="inputPoint"></span>원</td>
                            </tr>
                        </table>
                    </div>
                 </div>
             </div>
         </div>

0%