쇼핑몰관리자; #316 주문내역 상품리스트 레이어 마크업 및 스타일

This commit is contained in:
whitedot
2013-11-04 15:22:15 +09:00
parent ea2a8192d6
commit c55eafaec7
3 changed files with 15 additions and 9 deletions

View File

@ -28,7 +28,6 @@ $result = sql_query($sql);
<h2 class="h2_frm">주문상품 목록</h2> <h2 class="h2_frm">주문상품 목록</h2>
<div class="tbl_head01 tbl_wrap"> <div class="tbl_head01 tbl_wrap">
<table> <table>
<caption>주문 상품 목록</caption> <caption>주문 상품 목록</caption>
<thead> <thead>
@ -71,17 +70,17 @@ $result = sql_query($sql);
?> ?>
<tr> <tr>
<?php if($k == 0) { ?> <?php if($k == 0) { ?>
<td rowspan="<?php echo $rowspan; ?>"> <td class="td_itname" rowspan="<?php echo $rowspan; ?>">
<a href="./itemform.php?w=u&amp;it_id=<?php echo $row['it_id']; ?>"><?php echo $image; ?> <?php echo stripslashes($row['it_name']); ?></a> <a href="./itemform.php?w=u&amp;it_id=<?php echo $row['it_id']; ?>"><?php echo $image; ?> <?php echo stripslashes($row['it_name']); ?></a>
<?php if($od['od_tax_flag'] && $row['ct_notax']) echo '[비과세상품]'; ?> <?php if($od['od_tax_flag'] && $row['ct_notax']) echo '[비과세상품]'; ?>
</td> </td>
<?php } ?> <?php } ?>
<td> <td class="td_itopt_tl">
<?php echo $opt['ct_option']; ?> <?php echo $opt['ct_option']; ?>
</td> </td>
<td class="td_mngsmall"><?php echo $opt['ct_status']; ?></td> <td class="td_mngsmall"><?php echo $opt['ct_status']; ?></td>
<td class="td_num"><?php echo $opt['ct_qty']; ?></td> <td class="td_cntsmall"><?php echo $opt['ct_qty']; ?></td>
<td class="td_numsmall"><?php echo number_format($opt_price); ?></td> <td class="td_num"><?php echo number_format($opt_price); ?></td>
<td class="td_num"><?php echo number_format($ct_price['stotal']); ?></td> <td class="td_num"><?php echo number_format($ct_price['stotal']); ?></td>
<td class="td_num"><?php echo number_format($opt['cp_price']); ?></td> <td class="td_num"><?php echo number_format($opt['cp_price']); ?></td>
<td class="td_num"><?php echo number_format($ct_point['stotal']); ?></td> <td class="td_num"><?php echo number_format($ct_point['stotal']); ?></td>
@ -95,6 +94,5 @@ $result = sql_query($sql);
?> ?>
</tbody> </tbody>
</table> </table>
</div> </div>
</section> </section>

View File

@ -445,7 +445,7 @@ $(function(){
$this.parent().append("<div id=\"orderitemlist\"><div class=\"itemlist\"></div></div>"); $this.parent().append("<div id=\"orderitemlist\"><div class=\"itemlist\"></div></div>");
$("#orderitemlist .itemlist") $("#orderitemlist .itemlist")
.html(data) .html(data)
.append("<div><button type=\"button\" id=\"orderitemlist-x\">닫기</button></div>"); .append("<div id=\"orderitemlist_close\"><button type=\"button\" id=\"orderitemlist-x\" class=\"btn_frmline\">닫기</button></div>");
} }
); );
@ -453,7 +453,7 @@ $(function(){
}); });
// 상품리스트 닫기 // 상품리스트 닫기
$("#orderitemlist-x").on("click", function() { $(".orderitemlist-x").on("click", function() {
$("#orderitemlist").remove(); $("#orderitemlist").remove();
}); });

View File

@ -351,7 +351,9 @@ table .tr_bg1 {background:#f9f9f9}
td.td_grpset {width:160px;border-left:1px solid #e9ecee;text-align:center} td.td_grpset {width:160px;border-left:1px solid #e9ecee;text-align:center}
.td_id {width:150px} .td_id {width:150px}
.td_idsmall {width:75px} .td_idsmall {width:75px}
.td_itname {text-align:left !important}
.td_itopt {width:200px} .td_itopt {width:200px}
.td_itopt_tl {text-align:left !important}
.td_img {text-align:center} .td_img {text-align:center}
.td_imgline {width:70px;text-align:center} .td_imgline {width:70px;text-align:center}
.td_input input {width:94%} .td_input input {width:94%}
@ -440,10 +442,16 @@ td.td_grpset {width:160px;border-left:1px solid #e9ecee;text-align:center}
.scf_sms_cnt {display:block} .scf_sms_cnt {display:block}
/* 주문내역 */ /* 주문내역 */
#sodr_list td {text-align:center !important} #sodr_list td {text-align:center}
#sodr_list .td_name {text-align:center !important}
#orderitemlist {position:relative} #orderitemlist {position:relative}
#orderitemlist .itemlist {position:absolute;top:0;left:0} #orderitemlist .itemlist {position:absolute;top:0;left:0}
#orderitemlist {position:relative}
#orderitemlist .itemlist {z-index:2;position:absolute;top:0;left:-41px;width:958px;border:1px solid #a2a5a9;background:#f2f5f9}
#orderitemlist td {background:#fff}
#orderitemlist #orderitemlist_close {padding:0 20px 10px;text-align:right}
/* 주문내역 수정 */ /* 주문내역 수정 */
.sodr_nonpay {color:#ff6600} .sodr_nonpay {color:#ff6600}
strong.sodr_nonpay {display:block;padding:5px 0;text-align:right} strong.sodr_nonpay {display:block;padding:5px 0;text-align:right}