Authored by mark

Merge branch 'feature/new-product-detail' of http://git.yoho.cn/fe/yohobuy-node

…into feature/new-product-detail
... ... @@ -1350,10 +1350,10 @@ $(function() {
type: 'GET',
url: '/product/detail/getPacakge',
data: {
skn: '51127118'
skn: skn
}
}).then(function(result) {
if (result.code === 200) {
if (result.code === 200 && result.data.packageData.length > 0) {
var packageTpl = require('hbs/product/package.hbs'); // eslint-disable-line
pkgData = result.data;
... ... @@ -1363,6 +1363,8 @@ $(function() {
$('.good-info .good-detail-text > a').dotdotdot({
wrap: 'letter'
});
} else {
$('#package').addClass('hide');
}
});
... ...