Authored by 梁志锋

升级yas到1.0.15

@@ -191,7 +191,7 @@ function reMarginFooter(fixedElement) { @@ -191,7 +191,7 @@ function reMarginFooter(fixedElement) {
191 a.async = 1; 191 a.async = 1;
192 a.src = j; 192 a.src = j;
193 m.parentNode.insertBefore(a, m); 193 m.parentNode.insertBefore(a, m);
194 -})(window, document, 'script', ('https:' == document.location.protocol ? 'https' : 'http') + '://' + 'cdn.yoho.cn/yas-jssdk/1.0.14/yas.js', '_yas'); 194 +})(window, document, 'script', ('https:' == document.location.protocol ? 'https' : 'http') + '://' + 'cdn.yoho.cn/yas-jssdk/1.0.15/yas.js', '_yas');
195 195
196 (function() { 196 (function() {
197 var uid = getUid(); 197 var uid = getUid();
@@ -201,7 +201,7 @@ function reMarginFooter(fixedElement) { @@ -201,7 +201,7 @@ function reMarginFooter(fixedElement) {
201 window._ozuid = uid;//暴露ozuid 201 window._ozuid = uid;//暴露ozuid
202 202
203 if (window._yas) { 203 if (window._yas) {
204 - window._yas(1 * new Date(), '1.0.14', 'yohobuy_m', uid, '', ''); 204 + window._yas(1 * new Date(), '1.0.15', 'yohobuy_m', uid, '', '');
205 } 205 }
206 }()); 206 }());
207 207
@@ -238,15 +238,15 @@ function search(opt) { @@ -238,15 +238,15 @@ function search(opt) {
238 if (window._yas) { 238 if (window._yas) {
239 switch (navType) { 239 switch (navType) {
240 case 'newest': 240 case 'newest':
241 - window._yas(1 * new Date(), '1.0.14', 'yohobuy_m', window._ozuid, 241 + window._yas(1 * new Date(), '1.0.15', 'yohobuy_m', window._ozuid,
242 '', $('.new-goods .good-info .good-detail-img .good-thumb')); 242 '', $('.new-goods .good-info .good-detail-img .good-thumb'));
243 break; 243 break;
244 case 'price': 244 case 'price':
245 - window._yas(1 * new Date(), '1.0.14', 'yohobuy_m', window._ozuid, 245 + window._yas(1 * new Date(), '1.0.15', 'yohobuy_m', window._ozuid,
246 '', $('.price-goods .good-info .good-detail-img .good-thumb')); 246 '', $('.price-goods .good-info .good-detail-img .good-thumb'));
247 break; 247 break;
248 case 'discount': 248 case 'discount':
249 - window._yas(1 * new Date(), '1.0.14', 'yohobuy_m', window._ozuid, 249 + window._yas(1 * new Date(), '1.0.15', 'yohobuy_m', window._ozuid,
250 '', $('.discount-goods .good-info .good-detail-img .good-thumb')); 250 '', $('.discount-goods .good-info .good-detail-img .good-thumb'));
251 break; 251 break;
252 } 252 }