Files
jinzuanwork/portal/gallery.html
T
ywsandClaude Opus 5.5 cb7cd3649b 安全审计与加固:爱发电回调防投毒、回调日志封顶、令牌定长比较、转义补全;nginx 安全头 / 挡备份与原始内容文件(片段 + 文档)
- 没验证过的爱发电回调不再写进账本 pay_orders,只进 50 条封顶的待核对清单;回调日志只记关键头 + 正文 4KB、5MB 轮转(测试 +2)
- 福利券领取令牌定长比较;ys_admin.py 转义补上引号;星门格子提示转义;首页价格改读公开接口
- nginx 片段:安全头(HSTS/nosniff/XFO/Referrer/Permissions/CSP)、挡备份 / 预览稿 / 隐藏文件 / 原始内容 json、回调单独限流、server_tokens off
- 交接文档 2.9 安全加固 + 维护页挂法更新

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 12:52:16 +00:00

65 lines
11 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
<title>画展 · 金钻客栈</title>
<meta name="description" content="金钻的画、渲染图和视频,按时间排。">
<meta name="theme-color" content="#FAFBFE">
<meta name="theme-color" content="#0D1020" media="(max-width: 760px) and (prefers-color-scheme: dark)">
<link rel="icon" href="assets/gem.webp" type="image/webp">
<link rel="preload" href="fonts/OPPOSans-B.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="fonts/fusion-pixel-12.woff2" as="font" type="font/woff2" crossorigin>
<link rel="stylesheet" href="assets/site.css?v=5">
</head>
<body data-page="gallery">
<div class="jz-boot" id="jzBoot" aria-hidden="true"><div class="jz-boot-in"><canvas class="jz-boot-gem" width="168" height="168"></canvas><b class="jz-boot-name">金钻客栈</b><i class="jz-boot-bar"><i></i></i></div></div>
<script>/* 加载动画:同一个标签页里只在第一次打开时放;系统要求「减少动效」就不放 */
try{if(sessionStorage.getItem('jz-boot')||matchMedia('(prefers-reduced-motion: reduce)').matches){document.getElementById('jzBoot').remove()}else{document.documentElement.classList.add('booting')}}catch(e){document.getElementById('jzBoot').remove()}</script>
<div class="orbs" aria-hidden="true"><i class="o1"></i><i class="o2"></i><i class="o3"></i><i class="o4"></i><i class="o5"></i></div>
<header class="top"><div class="wrap top-in"><a class="brand" href="index.html"><i class="gem-img" aria-hidden="true"></i><b>金钻客栈</b></a><nav class="nav" aria-label="导航"><a href="index.html">首页</a><a href="gallery.html" aria-current="page">画展</a><a href="tools.html">工具与开源</a><a href="universe.html">金钻宇宙</a><a href="links.html">平台入口</a><a href="about.html">关于</a></nav><div class="desk-btn"><a class="btn-pill" href="/order/"><span class="ic" aria-hidden="true"></span>自助渲染<svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="M13 6l6 6-6 6"/></svg></a></div><a class="cms-ent" href="admin/" aria-label="内容管理" title="内容管理"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 20h9"/><path d="M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4Z"/></svg></a></div></header>
<main class="wrap">
<div class="room-head"><div class="zone num" aria-hidden="true" style="--zc:#F2C14D;--zc2:#E8913A">01</div><div><h1>画展</h1><p>画的图、渲染图和视频,按时间排。</p></div><div class="meta"><b id="gN">0</b> 件<span id="gViews" hidden><br>看过 <b id="gViewsU">0</b> 人</span></div></div>
<div class="tools-bar">
<div class="seg crystal" role="group" aria-label="按类型筛选" id="gType"><button type="button" data-f="all" aria-pressed="true">全部<em id="cAll"></em></button><button type="button" data-f="image" aria-pressed="false">图片<em id="cImage"></em></button><button type="button" data-f="video" aria-pressed="false">视频<em id="cVideo"></em></button><button type="button" data-f="special" aria-pressed="false">特殊<em id="cSpecial"></em></button></div>
<button type="button" class="btn btn-crystal btn-sm" id="gMore" aria-expanded="false" aria-controls="gMorePanel"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 5h18"/><path d="M6 12h12"/><path d="M10 19h4"/></svg>更多筛选</button>
<button type="button" class="btn btn-crystal btn-sm" id="gSort" aria-pressed="true"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 4v16"/><path d="m3 16 4 4 4-4"/><path d="M17 20V4"/><path d="m21 8-4-4-4 4"/></svg><span>最新的在前</span></button>
<button type="button" class="btn btn-crystal btn-sm" id="gClear" hidden>清除筛选</button>
</div>
<div class="g-more crystal" id="gMorePanel" hidden>
<div class="g-more-row"><b>谁做的</b><div class="seg" role="group" aria-label="按制作者筛选" id="gOwner"><button type="button" data-o="all" aria-pressed="true">都看</button><button type="button" data-o="own" aria-pressed="false">金钻做的<em id="cOwn"></em></button><button type="button" data-o="gift" aria-pressed="false">别人送的<em id="cGift"></em></button></div></div>
<div class="g-more-row"><b>看过的</b><div class="seg" role="group" aria-label="看过的作品怎么排" id="gSeen"><button type="button" data-s="off" aria-pressed="true">不区分</button><button type="button" data-s="first" aria-pressed="false">放前面</button><button type="button" data-s="last" aria-pressed="false">放后面</button><button type="button" data-s="hide" aria-pressed="false">不显示</button></div></div>
<div class="g-more-row m-years"><b>年份</b><div class="seg" role="group" aria-label="按年份筛选" id="gYearsM"></div></div>
</div>
<div class="gal">
<nav class="years" aria-label="年份" id="gYears"><b>年份</b></nav>
<div><div class="wall" id="gWall"></div><p class="note">点开看大图。全景图可以拖着转一圈,动态壁纸可以拖时间轴。</p></div>
</div>
</main>
<div class="gbox" id="gbox" role="dialog" aria-modal="true" aria-label="看作品" hidden>
<div class="gbox-bar"><div class="gbox-t"><b id="gbT"></b><span id="gbD"></span></div><a class="btn btn-crystal btn-sm" id="gbOrig" href="#" target="_blank" rel="noopener" hidden>原图</a><a class="btn btn-crystal btn-sm" id="gbBili" href="#" target="_blank" rel="noopener noreferrer" hidden>去 B 站看</a><button type="button" class="btn btn-crystal btn-sm" id="gbClose"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M18 6 6 18"/><path d="M6 6l12 12"/></svg>关闭</button></div>
<div class="gbox-stage" id="gbStage">
<img id="gbImg" alt="" hidden><span class="gbox-load" id="gbLoad" hidden>正在加载高清图…</span>
<div class="gbox-vid" id="gbVidWrap" hidden><video id="gbVid" controls playsinline preload="metadata" controlslist="nodownload"></video><span class="v-wm" id="gbWm"></span></div>
<iframe id="gbBiliFrame" hidden allow="fullscreen; autoplay" referrerpolicy="no-referrer" loading="lazy" title="B 站视频"></iframe>
<canvas id="gbPano" hidden></canvas>
<img id="gbWall" alt="" hidden draggable="false">
</div>
<div class="gbox-foot"><span class="gbox-hint" id="gbHint"></span><div class="gbox-wallbar" id="gbWallBar" hidden><button type="button" class="btn btn-crystal btn-sm" id="gbPlay" aria-label="播放 / 暂停">❚❚</button><input type="range" id="gbRange" min="0" max="0" value="0" aria-label="时间轴"><span id="gbLbl" class="num"></span></div><div class="g-links" id="gbLinks"></div></div>
</div>
<nav class="tabbar" aria-label="导航"><a href="index.html"><svg width="23" height="23" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 10.5 12 3l9 7.5"/><path d="M5 9.5V21h14V9.5"/><path d="M10 21v-6h4v6"/></svg><span>首页</span></a><a href="gallery.html" aria-current="page"><svg width="23" height="23" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="3" width="18" height="18" rx="2"/><circle cx="9" cy="9" r="2"/><path d="m21 15-3.1-3.1a2 2 0 0 0-2.8 0L6 21"/></svg><span>画展</span></a><a class="mid" href="/order/"><i aria-hidden="true"></i><span>渲染</span></a><a href="universe.html"><svg width="23" height="23" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="5"/><path d="M4.2 15.6c-1.6 2.5 4.2 2.4 9.6-.2s9-6.6 7.5-8.6c-.8-1-2.9-.9-5.4 0"/></svg><span>宇宙</span></a><button type="button" data-sheet="more" aria-expanded="false" aria-controls="more"><i class="ic-a"><svg width="23" height="23" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3.5" y="3.5" width="7" height="7" rx="2"/><rect x="13.5" y="3.5" width="7" height="7" rx="2"/><rect x="3.5" y="13.5" width="7" height="7" rx="2"/><rect x="13.5" y="13.5" width="7" height="7" rx="2"/></svg></i><i class="ic-b"><svg width="23" height="23" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M18 6 6 18"/><path d="M6 6l12 12"/></svg></i><span class="lb-a">更多</span><span class="lb-b">收起</span></button></nav>
<div class="sheet" id="more" hidden><div class="panel"><nav class="more-grid" aria-label="更多"><a href="tools.html" style="--zc:#4F86E8;--zc2:#2E5BD8"><i><svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z"/></svg></i><span>工具与开源</span></a><a href="links.html" style="--zc:#22B573;--zc2:#3C8527"><i><svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg></i><span>平台入口</span></a><a href="about.html" style="--zc:#E0533D;--zc2:#E8913A"><i><svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="9"/><path d="M12 16v-4"/><path d="M12 8h.01"/></svg></i><span>关于</span></a></nav><p class="more-qq">QQ 群:屑钻小窝 123456789</p></div></div>
<footer class="foot-site"><div class="wrap foot-in"><a class="brand" href="index.html"><i class="gem-img" aria-hidden="true"></i><b>金钻客栈</b></a></div></footer>
<script src="assets/site-info.js?v=5"></script>
<!-- 网站内容:内容后台发布时生成 content/site.js(window.JZ_CONTENT) -->
<script src="content/site.js"></script>
<script>/* 预览草稿:内容后台点「预览」会带 ?preview=1 打开;只有登录了内容后台的浏览器拿得到草稿(拿不到就还是正式内容) */
if(/[?&]preview=1(&|$)/.test(location.search)) document.write('<script src="/order/api/cms/draft.js"><\/script>');</script>
<script>window.__hdcEarly=(function(){try{return fetch("hd_cache/manifest.json",{cache:"force-cache"})}catch(e){return Promise.resolve(null)}})();</script>
<script src="assets/pages.js?v=5"></script>
<script src="assets/gallery.js?v=5"></script>
<script src="assets/site.js?v=5"></script>
<script src="assets/boot.js?v=5"></script>
</body>
</html>