...
|
...
|
@@ -10,6 +10,8 @@ var $tool = $('.tool-wrapper'), |
|
|
$yohoGroup = $tool.find('.yoho-group'),
|
|
|
$loginBox = $('#loginBox');
|
|
|
|
|
|
var cleanHtml = require('../../utils/cleanHtml');
|
|
|
|
|
|
var $head = $('.head-wrapper'),
|
|
|
$searchForm = $('#search-form'),
|
|
|
$searchKey = $searchForm.find('.search-key'),
|
...
|
...
|
@@ -283,6 +285,7 @@ function updateLoginInfo(data) { |
|
|
data.vip3 = true;
|
|
|
}
|
|
|
|
|
|
data.profileName = cleanHtml.htmlEncode(data.profileName);
|
|
|
$tool.find('.simple-user-center').html(centerFn(data));
|
|
|
}
|
|
|
|
...
|
...
|
@@ -608,7 +611,7 @@ cartTimer = setInterval(syncCratInfo, 2000); // 定时同步购物车数量 |
|
|
|
|
|
var info = {
|
|
|
usercenter: '//www.yohobuy.com/home?t=' + new Date().getTime(),
|
|
|
nickname: profileName,
|
|
|
nickname: cleanHtml.htmlEncode(profileName),
|
|
|
signout: '//www.yohobuy.com/logout.html'
|
|
|
};
|
|
|
|
...
|
...
|
|