Showing
1 changed file
with
1 additions
and
1 deletions
@@ -126,7 +126,7 @@ define('yohood', function(require, exports) { | @@ -126,7 +126,7 @@ 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) + '</p>' + |
132 | '<p class="price">' + market_price + '¥' + price + '</p></a></li>'; | 132 | '<p class="price">' + market_price + '¥' + price + '</p></a></li>'; |
-
Please register or login to post a comment