쇼핑몰: #220 주문 쿠폰 기능 마크업 및 스타일 완료

This commit is contained in:
whitedot
2013-06-12 17:31:47 +09:00
parent d035bc2616
commit 4c16b7b428
3 changed files with 17 additions and 6 deletions

View File

@ -662,7 +662,8 @@ input.required:focus {border:1px solid #b8c9c2;background:#21272e !important;col
#sod_frm #od_memo {height:50px}
#sod_frm_pay {position:relative}
#sod_frm_pay th {font-weight:bold;text-align:center !important}
#sod_frm_pay .basic_tbl th {width:auto !important;font-weight:bold;text-align:center !important}
#sod_frm_pay .basic_tbl td {padding:8px 5px 6px !important;border-top:1px solid #e9e9e9 !important;border-bottom:1px solid #e9e9e9 !important;line-height:1.5em !important;word-break:break-all !important}
#sod_frm_pay .frm_input {background:#fff !important}
#sod_frm_pay .frm_input:focus {color:#000}

View File

@ -331,12 +331,22 @@ html.no-overflowscrolling #mod_option_frm {height:auto;max-height:10000px !impor
#sod_frm {}
#sod_frm h2 {margin:0 0 1em}
#sod_list {position:relative}
#sod_list #it_coupon_frm {z-index:10000;position:absolute;top:0;left:0;padding:20px;width:320px;height:auto !important;height:480px;max-height:480px;border:1px solid #000;background:#f5f6fa;overflow-y:scroll}
html.no-overflowscrolling #it_coupon_frm {height:auto;max-height:10000px !important}
#sod_frm_orderer {margin:1.8em 0 3.6em}
#sod_frm_same {margin:0 0 1em}
#sod_frm #od_memo {height:7em}
#sod_frm_pay {position:relative}
#sod_frm_pay .basic_tbl caption {font-size:0;line-height:0;overflow:hidden}
#sod_frm_pay .basic_tbl th {width:auto !important;font-weight:bold;text-align:center !important}
#sod_frm_pay .basic_tbl td {border-top:1px solid #e9e9e9 !important;border-bottom:1px solid #e9e9e9 !important;line-height:1.5em !important;word-break:break-all !important}
#sod_frm_pay #sc_coupon_frm, #sod_frm_pay #od_coupon_frm {z-index:10000;position:absolute;top:0;left:0;padding:20px;width:320px;height:auto !important;height:480px;max-height:480px;border:1px solid #000;background:#f5f6fa;overflow-y:scroll}
html.no-overflowscrolling #sc_coupon_frm, html.no-overflowscrolling #od_coupon_frm {height:auto;max-height:10000px !important}
#sod_frm_pay .frm_input {background:#fff !important}
#sod_frm_pay .frm_input:focus {color:#000}

View File

@ -37,7 +37,7 @@ $tablet_size = "1.0"; // 화면 사이즈 조정 - 기기화면에 맞게 수정
ob_start();
?>
<p>주문하실 상품을 확인하세요.</p>
<table class="basic_tbl">
<table id="sod_list" class="basic_tbl">
<thead>
<tr>
<th scope="col">상품이미지</th>
@ -142,7 +142,7 @@ ob_start();
$cp = sql_fetch($sql);
if($cp['cnt'])
$cp_button = '<button type="button" class="it_coupon_btn">적용</button>';
$cp_button = '<button type="button" class="it_coupon_btn btn_frmline">적용</button>';
}
?>
@ -158,7 +158,7 @@ ob_start();
</td>
<td class="td_num"><?php echo number_format($sum['qty']); ?></td>
<td class="td_bignum"><?php echo number_format($row['ct_price']); ?></td>
<td><?php echo $cp_button; ?></td>
<td class="td_smallmng"><?php echo $cp_button; ?></td>
<td class="td_bignum"><span class="ct_sell_amount"><?php echo number_format($sell_amount); ?></span></td>
<td class="td_num"><?php echo number_format($sum['point']); ?></td>
</tr>
@ -462,7 +462,7 @@ ob_end_clean();
<th scope="row">결제할인쿠폰</th>
<td>
<input type="hidden" name="od_cp_id" value="">
<button type="button" id="od_coupon_btn">쿠폰적용</button>
<button type="button" id="od_coupon_btn" class="btn_frmline">쿠폰적용</button>
</td>
</tr>
<?php } ?>
@ -471,7 +471,7 @@ ob_end_clean();
<th scope="row">배송비할인쿠폰</th>
<td>
<input type="hidden" name="sc_cp_id" value="">
<button type="button" id="sc_coupon_btn">쿠폰적용</button>
<button type="button" id="sc_coupon_btn" class="btn_frmline">쿠폰적용</button>
</td>
</tr>
<?php } ?>