Authored by 周少峰

Merge branch 'hotfix/upYas' into gray

... ... @@ -294,7 +294,7 @@
<span>|</span>
<a href="//www.yohobuy.com/link.html">友情链接</a>
<span>|</span>
<a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=32010502010132">
<a class="police" target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=32010502010132">
苏公网安备 32010502010132号
</a>
</p>
... ...
{
"name": "yohobuy-node",
"version": "5.9.1",
"version": "5.9.2",
"private": true,
"description": "A New Yohobuy Project With Express",
"repository": {
... ...
... ... @@ -160,8 +160,14 @@ function bindHoverEvent() {
$brand.unbind('mouseenter').unbind('mouseleave').hover(function() {
var $this = $(this);
var key = $this.attr('data-key');
var options;
var options = {
// 全球购品牌不展示品牌简介
if (+key < 0) {
return;
}
options = {
url: '/brands/brandinfo',
type: 'get',
data: {
... ...
... ... @@ -114,7 +114,7 @@ function getShoppingKey() {
a.src = j;
m.parentNode.insertBefore(a, m);
}(window, document, 'script', (document.location.protocol === 'https:' ? 'https:' : 'http:') + '//' + // eslint-disable-line
'cdn.yoho.cn/yas-jssdk/2.4.1/yas.js', '_yas')); // eslint-disable-line
'cdn.yoho.cn/yas-jssdk/2.4.2/yas.js', '_yas')); // eslint-disable-line
(function() {
var uid = getUid();
... ... @@ -124,7 +124,7 @@ function getShoppingKey() {
window._ozuid = uid; // 暴露ozuid
if (window._yas) {
window._yas(1 * new Date(), '2.4.1', 'yohobuy_web', uid, '', '');
window._yas(1 * new Date(), '2.4.2', 'yohobuy_web', uid, '', '');
}
}());
... ...
... ... @@ -346,6 +346,13 @@
padding: 0 10px;
}
}
.police {
background: resolve(layout/police.png) no-repeat;
height: 20px;
display: inline-block;
padding-left: 25px;
}
}
.right-floating-layer {
... ...