mama-box: 退出按钮改卡片右上角绝对定位 + 仅已登录(userName)时显示 (v26090707)
This commit is contained in:
@@ -3994,6 +3994,8 @@
|
||||
if (_aw) _aw.classList.add('has-img');
|
||||
}
|
||||
var _box = $('#meAuthBox'); if (_box) _box.style.display = _auth ? 'none' : '';
|
||||
/* 退出按钮只在已登录(有 userName)时显示 —— 未登录"退出"没有意义 */
|
||||
var _lx = $('#meLogoutBtn'); if (_lx) _lx.style.display = p.userName ? '' : 'none';
|
||||
if (!p.userName) { var _ai2 = $('#meAvatarImg'); if (_ai2) _ai2.removeAttribute('src'); }
|
||||
}
|
||||
if (pg && pg.code === 200 && pg.result) {
|
||||
|
||||
Reference in New Issue
Block a user