Peach: Local-first video metadata scraper and media manager.
feat(web): 图标按语义各归各的,文件类型、空态、本地在线各用自己那一枚
longmeidao362191da8510
diff --git a/.claude/skills/peach-web-ui/SKILL.md b/.claude/skills/peach-web-ui/SKILL.mdindex d958b6a6e..a54e93ffd 100644--- a/.claude/skills/peach-web-ui/SKILL.md+++ b/.claude/skills/peach-web-ui/SKILL.md@@ -63,6 +63,7 @@ description: 在新增、修改或复核 Peach 页面、控件、提示、错误- 下拉框的用途用框内左侧 16px 前缀图标标明,不在同一行挂一个文字标签:Geist 的文字 Label 是块级、排在控件上方,行内并排那种写法它没有,而工具行没有上方空间。无障碍名称改由 `aria-label` 承担。- 按钮的前置图标只在图标指向对象(来源站点、当前选中项、平台)或形态方向(触发器右侧的 `chevron-down`)时出现;文字已经把动词说完的不加,`+ 添加`、`↻ 刷新`、`✓ 保存` 这枚多余字形会把同一行主次动作的视觉重量拉平。图标键必须给 `aria-label`,名称点出动作和对象、不描述图标形状。判据与 Geist Button 文档正文见 `docs/reference-snapshots/vercel-geist-button-icons.md`;官方 Geist 图标 SVG 没有可直取的入口,同一份快照记了原因。- 同一行里的输入框和按钮共用 `--control-h`,不各写一个像素数:两个控件差 3px 就不是一行了,而差值往往来自窄屏那条防放大规则只抬其中一个。+- 一枚字形只代表一个意思,同一个意思也只有一枚字形。取字形先问它指的是哪个名词或哪个方向:文件类型取 `file-*`,本地取 `hard-drive`、订阅源取 `rss`,往下接一页取 `chevron-down`,原地换一批才是 `refresh-cw`;筛不出结果和一次比对没有发现是两个空态,不能共用一枚。归属由 `tests/test_web_ui.py` 的 `test_each_glyph_names_the_thing_it_sits_next_to` 逐枚钉住,换掉哪一处就在那里同步。没有使用者的 symbol 一律从 `scripts/vendor_web_dependencies.mjs` 的名单和雪碧图里一起删,用户点名留的备用件在同一个测试里写明。- 播放器控制条的窄屏折叠按播放器自身宽度判定(`ResizeObserver` 观察 `player.el()`),不用媒体查询:同一个视口下影院模式和普通视图的播放器宽度差一大截,用视口判据会在影院模式下白折叠、在普通视图下继续超框。门槛与提示外观见 `youtube-player-controls-user-screenshot.md`。- 分页末尾、空页和“没有更多内容”是中性终止状态,用可关闭 Note;只有需要恢复或处理的故障才能进入红色 error Note。- 弹层标题栏与滚动正文分层:标题分隔线属于卡片全宽,滚动条只属于正文。diff --git a/scripts/vendor_web_dependencies.mjs b/scripts/vendor_web_dependencies.mjsindex d6cd00f08..9ea997fe4 100644--- a/scripts/vendor_web_dependencies.mjs+++ b/scripts/vendor_web_dependencies.mjs@@ -64,8 +64,8 @@ const lucideIcons = new Map([["home", "home"], ["sliders-horizontal", "sliders-horizontal"], ["search", "search"],["layout-grid", "layout-grid"], ["square-check-big", "square-check-big"],["refresh-cw", "refresh-cw"], ["user-round", "user-round"], ["tags", "tags"],- ["star", "star"], ["list-filter", "list-filter"], ["chart", "chart-no-axes-column"],- ["settings", "settings"], ["monitor-cog", "monitor-cog"], ["gauge", "gauge"],+ ["list-filter", "list-filter"], ["chart", "chart-no-axes-column"],+ ["settings", "settings"], ["gauge", "gauge"],["history", "history"], ["sparkles", "sparkles"],["x", "x"], ["folder-open", "folder-open"], ["info", "info"],["hard-drive", "hard-drive"], ["globe", "globe"], ["rss", "rss"],@@ -77,11 +77,13 @@ const lucideIcons = new Map([["chevron-up", "chevron-up"], ["chevron-down", "chevron-down"], ["heart", "heart"],["upload", "upload"], ["database", "database"], ["play", "play"], ["clock", "clock"],["external-link", "external-link"], ["bookmark-plus", "bookmark-plus"],- // 这七枚只画在雪碧图里、不在这张表上,`npm run vendor:web` 从不刷新它们。+ ["bookmark", "bookmark"], ["gallery-vertical-end", "gallery-vertical-end"],+ ["notebook-pen", "notebook-pen"], ["search-x", "search-x"],+ ["file-archive", "file-archive"], ["file-audio", "file-audio"],+ ["file-stack", "file-stack"],// 名字和上游对不上的只有排序键:Peach 叫 `sort`,Lucide 叫 `sort-desc`。["sort", "sort-desc"], ["arrow-up", "arrow-up"], ["arrow-down", "arrow-down"],["calendar", "calendar"], ["download", "download"], ["monitor", "monitor"],- ["volume-2", "volume-2"],]);// 自绘 symbol:没有上游可对,所以在这里逐个点名。下面那道分区检查要求雪碧图里diff --git a/tests/test_follow_web.py b/tests/test_follow_web.pyindex fd2b56bee..77250f4a5 100644--- a/tests/test_follow_web.py+++ b/tests/test_follow_web.py@@ -2568,7 +2568,7 @@ class FollowWebSourceTests(unittest.TestCase):self.assertPageContains("else if(item.media_kind==='image'||item.media_kind==='video')kinds.add(item.media_kind)")self.assertPageLacks("else kinds.add(item.media_kind==='image'?'image':'video')")self.assertPageContains('class="followpagination"')- self.assertPageContains("${icon('refresh-cw')}加载更多")+ self.assertPageContains("${icon('chevron-down')}加载更多")self.assertPageLacks("${icon('plus')}加载更多")self.assertPageContains("${icon('history')}抓更早的一页")self.assertPageContains("spinnerHtml('加载更多')")diff --git a/tests/test_web_ui.py b/tests/test_web_ui.pyindex 9c10b69e8..08ed3caba 100644--- a/tests/test_web_ui.py+++ b/tests/test_web_ui.py@@ -3616,7 +3616,7 @@ class WebUiSourceTests(unittest.TestCase):'body[data-density="dense"] .junkcard .junkactions button{justify-content:center}')self.assertPageContains("function renderJunkNavigation(data)")self.assertPageContains("['video','视频','play'],['image','图片','pics']")- self.assertPageContains("['archive','压缩包','folder-open'],['audio','音频','volume-2']")+ self.assertPageContains("['archive','压缩包','file-archive'],['audio','音频','file-audio']")self.assertPageContains("href=\"${junkPath(key,junkView)}\"")self.assertPageContains("${icon(glyph)}${esc(label)}")self.assertPageContains("${icon(junkView==='dismissed'?'rotate-ccw':'eye-off')}")@@ -5222,7 +5222,7 @@ class WebUiSourceTests(unittest.TestCase):self.assertPageContains(".alphatag.r34-copyright")self.assertPageContains(".alphatag.r34-metadata")self.assertPageContains("indexheading")- self.assertPageContains("${icon('database')}本地")+ self.assertPageContains("${icon('hard-drive')}本地")def test_an_alphabet_entry_stays_on_one_line(self):"""一枚标签占一行,长名字截断。@@ -5270,6 +5270,41 @@ class WebUiSourceTests(unittest.TestCase):self.assertPageContains("Phosphor 2.1.1 regular, MIT")self.assertPageLacks("i-a-large-small")+ def test_each_glyph_names_the_thing_it_sits_next_to(self):+ """一枚字形只代表一个意思,同一个意思也只有一枚字形。++ 一枚字形背两个意思时,用户在一处学会的含义会在另一处骗他,所以各归各的:+ `refresh-cw` 只归原地换一批,`database` 只归管理入口,`folder-open` 只归+ 打开位置,`play` 只归真的起播,音量键不去标音频文件。这条逐枚钉住归属。++ `i-clock` 没有使用者,是用户点名留的备用件,不要当死代码清掉。+ """+ # 文件类型标的是文件,不是打开动作,也不是音量。+ self.assertPageContains("['archive','压缩包','file-archive'],['audio','音频','file-audio']")+ self.assertPageContains("archive:['压缩包','file-archive'],")+ self.assertPageContains("audio:['音频','file-audio'],")+ # 「加载更多」往下接一页,方向由字形给出;`refresh-cw` 是原地换一批。+ self.assertPageContains("data-follow-more>${icon('chevron-down')}加载更多</button>")+ self.assertPageContains('title="换一批" aria-label="换一批">${icon(\'refresh-cw\')}')+ # 两个空态各说自己那件事:筛不出结果,和一次比对没有发现。+ self.assertPageContains("emptyState('search-x','当前筛选下没有更新'")+ self.assertPageContains("emptyState('file-stack','没有找到重复文件'")+ # 本地是磁盘、在线是订阅源;标签条这一对和关注页的来源图标同一套。+ self.assertPageContains('data-tag-scope="local" aria-pressed="${!onlineTags}">${icon(\'hard-drive\')}本地')+ self.assertPageContains('data-tag-scope="online" aria-pressed="${onlineTags}">${icon(\'rss\')}在线')+ # 「喜爱理由」开的是一个写字面板,不是喜欢开关——那个是旁边的 thumbs-up。+ self.assertPageContains('data-has-reason="${!!it.like_reason}">${icon(\'notebook-pen\')}')+ self.assertPageContains('aria-label="${it.liked?\'取消喜欢\':\'喜欢\'}"')+ # 侧栏:已标记是书签,沉浸模式是一叠竖着翻的卡;`play` 留给真的起播。+ self.assertPageContains("['flagged','已标记','bookmark'],")+ self.assertPageContains("['immerse','沉浸模式','gallery-vertical-end'],")+ self.assertPageContains("<span>进入沉浸模式</span>")+ self.assertPageContains("class=\"shorts-enter\" type=\"button\">${icon('play')}")+ # 换下来的三枚没有别的使用者,雪碧图里也不留。+ for gone in ("i-monitor-cog", "i-star", "i-volume-2"):+ self.assertPageLacks(f'<symbol id="{gone}"')+ self.assertPageContains('<symbol id="i-clock" viewBox="0 0 24 24">')+def test_mixed_icon_sets_land_on_one_optical_grid(self):"""同样 15px 要画得一样大,靠的是把内容外框补到 Lucide 的 20/24 活区。diff --git a/web/app.js b/web/app.jsindex 3ccc93b77..625ff9e20 100644--- a/web/app.js+++ b/web/app.js@@ -549,7 +549,7 @@ const seededSample=(rows,count,seed,key=row=>row.k)=>{};const initialParams=new URLSearchParams(location.search);const JUNK_KIND_OPTIONS=[['','全部','layout-grid'],['video','视频','play'],['image','图片','pics'],- ['archive','压缩包','folder-open'],['audio','音频','volume-2'],['url','网址','globe'],+ ['archive','压缩包','file-archive'],['audio','音频','file-audio'],['url','网址','globe'],['other','其它','hard-drive']];const cleanJunkKind=value=>JUNK_KIND_OPTIONS.some(([key])=>key===value)?value:'';let junkKind=cleanJunkKind(initialParams.get('type')||'');@@ -1889,8 +1889,8 @@ function resourceCardHtml(it){</div></div></article>`;}const JUNK_KIND_META={- video:['视频','play'],image:['图片','pics'],archive:['压缩包','folder-open'],- audio:['音频','volume-2'],url:['网址快捷方式','globe'],other:['其它文件','hard-drive'],+ video:['视频','play'],image:['图片','pics'],archive:['压缩包','file-archive'],+ audio:['音频','file-audio'],url:['网址快捷方式','globe'],other:['其它文件','hard-drive'],};function junkCardHtml(it){const kind=it.junk_kind||'other',meta=JUNK_KIND_META[kind]||JUNK_KIND_META.other;@@ -3312,7 +3312,7 @@ function renderDuplicates(){<span class="mono">${fmtSize(f.size||0)}</span><span class="mono">${fmtDur(f.duration)}</span><span class="mono duppath" data-middle-truncate title="${esc(f.path||'')}">${esc(f.path||'')}</span></div>`).join('')}</div>- </section>`).join(''):emptyState('database','没有找到重复文件','所有来源之间没有检测到内容相同的文件。扫描新来源后,这里会自动更新。')}</div>`;+ </section>`).join(''):emptyState('file-stack','没有找到重复文件','所有来源之间没有检测到内容相同的文件。扫描新来源后,这里会自动更新。')}</div>`;$('#stats').querySelectorAll('[data-open-dup]').forEach(b=>b.onclick=()=>openItem(+b.dataset.openDup));$('#stats').querySelectorAll('[data-dup-keep]').forEach(b=>@@ -4224,11 +4224,11 @@ function renderFollow(){<div class="followlist${followMediaView==='images'?' followphotowall':''}">${visible.length?visible.map(group=>{const source=sourceOf(group),siblings=source&&authorSources.get(source.author_key)||[];return followCard(group,siblings)}).join('')- :groups.length?emptyState('layout-grid','当前筛选下没有更新','切换媒体类型、作者、来源或标签后再试。')+ :groups.length?emptyState('search-x','当前筛选下没有更新','切换媒体类型、作者、来源或标签后再试。'):sources.length?emptyState('rss','没有符合条件的更新','切换状态或来源筛选后再试。'):emptyState('rss','还没有关注任何来源','添加作者或订阅来源后,更新会集中显示在这里。',{actions:'<button class="fbtn primary" data-follow-manage>添加关注</button>'})}</div>${followData.has_more||sources.some(source=>source.can_backfill)?`<div class="followpagination">- ${followData.has_more?`<span class="followpageaction"><button class="fbtn" data-follow-more>${icon('refresh-cw')}加载更多</button>+ ${followData.has_more?`<span class="followpageaction"><button class="fbtn" data-follow-more>${icon('chevron-down')}加载更多</button><span class="fmeta">已显示 ${visible.length.toLocaleString()} / ${(followFilter?counts[followFilter]||0:allCount).toLocaleString()} 项</span></span>`:''}${sources.some(source=>source.can_backfill)?`<span class="followpageaction"><button class="fbtn" data-follow-older>${icon('history')}抓更早的一页</button>@@ -5204,7 +5204,7 @@ async function openIndex(kind,q,push=true,refine=false){}else $('#index').innerHTML=`<div class="ihead"><h2 class="disp indexheading">${kind==='tags'?icon('tags'):''}${title}</h2><span class="mono" id="indexCount">${countText}</span>- ${kind==='tags'?`<div class="tagmodes"><button data-tag-scope="local" aria-pressed="${!onlineTags}">${icon('database')}本地</button><button data-tag-scope="online" aria-pressed="${onlineTags}">${icon('globe')}在线</button></div>+ ${kind==='tags'?`<div class="tagmodes"><button data-tag-scope="local" aria-pressed="${!onlineTags}">${icon('hard-drive')}本地</button><button data-tag-scope="online" aria-pressed="${onlineTags}">${icon('rss')}在线</button></div><div class="tagmodes"><button data-tag-view="cloud" aria-pressed="${tagIndexMode==='cloud'}">${icon('tags')}标签云</button><button data-tag-view="alphabet" aria-pressed="${tagIndexMode==='alphabet'}">${icon('text-aa')}字母表</button></div>`:''}${people?peopleLayoutButtons():''}${searchInputHtml({id:'iq',label:'过滤'+title,value:q||''})}@@ -5870,10 +5870,10 @@ const EDGE_ICONS=[['performers','艺人','user-round'],['tags','标签','tags'],['jav','JAV','jav'],- ['flagged','已标记','star'],+ ['flagged','已标记','bookmark'],['playlists','播放列表','playlist'],['follow','关注','rss'],- ['immerse','沉浸模式','play'],+ ['immerse','沉浸模式','gallery-vertical-end'],['manage','管理','database'],];/* 每个管理页的身份(标题、图标、可直达的 URL)。用户仍可在设置里把其中任何@@ -6763,7 +6763,7 @@ async function openItem(id,push=true,queueContext=null,anchor=null){</div><div class="fb"><button class="like" id="likeBtn" aria-label="${it.liked?'取消喜欢':'喜欢'}" title="喜欢 · 记录口味偏好" aria-pressed="${!!it.liked}">${icon('thumbs-up')}</button>- <button class="reason" id="preferenceToggle" aria-label="喜爱理由" title="喜爱理由" aria-expanded="false" aria-controls="preferencePanel" data-has-reason="${!!it.like_reason}">${icon('heart')}</button>+ <button class="reason" id="preferenceToggle" aria-label="喜爱理由" title="喜爱理由" aria-expanded="false" aria-controls="preferencePanel" data-has-reason="${!!it.like_reason}">${icon('notebook-pen')}</button><button class="dislike" data-kind="dislike" aria-label="不合口味" title="不合口味 · 降低推荐权重" aria-pressed="${it.feedback==='dislike'}">${icon('thumbs-down')}</button><button class="seen" data-kind="seen" aria-label="看过了" title="看过了 · 只降低近期推荐" aria-pressed="${it.feedback==='seen'}">${icon('eye')}</button><button class="later" id="stageLater" aria-label="稍后看" title="稍后看 · 加入或移出队列" aria-pressed="${!!it.watch_later}">${it.watch_later?icon('check'):icon('bookmark-plus')}</button>diff --git a/web/index.html b/web/index.htmlindex af8eaa1e4..412e57c33 100644--- a/web/index.html+++ b/web/index.html@@ -26,7 +26,6 @@<symbol id="i-refresh-cw" viewBox="0 0 24 24"><path d="M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8" /><path d="M21 3v5h-5" /><path d="M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16" /><path d="M8 16H3v5" /></symbol><symbol id="i-user-round" viewBox="0 0 24 24"><circle cx="12" cy="8" r="5" /><path d="M20 21a8 8 0 0 0-16 0" /></symbol><symbol id="i-tags" viewBox="0 0 24 24"><path d="M13.172 2a2 2 0 0 1 1.414.586l6.71 6.71a2.4 2.4 0 0 1 0 3.408l-4.592 4.592a2.4 2.4 0 0 1-3.408 0l-6.71-6.71A2 2 0 0 1 6 9.172V3a1 1 0 0 1 1-1z" /><path d="M2 7v6.172a2 2 0 0 0 .586 1.414l6.71 6.71a2.4 2.4 0 0 0 3.191.193" /><circle cx="10.5" cy="6.5" r=".5" fill="currentColor" /></symbol>- <symbol id="i-star" viewBox="0 0 24 24"><path d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z" /></symbol><symbol id="i-list-filter" viewBox="0 0 24 24"><path d="M2 5h20" /><path d="M6 12h12" /><path d="M9 19h6" /></symbol><symbol id="i-text-aa" viewBox="-7.3 32.8 262.5 182.9" fill="currentColor" stroke="none"><path d="M87.24,52.59a8,8,0,0,0-14.48,0l-64,136a8,8,0,1,0,14.48,6.81L39.9,160h80.2l16.66,35.4a8,8,0,1,0,14.48-6.81ZM47.43,144,80,74.79,112.57,144ZM200,96c-12.76,0-22.73,3.47-29.63,10.32a8,8,0,0,0,11.26,11.36c3.8-3.77,10-5.68,18.37-5.68,13.23,0,24,9,24,20v3.22A42.76,42.76,0,0,0,200,128c-22.06,0-40,16.15-40,36s17.94,36,40,36a42.73,42.73,0,0,0,24-7.25,8,8,0,0,0,16-.75V132C240,112.15,222.06,96,200,96Zm0,88c-13.23,0-24-9-24-20s10.77-20,24-20,24,9,24,20S213.23,184,200,184Z"/></symbol><symbol id="i-playlist" viewBox="10.4 10.5 259.2 259.2" fill="currentColor" stroke="none"><path d="M32,64a8,8,0,0,1,8-8H216a8,8,0,0,1,0,16H40A8,8,0,0,1,32,64Zm8,72H160a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16Zm72,48H40a8,8,0,0,0,0,16h72a8,8,0,0,0,0-16Zm135.66-57.7a8,8,0,0,1-10,5.36L208,122.75V192a32.05,32.05,0,1,1-16-27.69V112a8,8,0,0,1,10.3-7.66l40,12A8,8,0,0,1,247.66,126.3ZM192,192a16,16,0,1,0-16,16A16,16,0,0,0,192,192Z"/></symbol>@@ -36,7 +35,6 @@<symbol id="i-chart" viewBox="0 0 24 24"><path d="M5 21v-6" /><path d="M12 21V3" /><path d="M19 21V9" /></symbol><symbol id="i-settings" viewBox="0 0 24 24"><path d="M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915" /><circle cx="12" cy="12" r="3" /></symbol><symbol id="i-monitor" viewBox="0 0 24 24"><rect width="20" height="14" x="2" y="3" rx="2" /><line x1="8" x2="16" y1="21" y2="21" /><line x1="12" x2="12" y1="17" y2="21" /></symbol>- <symbol id="i-monitor-cog" viewBox="0 0 24 24"><path d="M12 17v4" /><path d="m14.305 7.53.923-.382" /><path d="m15.228 4.852-.923-.383" /><path d="m16.852 3.228-.383-.924" /><path d="m16.852 8.772-.383.923" /><path d="m19.148 3.228.383-.924" /><path d="m19.53 9.696-.382-.924" /><path d="m20.772 4.852.924-.383" /><path d="m20.772 7.148.924.383" /><path d="M22 13v2a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7" /><path d="M8 21h8" /><circle cx="18" cy="6" r="3" /></symbol><symbol id="i-gauge" viewBox="0 0 24 24"><path d="m12 14 4-4" /><path d="M3.34 19a10 10 0 1 1 17.32 0" /></symbol><symbol id="i-theater-enter" viewBox="0 0 24 24"><rect x="2" y="3" width="20" height="18" rx="1.5"/><path d="M2 16h20M8.5 7 5.5 10l3 3M15.5 7l3 3-3 3"/></symbol><symbol id="i-theater-exit" viewBox="0 0 24 24"><rect x="2" y="3" width="20" height="18" rx="1.5"/><path d="M2 16h20M5.5 7l3 3-3 3M18.5 7l-3 3 3 3"/></symbol>@@ -69,7 +67,6 @@<symbol id="i-info" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" /><path d="M12 16v-4" /><path d="M12 8h.01" /></symbol><symbol id="i-hard-drive" viewBox="0 0 24 24"><path d="M10 16h.01" /><path d="M2.212 11.577a2 2 0 0 0-.212.896V18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5.527a2 2 0 0 0-.212-.896L18.55 5.11A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z" /><path d="M21.946 12.013H2.054" /><path d="M6 16h.01" /></symbol><symbol id="i-globe" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" /><path d="M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20" /><path d="M2 12h20" /></symbol>- <symbol id="i-volume-2" viewBox="0 0 24 24"><path d="M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z" /><path d="M16 9a5 5 0 0 1 0 6" /><path d="M19.364 18.364a9 9 0 0 0 0-12.728" /></symbol><symbol id="i-rss" viewBox="0 0 24 24"><path d="M4 11a9 9 0 0 1 9 9" /><path d="M4 4a16 16 0 0 1 16 16" /><circle cx="5" cy="19" r="1" fill="currentColor" stroke="none"/></symbol><symbol id="i-thumbs-up" viewBox="0 0 24 24"><path d="M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z" /><path d="M7 10v12" /></symbol><symbol id="i-thumbs-down" viewBox="0 0 24 24"><path d="M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88Z" /><path d="M17 14V2" /></symbol>@@ -104,6 +101,13 @@会挡掉 favicon 请求——资料页上那个空白白圆就是它。其余主机继续走 favicon。 --><symbol id="i-brand-x" viewBox="-0.9 -0.9 25.9 25.9"><path fill="currentColor" stroke="none" d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/></symbol><symbol id="i-bookmark-plus" viewBox="0 0 24 24"><path d="M12 7v6" /><path d="M15 10H9" /><path d="M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z" /></symbol>+ <symbol id="i-bookmark" viewBox="0 0 24 24"><path d="M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z" /></symbol>+ <symbol id="i-gallery-vertical-end" viewBox="0 0 24 24"><path d="M7 2h10" /><path d="M5 6h14" /><rect width="18" height="12" x="3" y="10" rx="2" /></symbol>+ <symbol id="i-notebook-pen" viewBox="0 0 24 24"><path d="M13.4 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7.4" /><path d="M2 6h4" /><path d="M2 10h4" /><path d="M2 14h4" /><path d="M2 18h4" /><path d="M21.378 5.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z" /></symbol>+ <symbol id="i-search-x" viewBox="0 0 24 24"><path d="m13.5 8.5-5 5" /><path d="m8.5 8.5 5 5" /><circle cx="11" cy="11" r="8" /><path d="m21 21-4.3-4.3" /></symbol>+ <symbol id="i-file-archive" viewBox="0 0 24 24"><path d="M13.659 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v11.5" /><path d="M14 2v5a1 1 0 0 0 1 1h5" /><path d="M8 12v-1" /><path d="M8 18v-2" /><path d="M8 7V6" /><circle cx="8" cy="20" r="2" /></symbol>+ <symbol id="i-file-audio" viewBox="0 0 24 24"><path d="M4 6.835V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-.343" /><path d="M14 2v5a1 1 0 0 0 1 1h5" /><path d="M2 19a2 2 0 0 1 4 0v1a2 2 0 0 1-4 0v-4a6 6 0 0 1 12 0v4a2 2 0 0 1-4 0v-1a2 2 0 0 1 4 0" /></symbol>+ <symbol id="i-file-stack" viewBox="0 0 24 24"><path d="M11 21a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1" /><path d="M16 16a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1" /><path d="M21 6a2 2 0 0 0-.586-1.414l-2-2A2 2 0 0 0 17 2h-3a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1z" /></symbol><symbol id="i-sperm" viewBox="1.5 1.2 21.2 21.2"><path d="M18.2574 3.04039C16.6079 3.3153 15.3153 4.60785 15.0404 6.25731C14.9261 6.94343 15.1179 7.59015 15.5007 8.08229L15.1947 8.49031C14.8361 8.96852 14.2732 9.24995 13.6754 9.24995H12.8524C10.9372 9.24995 9.58486 11.1262 10.1905 12.9431L10.3037 13.2827C10.5666 14.0715 9.88821 14.8537 9.07014 14.705C7.36157 14.3943 5.83623 15.8176 6.02801 17.5435L6.05171 17.7569C6.12353 18.4033 5.68919 18.9973 5.05144 19.1248L4.35291 19.2645C3.94674 19.3458 3.68333 19.7409 3.76456 20.147C3.8458 20.5532 4.24092 20.8166 4.64709 20.7354L5.34562 20.5957C6.74631 20.3155 7.70028 19.0109 7.54253 17.5912L7.51883 17.3779C7.43795 16.65 8.08124 16.0497 8.80181 16.1808C10.7416 16.5334 12.3502 14.6787 11.7267 12.8083L11.6135 12.4688C11.3317 11.6232 11.9611 10.75 12.8524 10.75H13.6754C14.7453 10.75 15.7528 10.2462 16.3947 9.39031L16.7517 8.9143C17.0623 8.99708 17.3975 9.01704 17.7426 8.95951C19.3921 8.6846 20.6847 7.39205 20.9596 5.7426C21.2244 4.15334 19.8466 2.77552 18.2574 3.04039Z" fill="currentColor"/><path d="M11.0548 3.32416C10.1507 3.47484 9.41308 4.15197 9.17192 5.03625C9.06125 5.44203 9.13468 5.83765 9.32677 6.15771L8.8594 6.85877C8.69647 7.10316 8.42219 7.24995 8.12847 7.24995H7.75C6.64543 7.24995 5.75 8.14538 5.75 9.24995C5.75 9.52609 5.52614 9.74995 5.25 9.74995C4.14543 9.74995 3.25 10.6454 3.25 11.75V12C3.25 12.4142 3.58579 12.75 4 12.75C4.41421 12.75 4.75 12.4142 4.75 12V11.75C4.75 11.4738 4.97386 11.25 5.25 11.25C6.35457 11.25 7.25 10.3545 7.25 9.24995C7.25 8.97381 7.47386 8.74995 7.75 8.74995H8.12847C8.92372 8.74995 9.66635 8.35251 10.1075 7.69082L10.6492 6.87823C10.7526 6.87326 10.8578 6.85692 10.9637 6.82804C11.848 6.58687 12.5251 5.84929 12.6758 4.94518C12.8347 3.9918 12.0081 3.16526 11.0548 3.32416Z" fill="currentColor"/><path d="M18.1471 11.3088C17.2045 11.4659 16.4659 12.2045 16.3088 13.147C16.2724 13.3658 16.2904 13.5775 16.3514 13.7709L15.0321 15.31C14.7928 15.5892 14.4434 15.75 14.0756 15.75C13.1529 15.75 12.2912 16.2111 11.7793 16.9789L11.7373 17.0419C11.4196 17.5185 11.25 18.0785 11.25 18.6513V19C11.25 19.4142 11.5858 19.75 12 19.75C12.4142 19.75 12.75 19.4142 12.75 19V18.6513C12.75 18.3747 12.8319 18.1042 12.9854 17.874L13.0274 17.8109C13.261 17.4605 13.6544 17.25 14.0756 17.25C14.8813 17.25 15.6467 16.8979 16.171 16.2862L17.5255 14.706C17.6318 14.7141 17.7415 14.7097 17.8529 14.6911C18.7955 14.534 19.5341 13.7954 19.6912 12.8529C19.8425 11.9447 19.0552 11.1574 18.1471 11.3088Z" fill="currentColor"/></symbol></svg>diff --git a/web/vendor/lucide-ORIGIN.md b/web/vendor/lucide-ORIGIN.mdindex e8604ef18..5f10f273a 100644--- a/web/vendor/lucide-ORIGIN.md+++ b/web/vendor/lucide-ORIGIN.md@@ -3,7 +3,7 @@- npm 包:`[email protected]`- npm lock integrity:`sha512-uAp0oHMWE8T6XycokgjswDF3epVTFhUJQG4EdMsZOC/Jbmi5dFvdto0c6gcVQqswQDIGWguSvbJ0got6Vy3RXQ==`- 许可证:ISC;原文见 `lucide-LICENSE.txt`-- 消费者:`web/index.html` 内联的 52 个 symbol+- 消费者:`web/index.html` 内联的 56 个 symbol雪碧图里另有 6 枚自绘 symbol(alert、pics、jav、theater-enter、theater-exit、brand-x)与 16 枚 player-* 前缀的播放器图标,都没有上游可对。RSS 与拖动点保留填充修正,避免小圆点在全局描边样式下消失。