From f8b9f0c7759515bb0820a4d8235568a49f3fe267 Mon Sep 17 00:00:00 2001 From: whitedot Date: Fri, 24 May 2013 16:18:21 +0900 Subject: [PATCH] =?UTF-8?q?=EC=87=BC=ED=95=91=EB=AA=B0:=20#195=20=EC=83=81?= =?UTF-8?q?=ED=92=88=EC=83=81=EC=84=B8=20=EC=84=A0=ED=83=9D/=EC=B6=94?= =?UTF-8?q?=EA=B0=80=20=EC=98=B5=EC=85=98=20=EB=A7=88=ED=81=AC=EC=97=85=20?= =?UTF-8?q?1=EC=B0=A8=20=EB=B6=84=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/default_shop.css | 10 +++++--- lib/shop.lib.php | 4 --- shop/item.php | 58 +++++++++++++++++++++++++++++++++++--------- 3 files changed, 53 insertions(+), 19 deletions(-) diff --git a/css/default_shop.css b/css/default_shop.css index 297f2c13f..19713417f 100644 --- a/css/default_shop.css +++ b/css/default_shop.css @@ -485,6 +485,7 @@ input.required:focus {border:1px solid #b8c9c2;background:#21272e !important;col /* 상품 상세보기 - 간략정보 및 구매기능 */ #sit_ov {position:relative;float:right;padding:50px 15px 15px;width:358px;height:auto !important;height:355px;min-height:355px} +#sit_ov h3 {margin:0 0 10px} #sit_title {margin:0 0 5px;font-size:1.3em} #sit_desc {margin:0 0 5px;padding:0;color:#999} @@ -497,14 +498,17 @@ input.required:focus {border:1px solid #b8c9c2;background:#21272e !important;col #sit_star_sns .sit_star {position:relative;top:-2px;margin:0 5px 0 0} #sit_star_sns a {position:relative;top:-2px} -#sit_ov_tbl {margin-bottom:20px;width:100%;border:0;border-collapse:collapse} -#sit_ov_tbl th {border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;font-weight:normal;text-align:left} -#sit_ov_tbl td {padding:7px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9} +.sit_ov_tbl {margin-bottom:20px;width:100%;border:0;border-collapse:collapse} +.sit_ov_tbl th {border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;font-weight:normal;text-align:left} +.sit_ov_tbl td {padding:7px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9} .sit_ov_ro {padding:2px 2px 3px;border:0;background:transparent;text-align:right;vertical-align:middle} .sit_ov_opt {padding:2px 2px 3px;border:0;background:transparent;vertical-align:middle} .sit_ov_input {margin:0 1px 0 0;padding:2px 2px 3px;border:1px solid #b8c9c2;background:transparent;vertical-align:middle} #sit_ov_tbl button {margin:0 1px 0 0} +.sit_sel_btn {position:relative} /* 선택/추가옵션용 추가 버튼 */ +.sit_sel_btn button {position:absolute;top:-51px;right:0} + #sit_ov_btn {margin:0 0 0 34px !important;margin:0 0 0 33px;padding:0;list-style:none;zoom:1} #sit_ov_btn:after {display:block;visibility:hidden;clear:both;content:""} #sit_ov_btn li {float:left;margin:0 0 0 1px} diff --git a/lib/shop.lib.php b/lib/shop.lib.php index e0924ee13..a33c7d94d 100644 --- a/lib/shop.lib.php +++ b/lib/shop.lib.php @@ -603,10 +603,6 @@ function get_item_supply($it_id, $subject) return ''; $str = ''; - $str .= ''.PHP_EOL; - $str .= '추가상품'.PHP_EOL; - $str .= '추가구매를 원하시면 선택하세요.'.PHP_EOL; - $str .= ''.PHP_EOL; $subj = explode(',', $subject); $subj_count = count($subj); diff --git a/shop/item.php b/shop/item.php index e2510e0fe..1bd5f1d15 100644 --- a/shop/item.php +++ b/shop/item.php @@ -240,12 +240,12 @@ else

- +

- 상품 기본옵션 n 개, 추가옵션 n 개 + 상품 선택옵션 n 개, 추가옵션 n 개

- +
- +
@@ -321,23 +321,57 @@ else + +
- + +
+

선택옵션

+ + + + + + + + +
+
+ +
+
+ - + +
+

추가옵션

+ + + + + + + + +
+
+ +
+
+ - +