From 5e2d562211afb0b7a47cdac4bcd2e72f2723824d Mon Sep 17 00:00:00 2001 From: uedxwg <xieweiguang11@163.com> Date: Wed, 4 Nov 2015 10:33:25 +0800 Subject: [PATCH] 移除品牌一览侧边导航 --- static/js/category/brand.js | 13 ------------- template/m.yohobuy.com/actions/category/brand/index.phtml | 33 --------------------------------- 2 files changed, 0 insertions(+), 46 deletions(-) diff --git a/static/js/category/brand.js b/static/js/category/brand.js index 4c55be6..ff28d3b 100644 --- a/static/js/category/brand.js +++ b/static/js/category/brand.js @@ -69,19 +69,6 @@ $(window).scroll(function() { }); }); -function rightBarBindClick() { - $('#right-bar .con').find('b').unbind().on('touchstart', function(e) { - var index = $(this).index(); - - if ($('.bar-' + index).size() > 0) { - document.body.scrollTop = parseInt($('.bar-' + index)[0].offsetTop) - parseInt(brandSwipe - 1); - } - e.stopPropagation(); - }); -} - -rightBarBindClick(); - function searchResult() { var keyword = ($keyword.val() + '').toLowerCase(); var result = {}, diff --git a/template/m.yohobuy.com/actions/category/brand/index.phtml b/template/m.yohobuy.com/actions/category/brand/index.phtml index 7d584f7..0114a74 100644 --- a/template/m.yohobuy.com/actions/category/brand/index.phtml +++ b/template/m.yohobuy.com/actions/category/brand/index.phtml @@ -48,37 +48,4 @@ {{/ list}} </div> {{/ brandList}} - - <div id="right-bar" class="right-bar"> - <div class="con" id="con"> - <b>#</b> - <b>A</b> - <b>B</b> - <b>C</b> - <b>D</b> - <b>E</b> - <b>F</b> - <b>G</b> - <b>H</b> - <b>I</b> - <b>J</b> - <b>K</b> - <b>L</b> - <b>M</b> - <b>N</b> - <b>O</b> - <b>P</b> - <b>Q</b> - <b>R</b> - <b>S</b> - <b>T</b> - <b>U</b> - <b>V</b> - <b>W</b> - <b>X</b> - <b>Y</b> - <b>Z</b> - </div> - </div> -</div> {{> layout/footer}} -- libgit2 0.24.0