From 20e7043f1199ec715f1d1494cbec0d6ed9c07af8 Mon Sep 17 00:00:00 2001 From: chicpro Date: Wed, 23 Oct 2013 10:32:07 +0900 Subject: [PATCH 1/6] =?UTF-8?q?=EB=AA=A8=EB=B0=94=EC=9D=BC=20=EC=87=BC?= =?UTF-8?q?=ED=95=91=EB=AA=B0=20=EB=A9=94=EC=9D=B8=20=ED=83=AD=20=EC=9D=B4?= =?UTF-8?q?=EB=8F=99=20=EB=A8=BC=EC=A0=80=20=EB=90=98=EB=8F=84=EB=A1=9D=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 --- js/shop.mobile.main.js | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/js/shop.mobile.main.js b/js/shop.mobile.main.js index 8d712815d..79bb100a5 100644 --- a/js/shop.mobile.main.js +++ b/js/shop.mobile.main.js @@ -131,6 +131,15 @@ $slides.eq(next).css("left", width+"px"); $tabs.removeClass(cfg.tab_active); + if(count >= 3) { + $tabs.removeClass("tab_listed").css("left", "-"+tab_width+"px"); + + $tabs.eq(next - 1).addClass("tab_listed").css("left", "0px"); + $tabs.eq(next).addClass("tab_listed").css("left", pos_left+"px"); + $tabs.eq((next + 1) % count).addClass("tab_listed").css("left", pos_right+"px"); + } + $tabs.eq(next).addClass(cfg.tab_active); + $slides.eq(idx).clearQueue().animate( { left: "-="+width }, cfg.duration, function() { @@ -141,16 +150,7 @@ $slides.eq(next).clearQueue().animate( { left: "-="+width }, cfg.duration, function() { - if(count >= 3) { - $tabs.removeClass("tab_listed").css("left", "-"+tab_width+"px"); - - $tabs.eq(next - 1).addClass("tab_listed").css("left", "0px"); - $tabs.eq(next).addClass("tab_listed").css("left", pos_left+"px"); - $tabs.eq((next + 1) % count).addClass("tab_listed").css("left", pos_right+"px"); - } - $wrap.height(next_height); - $tabs.eq(next).addClass(cfg.tab_active); } ); @@ -182,6 +182,15 @@ $slides.eq(next).css("left", "-"+width+"px"); $tabs.removeClass(cfg.tab_active); + if(count >= 3) { + $tabs.removeClass("tab_listed").css("left", "-"+tab_width+"px"); + + $tabs.eq(next - 1).addClass("tab_listed").css("left", "0px"); + $tabs.eq(next).addClass("tab_listed").css("left", pos_left+"px"); + $tabs.eq((next + 1) % count).addClass("tab_listed").css("left", pos_right+"px"); + } + $tabs.eq(next).addClass(cfg.tab_active); + $slides.eq(idx).clearQueue().animate( { left: "+="+width }, cfg.duration, function() { @@ -192,16 +201,7 @@ $slides.eq(next).clearQueue().animate( { left: "+="+width }, cfg.duration, function() { - if(count >= 3) { - $tabs.removeClass("tab_listed").css("left", "-"+tab_width+"px"); - - $tabs.eq(next - 1).addClass("tab_listed").css("left", "0px"); - $tabs.eq(next).addClass("tab_listed").css("left", pos_left+"px"); - $tabs.eq((next + 1) % count).addClass("tab_listed").css("left", pos_right+"px"); - } - $wrap.height(next_height); - $tabs.eq(next).addClass(cfg.tab_active); } ); From 3d18bbf9f05888bc84b9382fa47d86dd728ad5cd Mon Sep 17 00:00:00 2001 From: whitedot Date: Wed, 23 Oct 2013 11:03:20 +0900 Subject: [PATCH 2/6] =?UTF-8?q?=EB=AA=A8=EB=B0=94=EC=9D=BC=EC=87=BC?= =?UTF-8?q?=ED=95=91=EB=AA=B0:=20=EC=9D=B8=EB=8D=B1=EC=8A=A4=20=EB=A7=88?= =?UTF-8?q?=ED=81=AC=EC=97=85=20=EB=B0=8F=20=EC=8A=A4=ED=83=80=EC=9D=BC=20?= =?UTF-8?q?1=EC=B0=A8=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/shop.head.php | 2 +- mobile/skin/shop/basic/main.event.skin.php | 2 +- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/css/mobile_shop.css b/css/mobile_shop.css index 52da3621c..21d45a655 100644 --- a/css/mobile_shop.css +++ b/css/mobile_shop.css @@ -33,16 +33,16 @@ a:hover, a:focus, a:active {color:#000;text-decoration:underline} #hd_sch .frm_input {height:2.5em;border-color:#999;background:#fff;line-height:2.5em} #hd_sch .pop_close {position:absolute;bottom:0.5em;right:0.5em;border:0;background:transparent} -#hd_mb {margin:1em 1em 0;text-align:center} -#hd_mb li {display:inline-block;margin:0 0 0 1em} -#hd_mb a {display:block;text-decoration:none} +#hd_mb {margin:10px 10px 0;text-align:center} +#hd_mb li {display:inline-block;margin:0 0 0 10px} +#hd_mb a {display:block;text-decoration:none;letter-spacing:-0.1em} /* 중간 레이아웃 */ #container {padding:10px} #container_title {margin:0 0 10px;padding:0;font-size:1.333em} /* 하단 레이아웃 */ -#ft {margin:2em 0 0;padding:2em 0 0;border-top:1px solid #e9e9e9;font-size:0.6em;text-align:center} +#ft {margin:20px 0 0;padding:20px 0 0;border-top:1px solid #e9e9e9;font-size:0.833em;text-align:center;letter-spacing:-0.1em} #ft h2 {position:absolute;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden} #ft_to_top {display:block;margin:1em 0 2em} @@ -59,9 +59,9 @@ a.sanchor_on {background:#626870;color:#fff !important;text-decoration:none} #sidx {padding:0} /* 인덱스 상품 */ -#slide_tab {position:relative;margin:0 0 30px;padding:0;width:100%;height:50px;background:#383838;list-style:none;overflow:hidden} +#slide_tab {position:relative;margin:-10px 0 30px;padding:0;width:100%;height:40px;background:#383838;list-style:none;overflow:hidden} #slide_tab li {position:absolute;top:0;text-align:center} -#slide_tab button {margin:0;padding:0 15px;height:50px;border:0;background:#585858;color:#fff} +#slide_tab button {margin:0;padding:0 15px;height:40px;border:0;background:#585858;color:#fff} #slide_tab .tab_active button {background:transparent;font-weight:bold} #sidx_slide {position:relative;top:0;left:0;width:100%;overflow:hidden} .sidx_slide {position:absolute;top:0;left:0;width:100%} @@ -482,7 +482,9 @@ html.no-overflowscrolling #sc_coupon_frm, html.no-overflowscrolling #od_coupon_f .ssch_cost {display:block;margin:0.5em 0 0} /* 쇼핑몰 이벤트 */ -#sev {} +#sev {margin:0;padding:0;border-bottom:1px solid #e9e9e9;list-style:none} +#sev li {} +#sev a {display:block;padding:10px;border:1px solid #e9e9e9;border-bottom:0;background:#f5f6fa} .sev_admin {text-align:right} /* 화면낭독기 사용자용 */ diff --git a/mobile/shop/shop.head.php b/mobile/shop/shop.head.php index 255e695ec..850ffb41c 100644 --- a/mobile/shop/shop.head.php +++ b/mobile/shop/shop.head.php @@ -40,7 +40,7 @@ include_once(G5_LIB_PATH.'/popular.lib.php');