...
|
...
|
@@ -10,6 +10,8 @@ let $footer = $('#yoho-footer'), |
|
|
$yohoPage = $('.yoho-page'),
|
|
|
$header = $('.yoho-header');
|
|
|
|
|
|
let cleanHtml = require('../../utils/cleanHtml');
|
|
|
|
|
|
// 为您优选-40位随机数指纹请求id
|
|
|
let RECID = (new Date().getTime() + '_H5_YOHOBUY_' + Math.floor(Math.random() * 1000000 + 1000000) +
|
|
|
'_' + Math.floor(Math.random() * 1000000 + 1000000));
|
...
|
...
|
@@ -216,7 +218,7 @@ $.extend({ |
|
|
// 已登录
|
|
|
$op.prepend(
|
|
|
'<span>Hi,</span>' +
|
|
|
'<a class="user-name" href="/home?tmp=' + Math.random() + '">' + user[0] + '</a>' +
|
|
|
'<a class="user-name" href="/home?tmp=' + Math.random() + '">' + cleanHtml.htmlEncode(user[0]) + '</a>' +
|
|
|
'<span class="sep-line">|</span>' +
|
|
|
'<a href="/passport/signout/index">退出</a>'
|
|
|
);
|
...
|
...
|
|