...
|
...
|
@@ -8,7 +8,6 @@ require('product/sale/break-code-index.page.css'); |
|
|
|
|
|
let $ = require('yoho-jquery'),
|
|
|
Swiper = require('yoho-swiper2'),
|
|
|
ellipsis = require('yoho-mlellipsis'),
|
|
|
lazyLoad = require('yoho-jquery-lazyload'),
|
|
|
tip = require('plugin/tip'),
|
|
|
filter = require('plugin/filter'),
|
...
|
...
|
@@ -66,8 +65,6 @@ let goodsType = ['coat', 'trouser', 'shoes', 'other']; |
|
|
require('common');
|
|
|
require('common/suspend-cart'); // 悬浮购物车
|
|
|
|
|
|
ellipsis.init();
|
|
|
|
|
|
// 获取url里面的参数的值
|
|
|
function getUrlParam(name) {
|
|
|
// 构造一个含有目标参数的正则表达式对象
|
...
|
...
|
@@ -275,13 +272,6 @@ function search(opt) { |
|
|
// lazy good-infos who append in
|
|
|
lazyLoad($container.find('.good-info:gt(' + (num - 1) + ') .lazy'));
|
|
|
}
|
|
|
|
|
|
// $('.good-detail-text .name').each(function() {
|
|
|
// let $this = $(this),
|
|
|
// $title = $this.find('a');
|
|
|
|
|
|
// $title[0].mlellipsis(2);
|
|
|
// });
|
|
|
}
|
|
|
|
|
|
nav.reload = false;
|
...
|
...
|
|