From eb6d579590375497bb1f2929b548270dd71c4b46 Mon Sep 17 00:00:00 2001 From: thisgun Date: Mon, 2 Apr 2018 18:01:05 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AA=A8=EB=B0=94=EC=9D=BC=20=EC=83=81?= =?UTF-8?q?=ED=92=88=20=EB=B3=B4=EA=B8=B0=20=ED=83=80=EC=9E=85=20=EB=B2=84?= =?UTF-8?q?=ED=8A=BC=20=EB=AF=B8=EC=9E=91=EB=8F=99=20=EC=98=A4=EB=A5=98=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/shop/list.php | 4 +- mobile/skin/shop/basic/list.10.skin.php | 50 +++++++++++++++++-- mobile/skin/shop/basic/style.css | 4 ++ shop/ajax.list.php | 5 ++ .../mobile/skin/shop/basic/list.10.skin.php | 50 +++++++++++++++++-- .../mobile/skin/shop/basic/main.20.skin.php | 4 +- .../mobile/skin/shop/basic/main.30.skin.php | 4 +- theme/basic/mobile/skin/shop/basic/style.css | 4 ++ 8 files changed, 111 insertions(+), 14 deletions(-) diff --git a/mobile/shop/list.php b/mobile/shop/list.php index 5dcc477f9..f8286d466 100644 --- a/mobile/shop/list.php +++ b/mobile/shop/list.php @@ -142,7 +142,7 @@ var g5_shop_url = ""; $list->set_order_by($order_by); $list->set_from_record($from_record); $list->set_view('it_img', true); - $list->set_view('it_id', true); + $list->set_view('it_id', false); $list->set_view('it_name', true); $list->set_view('it_price', true); $list->set_view('sns', true); @@ -161,7 +161,7 @@ var g5_shop_url = ""; if($i > 0 && $total_count > $items) { $qstr1 .= 'ca_id='.$ca_id; $qstr1 .='&sort='.$sort.'&sortodr='.$sortodr; - $ajax_url = G5_SHOP_URL.'/ajax.list.php?'.$qstr1; + $ajax_url = G5_SHOP_URL.'/ajax.list.php?'.$qstr1.'&use_sns=1'; ?>

로딩이미지
잠시만 기다려주세요.

diff --git a/mobile/skin/shop/basic/list.10.skin.php b/mobile/skin/shop/basic/list.10.skin.php index 74362752c..98fe73473 100644 --- a/mobile/skin/shop/basic/list.10.skin.php +++ b/mobile/skin/shop/basic/list.10.skin.php @@ -5,7 +5,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 add_stylesheet('', 0); ?> - + + \ No newline at end of file diff --git a/mobile/skin/shop/basic/style.css b/mobile/skin/shop/basic/style.css index 7360ba4fb..d3fa51148 100644 --- a/mobile/skin/shop/basic/style.css +++ b/mobile/skin/shop/basic/style.css @@ -101,6 +101,10 @@ .sct_20 .sct_txt{font-weight:bold;font-size:1.083em;margin:0px 10px 5px;line-height:1.5em} .sct_20 .sct_cost{margin:5px 10px} .sct_20 .sct_sns{margin:10px 10px} +.sct_20 .li_wr.is_view_type_list{padding-left:130px;height:130px} +.sct_20 .li_wr.is_view_type_list .sct_img{width:130px} +.sct_20 .li_wr.is_view_type_list .sct_img a{display:block} +.sct_20 .li_wr.is_view_type_list img{width:100%;height:auto} /* 상품 목록 스킨 30 */ .sct_30 .sct_li{;width:100%;margin:5px 0; text-align:left;width:100%;float:left} diff --git a/shop/ajax.list.php b/shop/ajax.list.php index 7c0884853..94ed91997 100644 --- a/shop/ajax.list.php +++ b/shop/ajax.list.php @@ -2,6 +2,8 @@ include_once('./_common.php'); include_once(G5_LIB_PATH.'/json.lib.php'); +define('G5_IS_SHOP_AJAX_LIST', true); + $data = array(); $sql = " select * @@ -60,6 +62,9 @@ $list->set_view('it_img', true); $list->set_view('it_id', false); $list->set_view('it_name', true); $list->set_view('it_price', true); +if(isset($use_sns) && $use_sns){ + $list->set_view('sns', true); +} echo $list->run(); $content = ob_get_contents(); diff --git a/theme/basic/mobile/skin/shop/basic/list.10.skin.php b/theme/basic/mobile/skin/shop/basic/list.10.skin.php index 74362752c..98fe73473 100644 --- a/theme/basic/mobile/skin/shop/basic/list.10.skin.php +++ b/theme/basic/mobile/skin/shop/basic/list.10.skin.php @@ -5,7 +5,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 add_stylesheet('', 0); ?> - + + \ No newline at end of file diff --git a/theme/basic/mobile/skin/shop/basic/main.20.skin.php b/theme/basic/mobile/skin/shop/basic/main.20.skin.php index ba60f9abe..4da8b4a57 100644 --- a/theme/basic/mobile/skin/shop/basic/main.20.skin.php +++ b/theme/basic/mobile/skin/shop/basic/main.20.skin.php @@ -15,7 +15,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 - + list_mod); $li_width_style = ' style="width:'.$li_width.'%;"'; @@ -95,4 +95,4 @@ if ($i > 0) echo "\n"; if($i == 0) echo "

등록된 상품이 없습니다.

\n"; ?> - + diff --git a/theme/basic/mobile/skin/shop/basic/main.30.skin.php b/theme/basic/mobile/skin/shop/basic/main.30.skin.php index 57decbc0c..46a736133 100644 --- a/theme/basic/mobile/skin/shop/basic/main.30.skin.php +++ b/theme/basic/mobile/skin/shop/basic/main.30.skin.php @@ -15,7 +15,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 - + list_mod); $li_width_style = ' style="width:'.$li_width.'%;"'; @@ -95,4 +95,4 @@ if ($i > 0) echo "\n"; if($i == 0) echo "

등록된 상품이 없습니다.

\n"; ?> - + diff --git a/theme/basic/mobile/skin/shop/basic/style.css b/theme/basic/mobile/skin/shop/basic/style.css index ef0e0955c..ea0e45518 100644 --- a/theme/basic/mobile/skin/shop/basic/style.css +++ b/theme/basic/mobile/skin/shop/basic/style.css @@ -100,6 +100,10 @@ .sct_20 .sct_txt{font-weight:bold;font-size:1.083em;margin:0px 10px 5px;line-height:1.5em} .sct_20 .sct_cost{margin:5px 10px} .sct_20 .sct_sns{margin:10px 10px} +.sct_20 .li_wr.is_view_type_list{padding-left:130px;height:130px} +.sct_20 .li_wr.is_view_type_list .sct_img{width:130px} +.sct_20 .li_wr.is_view_type_list .sct_img a{display:block} +.sct_20 .li_wr.is_view_type_list img{width:100%;height:auto} /* 상품 목록 스킨 30 */ .sct_30 .sct_li{;width:100%;margin:5px 0; text-align:left;width:100%;float:left}