From c794342cb2f4675d5de20d24a5fc82d1f7761b0a Mon Sep 17 00:00:00 2001 From: whitedot Date: Thu, 9 May 2013 15:32:43 +0900 Subject: [PATCH] =?UTF-8?q?M=EC=87=BC=ED=95=91=EB=AA=B0:=20#160=20?= =?UTF-8?q?=EC=83=81=ED=92=88=EA=B2=80=EC=83=89=EA=B2=B0=EA=B3=BC=20?= =?UTF-8?q?=EC=8A=A4=ED=83=80=EC=9D=BC=20=EC=99=84=EB=A3=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/mobile_shop.css | 16 +++++---- mobile/shop/search.php | 74 +++++++++++++++++++----------------------- 2 files changed, 43 insertions(+), 47 deletions(-) diff --git a/css/mobile_shop.css b/css/mobile_shop.css index 97dc4ce3f..3fb54c2b3 100644 --- a/css/mobile_shop.css +++ b/css/mobile_shop.css @@ -2,7 +2,7 @@ /* 초기화 */ html {overflow-y:scroll} -body {margin:0;padding:0;background:#fff;color:#000;font-size:0.75em;font-family:"dotum"} +body {margin:0;padding:0;background:#fff;color:#000;font-size:1em;font-family:"dotum"} html, h1, h2, h3, h4, h5, h6, form, fieldset, img {margin:0;padding:0;border:0} h1, h2, h3, h4, h5, h6 {font-size:1em;font-family:"dotum"} article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block} @@ -54,6 +54,8 @@ a:active {color:#000;text-decoration:underline} #text_size {display:none;position:absolute;top:-31px;left:-1px} #text_size button {padding:0 10px;height:30px;border:1px solid #cfded8;border-bottom:0;background:#000;color:#fff;cursor:pointer} +#wrapper_title {margin-bottom:1em;font-size:1.2em} + /* 목록 바로가기 */ .sanchor {margin:0 0 10px;padding:0;zoom:1} .sanchor:after {display:block;visibility:hidden;clear:both;content:""} @@ -560,11 +562,13 @@ input.required:focus {border:1px solid #b8c9c2;background:#21272e !important;col .sfaq_img {text-align:center} /* 상품검색 */ -#ssch_ov {margin:0 0 10px;padding:15px 0;border:1px solid #e9e9e9;background:#f5f6fa;text-align:center} -#ssch caption {padding:0 0 5px;font-size:1em;font-weight:bold;text-align:left;line-height:1.5em} -.ssch_it_img {width:100px;text-align:center} -.ssch_it_img img {width:100px;height:100px} -#ssch .ssch_num {width:150px;text-align:right} +#ssch{margin:0 0 2em} +#ssch_ov {padding:15px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:#f5f6fa;text-align:center} +.ssch_ul {margin:0;padding:0;list-style:none} +.ssch_ul li {padding:1em;min-height:100px;border-bottom:1px solid #e9e9e9} +.ssch_ul .sit_icon {display:inline-block} +.ssch_img {float:left;margin:0 1em 0 0} +.ssch_cost {display:block;margin:0.5em 0 0} /* 쇼핑몰 이벤트 */ #sev {} diff --git a/mobile/shop/search.php b/mobile/shop/search.php index 95156efc1..ae44513c0 100644 --- a/mobile/shop/search.php +++ b/mobile/shop/search.php @@ -88,56 +88,48 @@ $total_count = $row['cnt']; $sql = " select ca_name from {$g4['shop_category_table']} where ca_id = '{$save['ca_id']}' "; $row = sql_fetch($sql); + $ca_name = $row['ca_name']; // 김선용 2006.12 : 중복 하위분류명이 많으므로 대분류 포함하여 출력 $ca_temp = ""; if(strlen($save['ca_id']) > 2) // 중분류 이하일 경우 { - $sql2 = " select ca_name from $g4[shop_category_table] where ca_id='".substr($save['ca_id'],0,2)."' "; + $sql2 = " select ca_name from $g4[shop_category_table] where ca_id='".substr($save['ca_id'],0,2)."' "; $row2 = sql_fetch($sql2); - $ca_temp = ''.$row2['ca_name'].' > '; + $ca_temp = ''.$row2['ca_name'].' '; } ?> - - - - - - - + - - - - - - - -
상품
이미지 - 상품명판매가격 - 포인트 -
+ $image = get_it_image($row['it_id'].'_s', (int)($default['de_simg_width']), (int)($default['de_simg_height']), $row['it_id']); + ?> +
  • + + + + + +

    +
  • + +