...
|
...
|
@@ -18,8 +18,7 @@ var $ = require('jquery'), |
|
|
scH,
|
|
|
$nav1 = $('#pos-nav'),
|
|
|
$nav2 = $('#pos-list'),
|
|
|
sTop,
|
|
|
isIphone = navigator.userAgent.indexOf('iPhone') > 0 ? true : false;//判断浏览器类型
|
|
|
sTop;
|
|
|
|
|
|
var tip = require('../plugin/tip'),
|
|
|
filter = require('../plugin/filter'),
|
...
|
...
|
@@ -34,8 +33,6 @@ var $subNav = $('.home-sub-nav'), |
|
|
$shopId = $('input[name="shop_id"]').val(),
|
|
|
$appVersion = $('input[name="app_version"]').val();
|
|
|
|
|
|
var swiper;
|
|
|
|
|
|
var winH = $(window).height(),
|
|
|
noResult = '<p class="no-result">未找到相关搜索结果</p>';
|
|
|
|
...
|
...
|
@@ -350,6 +347,10 @@ function search(opt) { |
|
|
return;
|
|
|
}
|
|
|
|
|
|
if (!opt.url) {
|
|
|
opt.url = '/index/search/search';
|
|
|
}
|
|
|
|
|
|
//导航类别
|
|
|
if ($pre.hasClass('new')) {
|
|
|
navType = 'newest';
|
...
|
...
|
|