feat(shell): 品牌标记移到标签条并改为浅色 IW;插件页保留标签条、去返回按钮(v3.25.65/66)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 2m12s
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 2m12s
This commit is contained in:
1 parent
e7de1ab415
commit
1b1bcbb2cd
14 files changed
+69
-34
No files matched your search
+1
-10
@@ -40,16 +40,7 @@
|
||||
}, I(iconName))
|
||||
|
||||
return el('nav', { className: 'iwb-navrail', 'aria-label': '一级导航' },
|
||||
el('div', { className: 'iwb-navrail-logo', title: '无限画布', onPointerDown: (e) => e.stopPropagation() },
|
||||
el('img', {
|
||||
className: 'iwb-navrail-logoimg',
|
||||
src: props.logoSrc || 'nav-logo.png',
|
||||
alt: '',
|
||||
draggable: false,
|
||||
onError: (e) => { try { e.currentTarget.style.display = 'none'; const f = e.currentTarget.nextSibling; if (f) f.style.display = '' } catch (err) { /* ignore */ } },
|
||||
}),
|
||||
el('span', { className: 'iwb-navrail-logofallback', style: { display: 'none' } }, I(logoIcon)),
|
||||
),
|
||||
// v3.25.65:品牌 logo 移到顶部画布标签条(用户裁定),导航从图标组开始
|
||||
el('div', { className: 'iwb-navrail-group' },
|
||||
// v3.25.62:导航的「首页」保留(这是新版入口),删掉的是标签条里那个旧房子按钮
|
||||
item('home', 'home', '首页(画布库)', view === 'home', onHome),
|
||||
|
||||
@@ -32,6 +32,11 @@
|
||||
const newWs = props.newWs
|
||||
|
||||
return el('div', { className: 'iwb-tabstrip' },
|
||||
// 品牌 logo(v3.25.65:从一级导航移到标签条最左;纯展示,不参与点击)
|
||||
el('span', { className: 'iwb-tab-logo', title: '无限画布', 'aria-hidden': 'true' },
|
||||
el('span', { className: 'iwb-tab-logotext' }, 'IW'),
|
||||
),
|
||||
el('span', { className: 'iwb-tab-sep', 'aria-hidden': 'true' }, null),
|
||||
// v3.25.62:旧「首页」房子按钮已删(画布库入口只保留一级导航的「首页」)
|
||||
// 画布标签(ti>0 前插一条分隔线)
|
||||
tabIds.map((wsId, ti) => {
|
||||
|
||||
Reference in new issue
Block a user