Skip to content

12 个视觉参考图库与浏览器无限画布 AI 创作台(5,700+ 素材、中英提示词、多图对比、ComfyUI & MCP)· Visual reference library & infinite-canvas AI studio in the browser

fix: 去掉试穿页签常驻红点,右上角补 GitHub 入口

atuizz2e6f7cc553c1
diff --git a/seo.py b/seo.py
index debccee..b1a03b7 100644
--- a/seo.py
+++ b/seo.py
@@ -63,7 +63,7 @@ def crumbs_ld(lang,cr,bid=None): return {"@type":"BreadcrumbList",**({"@id":bid}
def crumbs_html(cr): return '<nav class="bc" aria-label="breadcrumb"><ol>'+''.join(f'<li>{"<a href=\""+u+"\">"+E(n)+"</a>" if u else "<span aria-current=\"page\">"+E(n)+"</span>"}</li>' for n,u in cr)+'</ol></nav>'
def shell(lang,path,title,desc,body,ld,en=True,og=None,ogt='website'):
P='/en' if lang=='en' else ''
- nav=(f'<nav><a href="{P}/pose/">{LAB[lang]["pose"]}</a><a href="{P}/costume/">{LAB[lang]["costume"]}</a><a href="{P}/anime/">{LAB[lang]["anime"]}</a><a href="{P}/portrait/">{LAB[lang]["portrait"]}</a>'+
+ nav=(f'<nav><a href="{P}/pose/">{LAB[lang]["pose"]}</a><a href="{P}/costume/">{LAB[lang]["costume"]}</a><a href="{P}/anime/">{LAB[lang]["anime"]}</a><a href="{P}/portrait/">{LAB[lang]["portrait"]}</a><a href="https://github.com/atuizz/posewear" target="_blank" rel="noopener">GitHub</a>'+
(f'<a href="/en{path}" hreflang="en" lang="en">EN</a>' if lang=='zh' and en else f'<a href="{path}" hreflang="zh-CN" lang="zh-CN">中文</a>' if lang=='en' else '')+'</nav>')
foot=('Images from AI Pose Gallery / AI Costume Gallery (by @giaaibusi) and AI Portrait Gallery (by @agi_aibusi, CC0 1.0). All AI-generated. <a href="/en/">PoseWear home</a>' if lang=='en' else
'图片来自 AI Pose Gallery / AI Costume Gallery(原作者 @giaaibusi)与 AI Portrait Gallery(@agi_aibusi,CC0 1.0),均为 AI 生成图,中文描述由本站整理。<a href="/">返回首页</a>')
diff --git a/src/index.html b/src/index.html
index 78318ca..190c7a1 100644
--- a/src/index.html
+++ b/src/index.html
@@ -9,7 +9,7 @@
<a class="skip" href="#grid">跳到内容</a>
<header class="top" id="top"><a class="brand" href="#pose" aria-label="衣姿 PoseWear 首页"><span class="mark" aria-hidden="true"><svg viewBox="0 0 32 32"><circle cx="16" cy="6.6" r="4" fill="currentColor"/><path d="M16 13.4 3.4 25.6h25.2z" fill="none" stroke="currentColor" stroke-width="3.4" stroke-linejoin="round"/></svg></span><span class="wm"><b>衣姿</b><small>PoseWear</small></span></a>
<nav class="tabs" role="tablist" aria-label="栏目"><span class="ind" aria-hidden="true"></span><button role="tab" data-tab="pose">姿势<i id="nPose"></i></button><button role="tab" data-tab="depth">深度姿势<i id="nDepth"></i></button><button role="tab" data-tab="costume">服装<i id="nCos"></i></button><button role="tab" data-tab="anime">动画服装<i id="nAni"></i></button><button role="tab" data-tab="portrait">人像<i id="nPor"></i></button><button role="tab" data-tab="studio" class="st">试穿</button><button role="tab" data-tab="fav">收藏<i id="nFav"></i></button><button role="tab" data-tab="recent">最近<i id="nRec"></i></button></nav>
-<div class="search"><svg class="sic" viewBox="0 0 24 24" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="m20 20-3.5-3.5"/></svg><input id="q" type="search" placeholder="搜姿势、颜色、单品" autocomplete="off" aria-label="搜索"><button id="qx" class="qx" aria-label="清除搜索" hidden>✕</button></div><div class="tools"><button id="adultSw" class="asw" role="switch" aria-checked="false" aria-label="显示成人向内容(18+)" title="成人向内容,默认关闭"><span class="trk" aria-hidden="true"><span class="kn"></span></span><b>18+</b></button><div class="seg" role="group" aria-label="描述语言"><button data-lang="zh">中</button><button data-lang="en">EN</button></div><button id="help" class="icon" title="快捷键(?)" aria-label="快捷键帮助"><svg viewBox="0 0 24 24"><rect x="3" y="6" width="18" height="12" rx="2"/><path d="M7 10h.01M11 10h.01M15 10h.01M7 14h10"/></svg></button><button id="theme" class="icon" title="切换深浅色(T)" aria-label="切换深浅色"><svg class="sun" viewBox="0 0 24 24"><circle cx="12" cy="12" r="4"/><path d="M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4"/></svg><svg class="moon" viewBox="0 0 24 24"><path d="M21 12.8A9 9 0 1 1 11.2 3a7 7 0 0 0 9.8 9.8z"/></svg></button></div></header>
+<div class="search"><svg class="sic" viewBox="0 0 24 24" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="m20 20-3.5-3.5"/></svg><input id="q" type="search" placeholder="搜姿势、颜色、单品" autocomplete="off" aria-label="搜索"><button id="qx" class="qx" aria-label="清除搜索" hidden>✕</button></div><div class="tools"><button id="adultSw" class="asw" role="switch" aria-checked="false" aria-label="显示成人向内容(18+)" title="成人向内容,默认关闭"><span class="trk" aria-hidden="true"><span class="kn"></span></span><b>18+</b></button><div class="seg" role="group" aria-label="描述语言"><button data-lang="zh">中</button><button data-lang="en">EN</button></div><button id="help" class="icon" title="快捷键(?)" aria-label="快捷键帮助"><svg viewBox="0 0 24 24"><rect x="3" y="6" width="18" height="12" rx="2"/><path d="M7 10h.01M11 10h.01M15 10h.01M7 14h10"/></svg></button><button id="theme" class="icon" title="切换深浅色(T)" aria-label="切换深浅色"><svg class="sun" viewBox="0 0 24 24"><circle cx="12" cy="12" r="4"/><path d="M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4"/></svg><svg class="moon" viewBox="0 0 24 24"><path d="M21 12.8A9 9 0 1 1 11.2 3a7 7 0 0 0 9.8 9.8z"/></svg></button><a class="icon" href="https://github.com/atuizz/posewear" target="_blank" rel="noopener" title="GitHub 开源仓库" aria-label="GitHub 开源仓库"><svg class="gh" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 1.695.765.42 1.53 0 1.108-.01 1.07-.015 2.04 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg></a></div></header>
<section class="hero" id="hero"><div class="hero-in"><p class="eyebrow">画画、拍照、出图时用的参考</p><h1 id="heroT">姿势和服装<br>参考图</h1>
<div class="hero-r"><p class="lead" id="heroP">每个姿势有多个角度,每套服装都附中英文描述。可以收藏、组合,也能上传自己的照片试穿。</p>
<div class="stats"><div><b data-n="288">0</b><span>组姿势</span></div><div><b data-n="1439">0</b><span>张角度图</span></div><div><b data-n="1407">0</b><span>套服装</span></div><div><b data-n="1320">0</b><span>套动画服装</span></div><div><b data-n="1499">0</b><span>张人像</span></div></div></div></div></section>
diff --git a/src/style.css b/src/style.css
index c267065..0c4a456 100644
--- a/src/style.css
+++ b/src/style.css
@@ -14,6 +14,8 @@ button:hover,select:hover,.btn:hover{background:var(--sf2)}button:active{transfo
.ghost{background:transparent;color:var(--tx2)}.ghost:hover{background:var(--sf);color:var(--tx)}
.icon{width:40px;height:40px;padding:0;background:transparent;border-radius:50%}.icon:hover{background:var(--sf)}
.icon svg,.fbtn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
+.icon svg.gh{fill:currentColor;stroke:none}
+a.icon{display:inline-flex;align-items:center;justify-content:center;color:inherit;text-decoration:none}
kbd{font:11px/1 ui-monospace,Menlo,monospace;background:var(--sf);border-radius:5px;padding:3px 6px;margin:0 2px;color:var(--tx2)}
.skip{position:absolute;left:-999px;top:8px;z-index:200;background:var(--tx);color:var(--bg);padding:8px 14px}.skip:focus{left:12px}
.sp{flex:1}.fine{font-size:12.5px;color:var(--mu);margin:8px 0 0}.fine.good{color:var(--ok)}.fine.bad{color:var(--bad);white-space:pre-line}
@@ -30,7 +32,6 @@ body.scrolled .top{box-shadow:0 1px 0 var(--line)}
.tabs button{background:transparent;padding:10px 16px;font-size:15px;font-weight:600;color:var(--tx2);position:relative}
.tabs button:hover{color:var(--tx);background:var(--sf)}.tabs button.on{background:var(--tx);color:var(--bg)}
.tabs button i{font-style:normal;font-weight:400;font-size:12px;opacity:.55;margin-left:4px}
-.tabs button.st::after{content:"";width:6px;height:6px;border-radius:50%;background:var(--ac);position:absolute;top:7px;right:7px}
.ind{display:none}
.top .search{position:relative;flex:1;max-width:none;min-width:0}
.sic{position:absolute;left:18px;top:50%;width:18px;height:18px;transform:translateY(-50%);fill:none;stroke:var(--mu);stroke-width:2;stroke-linecap:round;pointer-events:none}