...
|
...
|
@@ -170,17 +170,17 @@ function reMarginFooter(fixedElement) { |
|
|
|
|
|
//未登录
|
|
|
$op.prepend(
|
|
|
'<a href="//m.yohobuy.com/signin.html?refer=' + location.href + '">登录</a>' +
|
|
|
'<a href="http://m.yohobuy.com/signin.html?refer=' + location.href + '">登录</a>' +
|
|
|
'<span class="sep-line">|</span>' +
|
|
|
'<a href="//m.yohobuy.com/reg.html">注册</a>'
|
|
|
'<a href="http://m.yohobuy.com/reg.html">注册</a>'
|
|
|
);
|
|
|
} else {
|
|
|
|
|
|
//已登录
|
|
|
$op.prepend(
|
|
|
'<span>Hi,</span>' +
|
|
|
'<a class="user-name" href="//m.yohobuy.com/home?tmp=' + Math.random() + '">' + user[0] + '</a>' +
|
|
|
'<a href="//m.yohobuy.com/passport/signout/index?token=' + user[3] + '">退出</a>'
|
|
|
'<a class="user-name" href="http://m.yohobuy.com/home?tmp=' + Math.random() + '">' + user[0] + '</a>' +
|
|
|
'<a href="http://m.yohobuy.com/passport/signout/index?token=' + user[3] + '">退出</a>'
|
|
|
);
|
|
|
}
|
|
|
|
...
|
...
|
@@ -209,7 +209,7 @@ function reMarginFooter(fixedElement) { |
|
|
a.async = 1;
|
|
|
a.src = j;
|
|
|
m.parentNode.insertBefore(a, m);
|
|
|
})(window, document, 'script', '//cdn.yoho.cn/yas-jssdk/1.0.14/yas.js', '_yas');
|
|
|
})(window, document, 'script', 'http://cdn.yoho.cn/yas-jssdk/1.0.14/yas.js', '_yas');
|
|
|
|
|
|
(function() {
|
|
|
var uid = getUid();
|
...
|
...
|
|