This commit is contained in:
xing 2020-10-10 10:47:22 +08:00
parent e72dac9792
commit 116fb83af8

View File

@ -332,6 +332,7 @@
} }
function llxx(li) { function llxx(li) {
let info = JSON.parse(li.dataset.info); let info = JSON.parse(li.dataset.info);
if (!window.lz) { if (!window.lz) {
lzl(); lzl();
@ -352,7 +353,7 @@
vertical-align: middle; vertical-align: middle;
">楼主</span>` ">楼主</span>`
let y = ':' let y = ':'
if (window.lz.un === info.un) { if (window.lz.un === info.un || window.lz.name_show === info.un) {
x = i x = i
} }
rep.outerHTML = `<a href="/home/main?un=${info.un}" class="user_name">${xx}</a>` + x + y; rep.outerHTML = `<a href="/home/main?un=${info.un}" class="user_name">${xx}</a>` + x + y;
@ -364,10 +365,11 @@
} }
} }
if (c) { if (c) {
let un = c.href.split('un=')[1]; let un = c.href.split('un=')[1];
un = decodeURI(un); un = decodeURI(un);
if (window.lz.un === un) { if (window.lz.un === un || window.lz.name_show === un) {
c.outerHTML += `&nbsp;<span style="text-align: center; c.outerHTML += `&nbsp;<span style="text-align: center;
background: #3381e3; background: #3381e3;
color: #fff; color: #fff;