|
@@ -1390,10 +1390,10 @@ function actionSearch() { |
|
@@ -1390,10 +1390,10 @@ function actionSearch() { |
1390
|
*/
|
1390
|
*/
|
1391
|
function actionLoginState(_data) {
|
1391
|
function actionLoginState(_data) {
|
1392
|
var timestamp = new Date().getTime();
|
1392
|
var timestamp = new Date().getTime();
|
1393
|
- var noLoginHtml = '<span>Hi~</span>[<a href="//www.yohobuy.com/signin.html" class="list-a login-out ">' +
|
1393
|
+ var noLoginHtml = '<span>Hi~</span>[<a href="//www.yohobuy.com/signin.html?refer="'+ window.location.href +' class="list-a login-out ">' +
|
1394
|
'请登录</a>] ' +
|
1394
|
'请登录</a>] ' +
|
1395
|
- '[<a href="//www.yohobuy.com/reg.html" class="list-a login-out" onclick="">免费注册</a>]';
|
|
|
1396
|
- var loginHtml = '<span>Hi~<a href="//www.yohobuy.com/home?t=' + timestamp +
|
1395
|
+ '[<a href="//www.yohobuy.com/reg.html?refer="'+ window.location.href +' class="list-a login-out" onclick="">免费注册</a>]';
|
|
|
1396
|
+ var loginHtml = '<span>Hi~<a href="//www.yohobuy.com/home?ht=' + timestamp +
|
1397
|
'">{{user_name}}</a></span> ' +
|
1397
|
'">{{user_name}}</a></span> ' +
|
1398
|
'{{#if islogin}}' +
|
1398
|
'{{#if islogin}}' +
|
1399
|
'[<a href="{{logout}}" class="list-a login-out">退出</a>]' +
|
1399
|
'[<a href="{{logout}}" class="list-a login-out">退出</a>]' +
|