쇼핑몰공통: #257 주문상세 요청내역 표시 마크업 및 스타일
This commit is contained in:
@ -284,6 +284,7 @@ td.empty_table {padding:85px 0;text-align:center}
|
||||
.td_chk {width:30px;text-align:center}
|
||||
.td_group {width:100px;text-align:center}
|
||||
.td_board {width:120px;text-align:center}
|
||||
.td_smallstat {width:50px;text-align:center}
|
||||
.td_num {width:50px;text-align:center}
|
||||
.td_bignum {width:100px;text-align:center}
|
||||
.td_mb_id {width:100px;text-align:center}
|
||||
@ -738,6 +739,19 @@ td.empty_table {padding:85px 0;text-align:center}
|
||||
#sod_req_btn {margin:0 0 10px}
|
||||
#sod_req_btn button {background:#626870}
|
||||
|
||||
#sod_req_log {margin:0 0 20px}
|
||||
#sod_req_log ul {margin:0;padding:0;border-top:1px solid #e9e9e9;background:#f5f6fa;list-style:none}
|
||||
#sod_req_log li {padding:10px 10px 20px;border:1px solid #e9e9e9;border-top:0}
|
||||
#sod_req_log h3 {margin:20px 0 10px}
|
||||
.sod_req_log_view table {margin:0}
|
||||
.sod_req_log_view caption {padding:10px 0;font-size:1em;font-weight:bold;text-align:left;line-height:1em}
|
||||
.sod_req_log_view caption span {color:#ff3061}
|
||||
.sod_req_log_view th {border-top:1px solid #e9e9e9;background:#f7f7f7 !important;color:#000 !important;text-align:center}
|
||||
.sod_req_log_view td {background:#fff;color:#000}
|
||||
.sod_req_log_view p {padding:10px 15px;border-bottom:1px solid #e9e9e9;background:#fff;color:#000}
|
||||
.sod_req_log_view .sod_req_it {width:270px}
|
||||
.sod_req_log_view button {margin:0;padding:0;border:0;background:transparent;color:#ff3061;text-decoration:underline;vertical-align:middle;cursor:pointer}
|
||||
|
||||
#sod_fin_view {border:1px solid #e9e9e9}
|
||||
#sod_fin_view h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
#sod_fin_view h3 {margin:0 0 10px}
|
||||
|
||||
@ -407,6 +407,18 @@ html.no-overflowscrolling #sc_coupon_frm, html.no-overflowscrolling #od_coupon_f
|
||||
#sod_req_btn {margin:0 0 10px}
|
||||
#sod_req_btn button {background:#626870}
|
||||
|
||||
#sod_req_log {margin:0 0 20px}
|
||||
#sod_req_log ul {margin:0;padding:0;border-top:1px solid #e9e9e9;background:#f5f6fa;list-style:none}
|
||||
#sod_req_log li {padding:10px 10px 20px;border:1px solid #e9e9e9;border-top:0}
|
||||
#sod_req_log h3 {margin:20px 0 10px}
|
||||
.sod_req_log_view table {margin:0}
|
||||
.sod_req_log_view caption {padding:10px 0;font-size:1em;font-weight:bold;text-align:left;line-height:1em}
|
||||
.sod_req_log_view caption span {color:#ff3061}
|
||||
.sod_req_log_view th {border-top:1px solid #e9e9e9;background:#f7f7f7 !important;color:#000 !important;text-align:center}
|
||||
.sod_req_log_view td {background:#fff;color:#000}
|
||||
.sod_req_log_view p {padding:10px 15px;border-bottom:1px solid #e9e9e9;background:#fff;color:#000}
|
||||
.sod_req_log_view button {margin:0;padding:0;border:0;background:transparent;color:#ff3061;text-decoration:underline;vertical-align:middle;cursor:pointer}
|
||||
|
||||
#sod_fin_view {border:1px solid #e9e9e9}
|
||||
#sod_fin_view h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
#sod_fin_view h3 {margin:0 0 1em}
|
||||
@ -560,6 +572,7 @@ td.empty_table {padding:5em 0;text-align:center}
|
||||
.td_chk {width:50px;text-align:center}
|
||||
.td_group {width:100px;text-align:center}
|
||||
.td_board {width:120px;text-align:center}
|
||||
.td_smallstat {width:50px;text-align:center}
|
||||
.td_num {width:50px;text-align:center}
|
||||
.td_bignum {width:120px;text-align:center}
|
||||
.td_mb_id {width:100px;text-align:center}
|
||||
|
||||
@ -173,6 +173,7 @@ include_once(G4_MSHOP_PATH.'/_head.php');
|
||||
if($rq_cnt)
|
||||
{
|
||||
?>
|
||||
<section id="sod_req_log">
|
||||
<h3>요청내역</h3>
|
||||
<ul>
|
||||
<?php
|
||||
@ -198,14 +199,11 @@ include_once(G4_MSHOP_PATH.'/_head.php');
|
||||
$rq_subject = $ct_list[$rq_ct_id]['name'].' '.$ct_list[$rq_ct_id]['option'];
|
||||
if($item_count > 1)
|
||||
$rq_subject .= '외 '.($item_count - 1).'건';
|
||||
$rq_subject .= ' '.$rq_type.'요청';
|
||||
$rq_subject .= ' <span>'.$rq_type.'요청</span>';
|
||||
?>
|
||||
<li>
|
||||
<span><?php echo $rq_subject; ?></span>
|
||||
<button type="button" class="request_view">상세보기</button>
|
||||
</li>
|
||||
<li>
|
||||
<table>
|
||||
<li class="sod_req_log_view">
|
||||
<table class="basic_tbl">
|
||||
<caption><?php echo $rq_subject; ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>구분</th>
|
||||
@ -231,25 +229,23 @@ include_once(G4_MSHOP_PATH.'/_head.php');
|
||||
$done_date = substr($tmp['rq_time'], 2, 8);
|
||||
?>
|
||||
<tr>
|
||||
<td><?php echo $rq_type; ?></td>
|
||||
<td class="td_smallstat"><?php echo $rq_type; ?></td>
|
||||
<td><?php echo $it_name; ?></td>
|
||||
<td><?php echo $ct_option; ?></td>
|
||||
<td><?php echo substr($rq_row['rq_time'], 2, 8); ?></td>
|
||||
<td><?php echo $done_date; ?></td>
|
||||
<td class="td_date"><?php echo substr($rq_row['rq_time'], 2, 8); ?></td>
|
||||
<td class="td_date"><?php echo $done_date; ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<tr>
|
||||
<td colspan="5">
|
||||
</tbody>
|
||||
</table>
|
||||
<p>
|
||||
<?php echo conv_content($rq_row['rq_content'], 0); ?>
|
||||
<?php if($rq_row['rq_status'] == 0) { ?>
|
||||
<button type="button" id="rq_id_<?php echo $rq_row['rq_id']; ?>" class="request_cancel"><?php echo $rq_type; ?>요청취소</button>
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</p>
|
||||
</li>
|
||||
<?php
|
||||
}
|
||||
@ -258,11 +254,6 @@ include_once(G4_MSHOP_PATH.'/_head.php');
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
$(".request_view").click(function() {
|
||||
$view = $(this).closest("li").next();
|
||||
$view.slideToggle();
|
||||
});
|
||||
|
||||
$(".request_cancel").click(function() {
|
||||
if(!confirm("요청을 취소하시겠습니까?"))
|
||||
return false;
|
||||
@ -283,6 +274,7 @@ include_once(G4_MSHOP_PATH.'/_head.php');
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</section>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
@ -194,6 +194,7 @@ if(openwin != null) {
|
||||
if($rq_cnt)
|
||||
{
|
||||
?>
|
||||
<section id="sod_req_log">
|
||||
<h3>요청내역</h3>
|
||||
<ul>
|
||||
<?php
|
||||
@ -219,14 +220,11 @@ if(openwin != null) {
|
||||
$rq_subject = $ct_list[$rq_ct_id]['name'].' '.$ct_list[$rq_ct_id]['option'];
|
||||
if($item_count > 1)
|
||||
$rq_subject .= '외 '.($item_count - 1).'건';
|
||||
$rq_subject .= ' '.$rq_type.'요청';
|
||||
$rq_subject .= ' <span>'.$rq_type.'요청</span>';
|
||||
?>
|
||||
<li>
|
||||
<span><?php echo $rq_subject; ?></span>
|
||||
<button type="button" class="request_view">상세보기</button>
|
||||
</li>
|
||||
<li>
|
||||
<table>
|
||||
<li class="sod_req_log_view">
|
||||
<table class="basic_tbl">
|
||||
<caption><?php echo $rq_subject; ?></caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>구분</th>
|
||||
@ -252,25 +250,24 @@ if(openwin != null) {
|
||||
$done_date = substr($tmp['rq_time'], 2, 8);
|
||||
?>
|
||||
<tr>
|
||||
<td><?php echo $rq_type; ?></td>
|
||||
<td><?php echo $it_name; ?></td>
|
||||
<td class="td_smallstat"><?php echo $rq_type; ?></td>
|
||||
<td class="sod_req_it"><?php echo $it_name; ?></td>
|
||||
<td><?php echo $ct_option; ?></td>
|
||||
<td><?php echo substr($rq_row['rq_time'], 2, 8); ?></td>
|
||||
<td><?php echo $done_date; ?></td>
|
||||
<td class="td_date"><?php echo substr($rq_row['rq_time'], 2, 8); ?></td>
|
||||
<td class="td_date"><?php echo $done_date; ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<tr>
|
||||
<td colspan="5">
|
||||
<?php echo conv_content($rq_row['rq_content'], 0); ?>
|
||||
<?php if($rq_row['rq_status'] == 0) { ?>
|
||||
<button type="button" id="rq_id_<?php echo $rq_row['rq_id']; ?>" class="request_cancel"><?php echo $rq_type; ?>요청취소</button>
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>
|
||||
<strong>요청내용</strong>
|
||||
<?php echo conv_content($rq_row['rq_content'], 0); ?>
|
||||
<?php if($rq_row['rq_status'] == 0) { ?>
|
||||
<button type="button" id="rq_id_<?php echo $rq_row['rq_id']; ?>" class="request_cancel"><?php echo $rq_type; ?>요청 취소</button>
|
||||
<?php } ?>
|
||||
</p>
|
||||
</li>
|
||||
<?php
|
||||
}
|
||||
@ -279,11 +276,6 @@ if(openwin != null) {
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
$(".request_view").click(function() {
|
||||
$view = $(this).closest("li").next();
|
||||
$view.slideToggle();
|
||||
});
|
||||
|
||||
$(".request_cancel").click(function() {
|
||||
if(!confirm("요청을 취소하시겠습니까?"))
|
||||
return false;
|
||||
@ -304,6 +296,7 @@ if(openwin != null) {
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</section>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user