Authored by ccbikai

Merge branch 'hotfix/channel' of git.yoho.cn:fe/yohobuywap-node into hotfix/channel

... ... @@ -7,6 +7,7 @@
module.exports = function(specificGender) {
var $ = require('yoho-jquery'),
Hammer = require('yoho-hammer'),
ellipsis = require('yoho-mlellipsis'),
tip = require('../plugin/tip'),
loading = require('../plugin/loading'),
lazyLoad = require('yoho-jquery-lazyload');
... ... @@ -33,6 +34,8 @@ module.exports = function(specificGender) {
var bottomBannerLoaded;
ellipsis.init();
// ajax url
if (kidsType) {
url = '/product/recom/maylikekids';
... ... @@ -148,6 +151,13 @@ module.exports = function(specificGender) {
loading.hideLoadingMask();
page++;
$('.good-detail-text .name').each(function() {
var $this = $(this),
$title = $this.find('a');
$title[0].mlellipsis(2);
});
},
error: function() {
tip.show('网络断开连接了~');
... ...