全站按设计预览站重做(门户改多页 + 下单页对齐)、新加载动画、金钻宇宙开场星门;站点信息集中到 site-info.js
- 门户:单页改成 index / gallery / tools / universe / links / about 六页,标记 / 样式 / 交互照预览站;内容照旧读 content/site.js - 画展:预览站作品墙 + 原有全部功能(筛选、排序、看过的、高清、本站视频、B 站、全景、动态壁纸、观展统计、外链);按最矮列投放保证时间顺序 - 加载动画 boot.js:像素钻石垒成形 → 白光 → 店名逐字 → 进度条 → 幕布上收(每个标签页只放一次,减少动效时不放) - 金钻宇宙开场 gate.js:星门(钻石 + 光谱环 + 世界线格子逐个点亮),星系画好后炸开接镜头俯冲 - 下单页:全站顶栏 / 底栏 / 页脚、宽版面、落地「怎么下单?」两张路卡 + 下过单了 + 模板样图;下单逻辑和按钮 id 不动 - 站点固定信息(域名 / 群号 / 备案号 / 邮箱)只在 assets/site-info.js,仓库是占位,正式服务器只换这一个文件 - 像素字体换成常用 3755 字 + 全部内容的子集(门户和下单页共用);旧链接 /#/板块、/#0001 自动跳新页 - 交接文档 / 星系图说明 / nginx 片段同步更新 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,63 @@
|
|||||||
|
<!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">
|
||||||
|
<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=1">
|
||||||
|
</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=1"></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=1"></script>
|
||||||
|
<script src="assets/gallery.js?v=1"></script>
|
||||||
|
<script src="assets/site.js?v=1"></script>
|
||||||
|
<script src="assets/boot.js?v=1"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Reference in New Issue
Block a user