diff --git a/css/default_shop.css b/css/default_shop.css index 4b0ce10db..5ba80f431 100644 --- a/css/default_shop.css +++ b/css/default_shop.css @@ -530,11 +530,17 @@ td.empty_table {padding:85px 0;text-align:center} .sit_use_star {margin:0 !important;padding:0 0 0 5px} .sit_use_con {display:none;padding:10px 10px 0} -.sit_use_con p {padding:0} +.sit_use_p {margin:0 0 10px;padding:10px;border:1px solid #e9e9e9;background:#fff} .sit_use_cmd {text-align:right} #sit_use_wbtn {margin:0 0 5px;text-align:right} +#sit_use_write {} +#sit_use_write #is_subject {width:100%} +#sit_use_write ul {margin:5px 0 0} +#sit_use_write li {margin:0 0 5px} +#sit_use_write li label {display:inline-block;width:80px} + /* 상품 상세보기 - 상품문의 */ #sit_qa {margin:0 0 10px;padding:10px 10px 20px;border-bottom:1px solid #e9e9e9} #sit_qa h2 {margin:0 0 10px} @@ -548,10 +554,13 @@ td.empty_table {padding:85px 0;text-align:center} .sit_qa_dl:after {display:block;visibility:hidden;clear:both;content:""} .sit_qa_dl dt {float:left} .sit_qa_dl dd {float:left;margin:0 20px 0 5px} +.sit_qaa_done {color:#ff3061} +.sit_qaa_yet {color:#999} .sit_qa_con {display:none;padding:10px 10px 0} -.sit_qa_con p {padding:0} -.sit_qa_qaq {margin:0 0 5px} +.sit_qa_p {margin:0 0 10px;padding:10px;border:1px solid #e9e9e9;background:#fff} +.sit_qa_p strong {display:inline-block;margin:0 0 10px} +.sit_qa_qaq {margin:0 0 20px} .sit_qa_con textarea {display:none} .sit_qa_cmd {text-align:right} @@ -560,7 +569,8 @@ td.empty_table {padding:85px 0;text-align:center} #sit_qa_wbtn {margin:0 0 5px;text-align:right} -#sit_qa_w {display:none} +#sit_qa_write {} +#sit_qa_write #iq_subject {width:100%} /* 상품 상세보기 - 배송정보 */ #sit_dvr {margin:0 0 10px;padding:10px 10px 20px;border-bottom:1px solid #e9e9e9} diff --git a/css/mobile_shop.css b/css/mobile_shop.css index 2d682ca81..1195d0508 100644 --- a/css/mobile_shop.css +++ b/css/mobile_shop.css @@ -233,7 +233,7 @@ a.sanchor_on {background:#626870;color:#fff !important;text-decoration:none} .sit_use_star {margin:0 !important;padding:0 0 0 0.7em} .sit_use_con {display:none;padding:1em 1em 0} -.sit_use_con p {padding:0} +.sit_use_p {margin:0 0 10px;padding:10px;border:1px solid #e9e9e9;background:#fff} .sit_use_cmd {text-align:right} #sit_use_wbtn {margin:0 0 0.3em;text-align:right} @@ -253,8 +253,9 @@ a.sanchor_on {background:#626870;color:#fff !important;text-decoration:none} .sit_qa_dl dd {float:left;margin:0 1.8em 0 0.3em} .sit_qa_con {display:none;padding:1em 1em 0} -.sit_qa_con p {padding:0} -.sit_qa_qaq {margin:0 0 0.3em} +.sit_qa_p {margin:0 0 1em;padding:1em;border:1px solid #e9e9e9;background:#fff} +.sit_qa_p strong {display:inline-block;margin:0 0 1em} +.sit_qa_qaq {margin:0 0 2em} .sit_qa_con textarea {display:none} .sit_qa_cmd {text-align:right} diff --git a/shop/itemqa.php b/shop/itemqa.php index e98987a01..71bc57670 100644 --- a/shop/itemqa.php +++ b/shop/itemqa.php @@ -45,14 +45,17 @@ $thumbnail_width = 500; // http://stackoverflow.com/questions/6967081/show-hide-multiple-divs-with-jquery?answertab=votes#tab-top $iq_stats = ''; + $iq_style = ''; $iq_answer = ''; if ($row['iq_answer']) { $iq_answer = get_view_thumbnail($row['iq_answer'], $thumbnail_width); $iq_stats = '답변완료'; + $iq_style = 'sit_qaa_done'; $is_answer = true; } else { $iq_stats = '답변전'; + $iq_style = 'sit_qaa_yet'; $iq_answer = '답변이 등록되지 않았습니다.'; $is_answer = false; } @@ -61,35 +64,36 @@ $thumbnail_width = 500; ?>
  • - +
    작성자
    작성일
    상태
    -
    +
    -

    - 문의내용
    - -

    +
    +
    + 문의내용
    + +
    +
    + 답변
    + +
    +
    - -

    - 답변
    - -

  • @@ -146,7 +150,7 @@ echo itemqa_page(10, $page, $total_page, "./itemqa.php?it_id=$it_id&page=",
    - 상품문의 쓰기 새 창 + 상품문의 쓰기 새 창 더보기
    diff --git a/shop/itemqaform.php b/shop/itemqaform.php index d9bb2a6be..674ddfe63 100644 --- a/shop/itemqaform.php +++ b/shop/itemqaform.php @@ -29,36 +29,39 @@ if ($w == "u") include_once(G4_PATH.'/head.sub.php'); ?> - -
    +
    +

    상품문의 쓰기

    +
    -
    - 상품문의 쓰기 -
      -
    • - - -
    • -
    • - - -
    • -
    - -
    + + + + + + + + + + + + + + + + +
    + +
    + +
    -

    +

    -

    +
    @@ -130,8 +130,8 @@ echo itemuse_page($config['cf_write_pages'], $page, $total_page, "./itemuse.php? ?>
    - 사용후기 쓰기 새 창 - 더보기 + 사용후기 쓰기 새 창 + 더보기