Merge branch 'master' into feature/seo3
Showing
7 changed files
with
21 additions
and
6 deletions
@@ -293,6 +293,10 @@ | @@ -293,6 +293,10 @@ | ||
293 | <a href="//www.yohobuy.com/privacy.html" rel="nofollow">隐私条款</a> | 293 | <a href="//www.yohobuy.com/privacy.html" rel="nofollow">隐私条款</a> |
294 | <span>|</span> | 294 | <span>|</span> |
295 | <a href="//www.yohobuy.com/link.html">友情链接</a> | 295 | <a href="//www.yohobuy.com/link.html">友情链接</a> |
296 | + <span>|</span> | ||
297 | + <a class="police" target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=32010502010132"> | ||
298 | + 苏公网安备 32010502010132号 | ||
299 | + </a> | ||
296 | </p> | 300 | </p> |
297 | <p> | 301 | <p> |
298 | CopyRight © 2007-2016 南京新与力文化传播有限公司 | 302 | CopyRight © 2007-2016 南京新与力文化传播有限公司 |
public/img/layout/police.png
0 → 100644
18.8 KB
@@ -160,8 +160,14 @@ function bindHoverEvent() { | @@ -160,8 +160,14 @@ function bindHoverEvent() { | ||
160 | $brand.unbind('mouseenter').unbind('mouseleave').hover(function() { | 160 | $brand.unbind('mouseenter').unbind('mouseleave').hover(function() { |
161 | var $this = $(this); | 161 | var $this = $(this); |
162 | var key = $this.attr('data-key'); | 162 | var key = $this.attr('data-key'); |
163 | + var options; | ||
163 | 164 | ||
164 | - var options = { | 165 | + // 全球购品牌不展示品牌简介 |
166 | + if (+key < 0) { | ||
167 | + return; | ||
168 | + } | ||
169 | + | ||
170 | + options = { | ||
165 | url: '/brands/brandinfo', | 171 | url: '/brands/brandinfo', |
166 | type: 'get', | 172 | type: 'get', |
167 | data: { | 173 | data: { |
@@ -114,7 +114,7 @@ function getShoppingKey() { | @@ -114,7 +114,7 @@ function getShoppingKey() { | ||
114 | a.src = j; | 114 | a.src = j; |
115 | m.parentNode.insertBefore(a, m); | 115 | m.parentNode.insertBefore(a, m); |
116 | }(window, document, 'script', (document.location.protocol === 'https:' ? 'https:' : 'http:') + '//' + // eslint-disable-line | 116 | }(window, document, 'script', (document.location.protocol === 'https:' ? 'https:' : 'http:') + '//' + // eslint-disable-line |
117 | - 'cdn.yoho.cn/yas-jssdk/2.4.1/yas.js', '_yas')); // eslint-disable-line | 117 | + 'cdn.yoho.cn/yas-jssdk/2.4.2/yas.js', '_yas')); // eslint-disable-line |
118 | 118 | ||
119 | (function() { | 119 | (function() { |
120 | var uid = getUid(); | 120 | var uid = getUid(); |
@@ -124,7 +124,7 @@ function getShoppingKey() { | @@ -124,7 +124,7 @@ function getShoppingKey() { | ||
124 | window._ozuid = uid; // 暴露ozuid | 124 | window._ozuid = uid; // 暴露ozuid |
125 | 125 | ||
126 | if (window._yas) { | 126 | if (window._yas) { |
127 | - window._yas(1 * new Date(), '2.4.1', 'yohobuy_web', uid, '', ''); | 127 | + window._yas(1 * new Date(), '2.4.2', 'yohobuy_web', uid, '', ''); |
128 | } | 128 | } |
129 | }()); | 129 | }()); |
130 | 130 |
@@ -346,6 +346,13 @@ | @@ -346,6 +346,13 @@ | ||
346 | padding: 0 10px; | 346 | padding: 0 10px; |
347 | } | 347 | } |
348 | } | 348 | } |
349 | + | ||
350 | + .police { | ||
351 | + background: resolve(layout/police.png) no-repeat; | ||
352 | + height: 20px; | ||
353 | + display: inline-block; | ||
354 | + padding-left: 25px; | ||
355 | + } | ||
349 | } | 356 | } |
350 | 357 | ||
351 | .right-floating-layer { | 358 | .right-floating-layer { |
-
Please register or login to post a comment