Showing
1 changed file
with
2 additions
and
2 deletions
@@ -126,9 +126,9 @@ define('yohood', function(require, exports) { | @@ -126,9 +126,9 @@ define('yohood', function(require, exports) { | ||
126 | market_price = parts[0] + '.' + (parts[1] ? parts[1] : '00'); | 126 | market_price = parts[0] + '.' + (parts[1] ? parts[1] : '00'); |
127 | market_price = '<span class="original-price">¥ ' + market_price + '</span>'; | 127 | market_price = '<span class="original-price">¥ ' + market_price + '</span>'; |
128 | } | 128 | } |
129 | - html += '<li><a href="' + v.url + '" target="_blank" title="' + v.name.replace(/\s+/g, ' ').replace(/"/g, "\\\"") + '">' + | 129 | + html += '<li><a href="' + v.url + '" target="_blank" title="' + v.name.replace(/\s+/g, ' ').replace(/"/g, "“") + '">' + |
130 | '<div class="img-box"><img src="' + pic + '" alt=""><span class="' + topClass + '">TOP ' + (++pos) + '</span></div>' + | 130 | '<div class="img-box"><img src="' + pic + '" alt=""><span class="' + topClass + '">TOP ' + (++pos) + '</span></div>' + |
131 | - '<p class="goods-name">' + tools.limitWords(v.name.replace(/\s+/g, ' '), 50) + '</p>' + | 131 | + '<p class="goods-name">' + tools.limitWords(v.name.replace(/\s+/g, ' '), 50).replace(/"/g, "“") + '</p>' + |
132 | '<p class="price">' + market_price + '¥' + price + '</p></a></li>'; | 132 | '<p class="price">' + market_price + '¥' + price + '</p></a></li>'; |
133 | if (pos % 5 == 0) { | 133 | if (pos % 5 == 0) { |
134 | temp += template.replace('{li}', html); | 134 | temp += template.replace('{li}', html); |
-
Please register or login to post a comment