...
|
...
|
@@ -21,6 +21,7 @@ var tip = require('../../plugin/tip'); |
|
|
var loading = require('../../plugin/loading');
|
|
|
|
|
|
var $goodsContainer = $('#goods-container'),
|
|
|
$fsgc = $goodsContainer.children('.firstscreen-goods'),
|
|
|
$defaultgc = $goodsContainer.children('.default-goods'),
|
|
|
$ngc = $goodsContainer.children('.new-goods'),
|
|
|
$sgc = $goodsContainer.children('.sale-goods'),
|
...
|
...
|
@@ -29,7 +30,7 @@ var $goodsContainer = $('#goods-container'), |
|
|
$newList = $('.new-list');
|
|
|
|
|
|
var winH = $(window).height();
|
|
|
|
|
|
window.$ = $;
|
|
|
var $input = $('#search-input input'),
|
|
|
$clear = $('#search-input .clear-input'),
|
|
|
$buriedpoint = $('.buriedpoint'),
|
...
|
...
|
@@ -640,7 +641,7 @@ function search(opt) { |
|
|
break;
|
|
|
case 'default':
|
|
|
window._yas(1 * new Date(), '1.0.16', 'yohobuy_m', window._ozuid,
|
|
|
'', $('.default-goods .good-info .good-detail-img .good-thumb'));
|
|
|
'', $('.firstscreen-goods .default-goods .good-info .good-detail-img .good-thumb'));
|
|
|
break;
|
|
|
case 'sale':
|
|
|
window._yas(1 * new Date(), '1.0.16', 'yohobuy_m', window._ozuid,
|
...
|
...
|
@@ -836,6 +837,7 @@ $newList.on('touchstart', 'li', function(e) { |
|
|
|
|
|
case 'default':
|
|
|
$defaultgc.removeClass('hide');
|
|
|
$fsgc.removeClass('hide');
|
|
|
break;
|
|
|
|
|
|
case 'sale':
|
...
|
...
|
@@ -957,6 +959,7 @@ $listNav.on('touchend touchcancel', function(e) { |
|
|
|
|
|
case 'default':
|
|
|
$defaultgc.removeClass('hide');
|
|
|
$fsgc.removeClass('hide');
|
|
|
break;
|
|
|
|
|
|
case 'sale':
|
...
|
...
|
|