diff --git a/css/default_shop.css b/css/default_shop.css index 76dc8cc67..8eaabb89c 100644 --- a/css/default_shop.css +++ b/css/default_shop.css @@ -2,18 +2,14 @@ /* 초기화 */ html {overflow-y:scroll} -body {margin:0;padding:0;background:#fff;font-size:0.75em;font-family:"dotum"} +body {margin:0;padding:0;background:#fff;color:#000;font-size:0.75em;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} header ul, nav ul, footer ul {margin:0;padding:0;list-style:none} label, input, select, img {vertical-align:middle} input {margin:0;padding:0;border-radius:0;font-family:"dotum"} -input[type=text], -input[type=password], -input[type=submit], -input[type=image] {-webkit-appearance:none} -button {border-radius:0;font-size:1em;-webkit-appearance:none} +button {border-radius:0;font-size:1em} p {margin:0;padding:10px 0;line-height:1.7em;word-break:break-all} hr {display:none} pre {overflow-x:scroll;font-size:1.1em} @@ -93,18 +89,23 @@ a:active {color:#000;text-decoration:underline} #wrapper_title {margin-bottom:20px;font-size:1.2em} /* 오늘 본 상품 */ -#stv {float:right;width:90px} -#stv_list {border:1px solid #e9e9e9} +#stv {z-index:1001;float:right;position:relative;width:88px;background:#fff} +#stv_list {position:fixed !important;position:absolute;width:88px;border:1px solid #e9e9e9} #stv_list h2 {padding:10px 0 8px;background:#f7f7f7;text-align:center;letter-spacing:-0.1em} +#stv_pg {display:block;margin:5px 0 0} #stv_list p {padding:20px 0;text-align:center} -#stv_ul {margin:0;padding:0;list-style:none} -.stv_item {display:none} +#stv_btn {text-align:center;zoom:1} +#stv_btn:after {display:block;visibility:hidden;clear:both;content:''} +#stv_btn button {float:left;margin:0;padding:5px 0 4px;width:44px;border:0;background:#555;color:#fff;text-align:center} +#stv_ul {margin:5px 0 10px;padding:0;list-style:none} +.stv_item {display:none;text-align:center} +.stv_item img {margin:5px 0} #stv_nb {background:#f9faf5} #stv_nb h3 {position:absolute;font-size:0;line-height:0;overflow:hidden} -#stv_nb_ul {margin:0;padding:0;list-style:none} -#stv_nb_ul li {text-align:center} -#stv_nb_ul a {display:block} +#stv_nb ul {margin:0;padding:0;list-style:none} +#stv_nb li {text-align:center} +#stv_nb a {display:block} /* aside wrapper */ #aside {float:left;margin:0 10px 0 0;width:150px} @@ -154,6 +155,29 @@ a:active {color:#000;text-decoration:underline} #container {z-index:4;position:relative;float:left;width:740px;min-height:500px;height:auto !important;height:500px;background:#fff;zoom:1} #container:after {display:block;visibility:hidden;clear:both;content:""} +/* 인덱스 상품 출력 */ +/* 공통 */ +.sidx_it_wrap {margin:0 0 30px;zoom:1} +.sidx_it_wrap:after {display:block;visibility:hidden;clear:both;content:''} +.sidx_it_wrap header {margin:0 0 20px;zoom:1} +.sidx_it_wrap header:after {display:block;visibility:hidden;clear:both;content:''} +.sidx_it_wrap h2 {float:left;margin:0 20px 0 0;padding:0;line-height:1em} +.sidx_it_wrap h2 a {text-decoration:none} +.sidx_it_wrap_hdesc {float:left;margin:0;padding:0;color:#777;line-height:1em} + +.sidx_it {margin:0;padding:0;list-style:none;zoom:1} +.sidx_it:after {display:block;visibility:hidden;clear:both;content:''} +.sidx_it_li {position:relative} + +/* 스킨 10 */ +.sidx_it_10 .sidx_it_li {float:left;margin:0 25px 0 0;width:230px} +.sidx_it_10 .sidx_it_last {margin:0 !important} +.sidx_it_10 .sidx_it_a {display:block;font-weight:bold;text-decoration:none} +.sidx_it_10 span {display:block;margin:0 0 10px} +.sidx_it_10 b {display:block;margin:0 0 5px;font-weight:normal} +.sidx_it_10 .sidx_it_sns {position:absolute;top:190px;right:20px} + +/* 배너 인덱스 출력 */ #sbn_idx {} #sbn_idx h2 {position:absolute;font-size:0;line-height:0;overflow:hidden} #sbn_idx ul {margin:0;padding:0;border:0;list-style:none} diff --git a/img/shop/sns_twt.png b/img/shop/sns_twt.png index 4f900f37b..e4c3ceebf 100644 Binary files a/img/shop/sns_twt.png and b/img/shop/sns_twt.png differ diff --git a/js/scroll_oldie.js b/js/scroll_oldie.js new file mode 100644 index 000000000..91acf62df --- /dev/null +++ b/js/scroll_oldie.js @@ -0,0 +1,30 @@ +// 원본출처 http://blog.bits.kr/90 - 어떤 용도로도 자유로운 사용가능. 수정/배포도 마음대로.. +// 수정 지운아빠 2013-04-30 +$(function(){ + var $win = $(window); + var top = $(window).scrollTop(); // 현재 스크롤바의 위치값을 반환합니다. + + /*사용자 설정 값 시작*/ + var speed = 1000; // 따라다닐 속도 : "slow", "normal", or "fast" or numeric(단위:msec) + var easing = 'linear'; // 따라다니는 방법 기본 두가지 linear, swing + var $layer = $('#stv_list'); // 레이어 셀렉팅 + var layerTopOffset = 0; // 레이어 높이 상한선, 단위:px + $layer.css('position', 'absolute'); + /*사용자 설정 값 끝*/ + + // 스크롤 바를 내린 상태에서 리프레시 했을 경우를 위해 + if (top > 0 ) + $win.scrollTop(layerTopOffset+top); + else + $win.scrollTop(0); + + //스크롤이벤트가 발생하면 + $(window).scroll(function(){ + yPosition = $win.scrollTop() - 223; + if (yPosition < 0) + { + yPosition = 0; + } + $layer.animate({"top":yPosition }, {duration:speed, easing:easing, queue:false}); + }); +}); \ No newline at end of file diff --git a/shop/boxtodayview.inc.php b/shop/boxtodayview.inc.php index 59163e334..66278196c 100644 --- a/shop/boxtodayview.inc.php +++ b/shop/boxtodayview.inc.php @@ -8,15 +8,14 @@ $tv_div['img_length'] = 3; // 한번에 보여줄 이미지 수 ?>
-

오늘 본 상품

+

+ 오늘 본 상품 + +

-
- - - -
+
1) echo ''.PHP_EOL; ?> - + @@ -83,10 +86,30 @@ $tv_div['img_length'] = 3; // 한번에 보여줄 이미지 수 -
\ No newline at end of file + + + + + \ No newline at end of file diff --git a/shop/index.php b/shop/index.php index 6869082a0..acb2195c6 100644 --- a/shop/index.php +++ b/shop/index.php @@ -1,6 +1,7 @@ /common/main_img" alt=""> +
+
+

