...
|
...
|
@@ -1023,7 +1023,7 @@ function fetchComment() { |
|
|
$consultNum.text(res[0].total);
|
|
|
|
|
|
totalnum = Math.ceil(res[0].total / 10) * 20;
|
|
|
|
|
|
|
|
|
$consultsUl.empty().append(consultsTpl({
|
|
|
consults: res
|
|
|
}));
|
...
|
...
|
@@ -1349,10 +1349,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;
|
...
|
...
|
@@ -1362,6 +1362,8 @@ $(function() { |
|
|
$('.good-info .good-detail-text > a').dotdotdot({
|
|
|
wrap: 'letter'
|
|
|
});
|
|
|
} else {
|
|
|
$('#package').addClass('hide');
|
|
|
}
|
|
|
});
|
|
|
|
...
|
...
|
|