Authored by whb

修改bug

... ... @@ -128,7 +128,7 @@ define('yohood', function(require, exports) {
}
html += '<li><a href="' + v.url + '" target="_blank" title="' + v.name + '">' +
'<div class="img-box"><img src="' + pic + '" alt=""><span class="' + topClass + '">TOP ' + (++pos) + '</span></div>' +
'<p class="goods-name">' + tools.limitWords(v.name, 40) + '</p>' +
'<p class="goods-name">' + tools.limitWords(v.name, 60) + '</p>' +
'<p class="price">' + market_price + '¥' + price + '</p></a></li>';
if (pos % 5 == 0) {
temp += template.replace('{li}', html);
... ...