Authored by 王水玲

sale bug 修改

... ... @@ -18,7 +18,7 @@ var $mobileWrap = $('.mobile-wrap'),
swiperClass,
isen = true;
require('../common/common');
require('../common');
fastclick.attach(document.body);
lazyLoad($('img.lazy'));
... ...
... ... @@ -16,7 +16,7 @@ var $search = $searchBox.children('input[type="text"]'),
$cancelSearch = $box.children('.no-search'),
$searchIcon = $searchBox.children('.search-icon');
require('../common/common');
require('../common');
$search.on('focus', function() {
$box.addClass('action');
... ...
... ... @@ -64,7 +64,7 @@ var swipers = [],
goodsType = ['coat', 'trouser', 'shoes', 'other'];
require('../common/suspend-cart'); // 悬浮购物车
require('../common/common');
require('../common');
ellipsis.init();
... ...
... ... @@ -6,6 +6,6 @@
var $ = require('yoho-jquery'),
lazyLoad = require('yoho-jquery-lazyload');
require('../common/common');
require('../common');
lazyLoad($('img.lazy'));
... ...
... ... @@ -7,7 +7,7 @@
var $ = require('yoho-jquery'),
Swiper = require('yoho-swiper');
require('../common/common');
require('../common');
require('./sale/search');
if ($('.swiper-container .swiper-slide').length > 1) {
... ...
... ... @@ -62,7 +62,7 @@ var $listNav = $('#list-nav'),
searching;
require('../../common/suspend-cart'); // 悬浮购物车
require('../../common/common');
require('../../common');
ellipsis.init();
... ...