최신상품

+

최신상품 모음

+
+ +
+ +
+
+

히트상품

+

히트상품 모음

+
+ +
+ +
+
+

추천상품

+

추천상품 모음

+
+ +
+ +
+
+

인기상품

+

인기상품 모음

+
+ +
+ +
+
+

할인상품

+

할인상품 모음

+
+ +
+
-히트상품
'; - display_type($type, $default["de_type{$type}_list_skin"], $default["de_type{$type}_list_mod"], $default["de_type{$type}_list_row"], $default["de_type{$type}_img_width"], $default["de_type{$type}_img_height"]); -} -?> +
-추천상품
'; - display_type($type, $default["de_type{$type}_list_skin"], $default["de_type{$type}_list_mod"], $default["de_type{$type}_list_row"], $default["de_type{$type}_img_width"], $default["de_type{$type}_img_height"]); -} -?> -
-
-인기상품
'; - display_type($type, $default["de_type{$type}_list_skin"], $default["de_type{$type}_list_mod"], $default["de_type{$type}_list_row"], $default["de_type{$type}_img_width"], $default["de_type{$type}_img_height"]); -} -?> -
-
-할인상품
'; - display_type($type, $default["de_type{$type}_list_skin"], $default["de_type{$type}_list_mod"], $default["de_type{$type}_list_row"], $default["de_type{$type}_img_width"], $default["de_type{$type}_img_height"]); -} -?> -
-
- -
-
- +
-최신상품
'; - display_type($type, $default["de_type{$type}_list_skin"], $default["de_type{$type}_list_mod"], $default["de_type{$type}_list_row"], $default["de_type{$type}_img_width"], $default["de_type{$type}_img_height"]); -} -?> -
-
diff --git a/shop/maintype10.inc.php b/shop/maintype10.inc.php index caaa82ed8..a15c7068b 100644 --- a/shop/maintype10.inc.php +++ b/shop/maintype10.inc.php @@ -1,37 +1,27 @@ - - 0 && $i % $list_mod == 0) { - echo "\n\n\n"; - } - - $href = ""; + $href = G4_SHOP_URL.'/item.php?it_id='.$row['it_id']; + if (($i+1)%$list_mod == 0) $sidx_it_last = 'sidx_it_last'; + else $sidx_it_last = ''; + if ($i == 0) echo ' -"; -*/ -} - -// 나머지 td 를 채운다. -if (($cnt = $i%$list_mod) != 0) - for ($k=$cnt; $k<$list_mod; $k++) - echo "\n"; +
  • + + + + + +
    + 페이스북에 공유 + 트위터에 공유 + 구글플러스에 공유 +
    +
  • + 0) echo ''; ?> - -
    - - - - - - -
     
    diff --git a/skin/latest/shop_basic/latest.skin.php b/skin/latest/shop_basic/latest.skin.php new file mode 100644 index 000000000..df33929b4 --- /dev/null +++ b/skin/latest/shop_basic/latest.skin.php @@ -0,0 +1,41 @@ + + + + +
    + + +
    더보기
    +
    diff --git a/skin/latest/shop_basic/style.css b/skin/latest/shop_basic/style.css new file mode 100644 index 000000000..82f0b96d2 --- /dev/null +++ b/skin/latest/shop_basic/style.css @@ -0,0 +1,7 @@ +/* 새글 스킨 (latest) */ +.lt_pc {float:left;margin-left:20px} +.lt {position:relative;float:left;margin-bottom:20px;padding-bottom:10px;width:354px;height:150px;border-bottom:1px solid #ddd} +.lt ul {margin:0 0 10px;padding:0;list-style:none} +.lt li {padding:3px 0} +.lt_title {display:block;padding:10px 0 8px} +.lt_more {position:absolute;top:10px;right:0} \ No newline at end of file diff --git a/skin/latest/shop_notice/latest.skin.php b/skin/latest/shop_notice/latest.skin.php deleted file mode 100644 index ba29ea17f..000000000 --- a/skin/latest/shop_notice/latest.skin.php +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - -"; } ?> - - - - - -
    -     - - -
    게시물이 없습니다.