style: 金钻客栈 2026 改版(白光藏色 × MC 方块),替换上一轮暗色覆盖层
- 删除 redesign-2026 暗色覆盖块;两页 </body> 前新增 jz-2026 样式/脚本块
- 浅色配色、流动淡彩背景、MC 方块按钮、像素标题字体(OFL,子集)
- 门户顶栏加「自助渲染」入口;手机端底部物品栏导航 +「更多」面板
- 下单页加与门户一致的顶栏/底栏;页头改版,隐藏四段进度条
- 修复工具卡正文被挤成一指宽的布局问题
- 原有 <script>/<style> 块与 d1e34b7 逐块一致,未改 JS 逻辑与接口
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Binary file not shown.
@@ -0,0 +1,96 @@
|
||||
Fusion Pixel Font
|
||||
https://github.com/TakWolf/fusion-pixel-font
|
||||
|
||||
Copyright (c) 2022, TakWolf (https://takwolf.com).
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
https://openfontlicense.org
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
+282
-557
@@ -635,6 +635,14 @@ html[data-skin="1"] .se-b{animation-name:se-drift-b-mild}
|
||||
</style>
|
||||
</head>
|
||||
<body data-step="1">
|
||||
<!-- jz-2026-top:start -->
|
||||
<!-- 跟门户同一个顶栏:logo + 板块 + 自助渲染(当前页)。只是链接,不碰下单逻辑 -->
|
||||
<header class="jz-top"><div class="jz-top-in">
|
||||
<a class="jz-brand" href="/#/home"><i aria-hidden="true"></i><b>金钻客栈</b></a>
|
||||
<nav class="jz-nav" aria-label="导航"><a href="/#/home">首页</a><a href="/#/gallery">画展</a><a href="/#/apps">工具与开源</a><a href="/#/universe">金钻宇宙</a><a href="/#/links">平台入口</a><a href="/#/about">关于</a></nav>
|
||||
<a class="jz-pill" href="/order/" aria-current="page"><i aria-hidden="true"></i>自助渲染</a>
|
||||
</div></header>
|
||||
<!-- jz-2026-top:end -->
|
||||
|
||||
<!-- 网点层(halftone · 默认就有,与 ?skin= 春意开关解耦):单层;点径 0.7px / 间距 3.6px /
|
||||
opacity .06 / rotate(-25deg) / 135deg 渐隐 mask;z-index:0 → 在内容(.wrap z-index:1)之下,
|
||||
@@ -659,7 +667,7 @@ html[data-skin="1"] .se-b{animation-name:se-drift-b-mild}
|
||||
<div class="wrap hd">
|
||||
<div class="brand">
|
||||
<h1>自助模板渲染</h1>
|
||||
<span class="sub">金钻工坊 · 传皮肤 · 选模板 · 出图</span>
|
||||
<span class="sub">传一张皮肤,选个模板,等一会儿就能拿到渲染图。</span>
|
||||
</div>
|
||||
<span class="machine" id="mach"><span class="dot" id="machDot"></span><span id="machTxt">检测中…</span></span>
|
||||
</div>
|
||||
@@ -4175,578 +4183,295 @@ document.addEventListener('touchmove',function(e){
|
||||
window.addEventListener('blur',function(){ if(drag) onUp({}); });
|
||||
})();
|
||||
</script>
|
||||
<style id="redesign-2026">
|
||||
<!-- jz-2026:start -->
|
||||
<!-- 手机底部导航 + 「更多」面板(只做跳转,读当前地址高亮;不碰页面原有逻辑) -->
|
||||
<nav class="jz-tabbar" aria-label="导航"><a class="jz-tab" href="/#/home" data-b="home"><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 class="jz-tab" href="/#/gallery" data-b="gallery"><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="jz-tab jz-mid" href="/order/" aria-current="page"><i aria-hidden="true"></i><span>渲染</span></a><a class="jz-tab" href="/#/universe" data-b="universe"><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" class="jz-tab" id="jzMoreBtn" aria-expanded="false" aria-controls="jzMore"><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="jz-sheet" id="jzMore" hidden><div class="jz-panel"><nav class="jz-more" aria-label="更多"><a href="/#/apps" data-b="apps" style="--zc:#4F86E8;--zc2:#2E5BD8"><i><svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="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" data-b="links" style="--zc:#22B573;--zc2:#3C8527"><i><svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="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" data-b="about" style="--zc:#E0533D;--zc2:#E8913A"><i><svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="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="jz-qq">QQ 群:屑钻小窝 123456789</p></div></div>
|
||||
|
||||
<style id="jz-2026">
|
||||
/* ==========================================================================
|
||||
2026 视觉重设计:精致暗色 + 宝石色 (Linear / Vercel / Raycast 克制高级暗色风格)
|
||||
金钻客栈 2026 · 白光藏色 × MC 方块(下单页覆盖层)
|
||||
只改样式:所有规则都在这一块里、放在页面最后;不改任何 JS 逻辑与接口调用。
|
||||
========================================================================== */
|
||||
|
||||
/* ---- 0. 全局设计变量与调色板 ---- */
|
||||
@font-face{font-family:'JZ Pixel';src:url('assets/jz-pixel-12.woff2') format('woff2');font-display:swap}
|
||||
:root{
|
||||
--bg: #0a0b0d !important;
|
||||
--surface: #111316 !important;
|
||||
--surface-2: #15181c !important;
|
||||
--surface-3: #1a1e23 !important;
|
||||
--glass: #111316 !important;
|
||||
--glass-deep: rgba(10, 11, 13, 0.85) !important;
|
||||
--glass-blur: none !important;
|
||||
--line: rgba(255, 255, 255, 0.08) !important;
|
||||
--line-soft: rgba(255, 255, 255, 0.05) !important;
|
||||
--txt: #f0f2f5 !important;
|
||||
--txt-2: #c9cdd2 !important;
|
||||
--txt-3: #8b9198 !important;
|
||||
--txt-4: #5a6068 !important;
|
||||
--acc: #3ecf8e !important;
|
||||
--acc-hi: #4ade9f !important;
|
||||
--acc-hover: #34b77c !important;
|
||||
--ok: #3ecf8e !important;
|
||||
--ok-t: #4ade9f !important;
|
||||
--warn: #e9c46a !important;
|
||||
--warn-t: #f4d068 !important;
|
||||
--bad: #f87171 !important;
|
||||
--bad-t: #fca5a5 !important;
|
||||
--r: 10px !important;
|
||||
--r-sm: 8px !important;
|
||||
--r-lg: 16px !important;
|
||||
--icd-gem:url("data:image/webp;base64,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");
|
||||
--bg:#F5F7FB;
|
||||
--surface:rgba(255,255,255,.74); --surface-2:rgba(255,255,255,.86); --surface-3:#fff;
|
||||
--line:rgba(30,36,64,.13); --line-soft:rgba(30,36,64,.08);
|
||||
--txt:#1E2440; --txt-2:#454B6B; --txt-3:#5E6482; --txt-4:#7E849C; --dim:#7E849C; --dim2:#959AAF;
|
||||
--acc:#3C8527; --acc-hi:#5BAA3C; --acc-hover:#2F6E1F;
|
||||
--ok:#3C8527; --ok-t:#2F6E1F; --warn:#C98A12; --warn-t:#9A6A0C; --bad:#D2483A; --bad-t:#B33A2E;
|
||||
--glass:rgba(255,255,255,.74); --glass-deep:rgba(236,240,248,.8); --glass-blur:none;
|
||||
--pixel:'JZ Pixel','OPPO Sans',-apple-system,'PingFang SC','Microsoft YaHei',sans-serif;
|
||||
--mc-green:#3C8527; --mc-green-hi:#5BAA3C; --mc-green-lo:#1D4D13;
|
||||
--stone:#F3F4F6; --stone-lo:#B4B7BE; --stone-edge:#9EA2AA;
|
||||
--panel-shadow:inset 0 1px 0 #fff,0 22px 44px -28px rgba(100,110,190,.38);
|
||||
color-scheme:light;
|
||||
}
|
||||
body{background:var(--bg) !important;color:var(--txt)}
|
||||
body::before{content:"";position:fixed;inset:0;z-index:-3;pointer-events:none;background:
|
||||
radial-gradient(40% 34% at 6% 0%,rgba(150,215,255,.30),transparent 70%),radial-gradient(36% 30% at 100% 8%,rgba(255,176,204,.24),transparent 70%),
|
||||
radial-gradient(48% 38% at 72% 100%,rgba(255,214,150,.22),transparent 70%),radial-gradient(42% 36% at 0% 72%,rgba(170,235,200,.22),transparent 70%),var(--bg)}
|
||||
#halftone,#springEnv{display:none !important}
|
||||
#jzBg{position:fixed;inset:0;z-index:-2;width:100%;height:100%;pointer-events:none;opacity:0;transition:opacity 1.2s cubic-bezier(.23,1,.32,1)}
|
||||
html.jz-gl #jzBg{opacity:1}
|
||||
html.jz-gl body::before{opacity:0}
|
||||
::selection{background:rgba(91,170,60,.25);color:var(--txt)}
|
||||
|
||||
/* ---- 1. 底色与全局重置 ---- */
|
||||
body {
|
||||
background: #0a0b0d !important;
|
||||
color: var(--txt-2) !important;
|
||||
font-family: 'OPPO Sans', system-ui, -apple-system, sans-serif !important;
|
||||
font-size: 15px !important;
|
||||
line-height: 1.7 !important;
|
||||
-webkit-font-smoothing: antialiased !important;
|
||||
text-rendering: optimizeLegibility !important;
|
||||
overflow-x: hidden !important;
|
||||
}
|
||||
/* ---------- 顶栏:跟门户一样 ---------- */
|
||||
.jz-top{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.72);border-bottom:1px solid rgba(255,255,255,.9);box-shadow:0 10px 30px -24px rgba(80,90,170,.45);
|
||||
-webkit-backdrop-filter:blur(14px) saturate(1.4);backdrop-filter:blur(14px) saturate(1.4)}
|
||||
.jz-top-in{max-width:1140px;margin:0 auto;padding:0 20px;min-height:66px;display:flex;align-items:center;gap:22px}
|
||||
.jz-brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--txt)}
|
||||
.jz-brand i{width:30px;height:30px;background:var(--icd-gem) center/contain no-repeat;image-rendering:pixelated}
|
||||
.jz-brand b{font:400 24px/1 var(--pixel);letter-spacing:.04em;-webkit-font-smoothing:none}
|
||||
.jz-nav{display:flex;gap:4px;flex:1}
|
||||
.jz-nav a{display:inline-flex;align-items:center;height:40px;padding:0 13px;border-radius:4px;color:var(--txt-2);font-size:15px;text-decoration:none}
|
||||
.jz-nav a:hover{background:rgba(255,255,255,.85);color:var(--txt)}
|
||||
.jz-pill{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 14px 3px 8px;border-radius:4px;border:2px solid var(--mc-green-lo);background:var(--mc-green);color:#fff;font:700 15px/1 'OPPO Sans',sans-serif;text-decoration:none;white-space:nowrap;
|
||||
box-shadow:inset 0 2px 0 var(--mc-green-hi),inset 0 -4px 0 var(--mc-green-lo),0 0 0 3px rgba(91,170,60,.28)}
|
||||
.jz-pill i{width:26px;height:26px;border-radius:3px;background:#fff var(--icd-gem) center/18px no-repeat;image-rendering:pixelated;box-shadow:inset 0 -2px 0 #C9CDD4}
|
||||
|
||||
/* 背景顶光微调 */
|
||||
body::before {
|
||||
content: "" !important;
|
||||
position: fixed !important;
|
||||
left: 0 !important;
|
||||
right: 0 !important;
|
||||
top: 0 !important;
|
||||
height: 48vh !important;
|
||||
pointer-events: none !important;
|
||||
z-index: 0 !important;
|
||||
background: radial-gradient(75% 100% at 50% 0%, rgba(62, 207, 142, 0.055), transparent 72%) !important;
|
||||
}
|
||||
/* ---------- 页头:钻石方块 + 像素标题 + 一句话 + 一行小灰字(渲染机状态) ---------- */
|
||||
header:not(.jz-top){background:none !important;border:0 !important;box-shadow:none !important;position:static !important;-webkit-backdrop-filter:none !important;backdrop-filter:none !important}
|
||||
.hd{display:grid !important;grid-template-columns:auto minmax(0,1fr);column-gap:24px;row-gap:4px;align-items:center;padding-top:40px !important;padding-bottom:24px !important;margin-bottom:6px;border-bottom:1px solid var(--line-soft)}
|
||||
.hd::before{content:"";grid-row:1/3;width:84px;height:84px;border-radius:8px;border:2px solid #fff;background:#fff var(--icd-gem) center/48px no-repeat;image-rendering:pixelated;
|
||||
box-shadow:-5px 10px 18px -12px rgba(255,110,140,.4),5px 10px 18px -12px rgba(70,140,255,.4)}
|
||||
.hd .brand{gap:8px}
|
||||
.hd h1{font:400 36px/1.2 var(--pixel) !important;letter-spacing:.02em !important;color:var(--txt) !important;-webkit-font-smoothing:none}
|
||||
.hd .sub{font-size:15.5px !important;letter-spacing:0 !important;color:var(--txt-2) !important}
|
||||
.machine{grid-column:2;margin:0 !important;padding:0 !important;border:0 !important;background:none !important;font-size:13.5px !important;color:var(--txt-3) !important;justify-self:start}
|
||||
.machine .dot{display:none}
|
||||
.prog{display:none !important}
|
||||
|
||||
/* 彻底去除背景网点与多余网格 */
|
||||
#halftone, #bgBlur, body::after {
|
||||
display: none !important;
|
||||
opacity: 0 !important;
|
||||
visibility: hidden !important;
|
||||
}
|
||||
.card::before, .tpl .thumb::after, button::before, .tpl::before, .seg label::before, .entry::before, .drop::before, .chip::before, .lrow::before, .linkbtn::before {
|
||||
display: none !important;
|
||||
pointer-events: none !important;
|
||||
}
|
||||
/* ---------- 卡片:白色晶体 ---------- */
|
||||
.card{background:linear-gradient(160deg,rgba(255,255,255,.88),rgba(255,255,255,.66)) !important;border:2px solid rgba(255,255,255,.95) !important;border-radius:8px !important;
|
||||
box-shadow:var(--panel-shadow) !important;-webkit-backdrop-filter:none !important;backdrop-filter:none !important}
|
||||
.step h2{font:400 24px/1.3 var(--pixel) !important;letter-spacing:.02em !important;color:var(--txt) !important;-webkit-font-smoothing:none}
|
||||
.step .num{border-radius:4px !important;background:var(--stone) !important;border:2px solid var(--stone-edge) !important;color:var(--txt) !important;font-family:var(--pixel) !important;box-shadow:inset 0 2px 0 #fff,inset 0 -3px 0 var(--stone-lo)}
|
||||
.hint{color:var(--txt-3)}
|
||||
.hint b{color:var(--txt-2) !important}
|
||||
.hr{background:var(--line-soft) !important}
|
||||
|
||||
/* ---- 2. 顶栏与显著进度条 ---- */
|
||||
header {
|
||||
background: rgba(10, 11, 13, 0.85) !important;
|
||||
backdrop-filter: blur(16px) saturate(180%) !important;
|
||||
-webkit-backdrop-filter: blur(16px) saturate(180%) !important;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
|
||||
}
|
||||
.hd h1 {
|
||||
font-size: 18px !important;
|
||||
font-weight: 700 !important;
|
||||
letter-spacing: -0.015em !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
.hd .sub {
|
||||
font-size: 12.5px !important;
|
||||
color: #8b9198 !important;
|
||||
}
|
||||
.machine {
|
||||
background: rgba(255, 255, 255, 0.03) !important;
|
||||
border: 1px solid rgba(255, 255, 255, 0.08) !important;
|
||||
border-radius: 9999px !important;
|
||||
color: #c9cdd2 !important;
|
||||
font-size: 12px !important;
|
||||
}
|
||||
.dot.on {
|
||||
background: #3ecf8e !important;
|
||||
box-shadow: 0 0 8px rgba(62, 207, 142, 0.6) !important;
|
||||
}
|
||||
/* ---------- 按钮:MC 方块按钮(绿 = 主,石头白 = 次) ---------- */
|
||||
button.pri,.pri{border-radius:4px !important;border:2px solid var(--mc-green-lo) !important;background:var(--mc-green) !important;color:#fff !important;font-weight:700 !important;padding-bottom:3px;
|
||||
box-shadow:inset 0 2px 0 var(--mc-green-hi),inset 0 -4px 0 var(--mc-green-lo) !important;transition:transform .08s linear,box-shadow .08s linear,background .12s}
|
||||
.pri:hover:not(:disabled){background:#469A2E !important}
|
||||
.pri:active:not(:disabled){transform:translateY(2px);box-shadow:inset 0 2px 0 var(--mc-green-hi),inset 0 -2px 0 var(--mc-green-lo) !important}
|
||||
.pri:disabled{opacity:.45 !important;filter:saturate(.4)}
|
||||
button.ghost,.ghost,.addbtn{border-radius:4px !important;border:2px solid var(--stone-edge) !important;background:var(--stone) !important;color:var(--txt) !important;font-weight:700 !important;
|
||||
box-shadow:inset 0 2px 0 #fff,inset 0 -4px 0 var(--stone-lo) !important;transition:transform .08s linear,box-shadow .08s linear,background .12s}
|
||||
.ghost:hover:not(:disabled),.addbtn:hover{background:#fff !important}
|
||||
.ghost:active:not(:disabled),.addbtn:active{transform:translateY(2px);box-shadow:inset 0 2px 0 #fff,inset 0 -2px 0 var(--stone-lo) !important}
|
||||
.linkbtn{color:var(--mc-green) !important;font-weight:700}
|
||||
|
||||
/* 顶部进度条更明显:4px 高度 + 发光激活条 */
|
||||
.prog {
|
||||
display: flex !important;
|
||||
gap: 8px !important;
|
||||
padding: 0 0 14px !important;
|
||||
}
|
||||
.prog i {
|
||||
flex: 1 !important;
|
||||
height: 4px !important;
|
||||
border-radius: 9999px !important;
|
||||
background: rgba(255, 255, 255, 0.08) !important;
|
||||
transition: background 0.3s ease, box-shadow 0.3s ease !important;
|
||||
}
|
||||
body[data-step="1"] .prog i:nth-child(-n+1),
|
||||
body[data-step="2"] .prog i:nth-child(-n+2),
|
||||
body[data-step="3"] .prog i:nth-child(-n+3),
|
||||
body[data-step="4"] .prog i:nth-child(-n+4),
|
||||
body[data-step="5"] .prog i:nth-child(-n+4) {
|
||||
background: #3ecf8e !important;
|
||||
box-shadow: 0 0 10px rgba(62, 207, 142, 0.6) !important;
|
||||
}
|
||||
/* ---------- 两条路 ---------- */
|
||||
.entry{background:linear-gradient(160deg,#fff,#F6F8FE) !important;border:2px solid rgba(30,36,64,.08) !important;border-radius:8px !important;color:var(--txt-2) !important;
|
||||
box-shadow:0 14px 28px -22px rgba(80,90,170,.5) !important;-webkit-backdrop-filter:none !important;backdrop-filter:none !important;transition:transform .2s,box-shadow .2s,border-color .2s}
|
||||
.entry:hover{transform:translateY(-2px);border-color:rgba(60,133,39,.5) !important}
|
||||
.entry,.entry span{font-weight:400 !important;color:var(--txt-2) !important}
|
||||
.entry em{font-weight:700}
|
||||
.entry b{font:400 22px/1.3 var(--pixel) !important;color:var(--txt) !important;-webkit-font-smoothing:none}
|
||||
.entry em{color:var(--mc-green) !important;font-style:normal}
|
||||
.lrow{background:#fff !important;border:2px solid rgba(30,36,64,.08) !important;border-radius:6px !important;color:var(--txt-2) !important;-webkit-backdrop-filter:none !important;backdrop-filter:none !important}
|
||||
|
||||
/* ---- 3. 卡片系统与圆角 ---- */
|
||||
.card {
|
||||
background: #111316 !important;
|
||||
border: 1px solid rgba(255, 255, 255, 0.08) !important;
|
||||
border-radius: 16px !important;
|
||||
padding: 28px !important;
|
||||
margin: 20px 0 !important;
|
||||
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35) !important;
|
||||
backdrop-filter: none !important;
|
||||
-webkit-backdrop-filter: none !important;
|
||||
isolation: auto !important;
|
||||
}
|
||||
.card.raised {
|
||||
border-radius: 16px !important;
|
||||
}
|
||||
.card.locked {
|
||||
opacity: 0.35 !important;
|
||||
transform: translateY(4px) !important;
|
||||
}
|
||||
/* ---------- 输入 ---------- */
|
||||
textarea,input[type=text],input[type=email],input[type=tel],input:not([type]),select{background:#fff !important;border:2px solid rgba(30,36,64,.12) !important;border-radius:6px !important;color:var(--txt) !important}
|
||||
textarea:focus,input:focus{border-color:var(--mc-green) !important;outline:none;box-shadow:0 0 0 3px rgba(91,170,60,.2) !important}
|
||||
input[type=checkbox],input[type=radio]{accent-color:var(--mc-green) !important}
|
||||
.drop{background:rgba(255,255,255,.7) !important;border:2px dashed rgba(30,36,64,.2) !important;border-radius:8px !important;color:var(--txt-2) !important}
|
||||
.drop:hover,.drop.over{border-color:var(--mc-green) !important;background:#fff !important}
|
||||
details pre{background:rgba(30,36,64,.04) !important;color:var(--txt-3) !important}
|
||||
|
||||
/* 步骤编号做成小圆形徽章 */
|
||||
.step {
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
gap: 12px !important;
|
||||
margin: 0 0 8px !important;
|
||||
}
|
||||
.step .num {
|
||||
width: 26px !important;
|
||||
height: 26px !important;
|
||||
min-width: 26px !important;
|
||||
border-radius: 50% !important;
|
||||
background: rgba(62, 207, 142, 0.12) !important;
|
||||
border: 1px solid rgba(62, 207, 142, 0.35) !important;
|
||||
color: #3ecf8e !important;
|
||||
font-family: 'OPPO Sans', system-ui, sans-serif !important;
|
||||
font-size: 12.5px !important;
|
||||
font-weight: 700 !important;
|
||||
display: inline-flex !important;
|
||||
align-items: center !important;
|
||||
justify-content: center !important;
|
||||
line-height: 1 !important;
|
||||
letter-spacing: 0 !important;
|
||||
}
|
||||
.step h2 {
|
||||
font-size: 18px !important;
|
||||
font-weight: 700 !important;
|
||||
color: #fff !important;
|
||||
letter-spacing: -0.01em !important;
|
||||
margin: 0 !important;
|
||||
}
|
||||
.hint {
|
||||
font-size: 13.5px !important;
|
||||
line-height: 1.68 !important;
|
||||
color: #8b9198 !important;
|
||||
margin: 6px 0 20px !important;
|
||||
}
|
||||
/* ---------- 分段选择、模板卡 ---------- */
|
||||
.seg label,.seg button{border-radius:4px !important}
|
||||
.seg label:has(input:checked),.seg .on,.seg [aria-pressed=true]{background:#fff !important;color:var(--txt) !important;box-shadow:inset 0 0 0 2px var(--mc-green) !important}
|
||||
.tpl{background:#fff !important;border:2px solid rgba(30,36,64,.08) !important;border-radius:8px !important}
|
||||
.tpl.on,.tpl.sel,.tpl:has(input:checked){border-color:var(--mc-green) !important;box-shadow:0 0 0 3px rgba(91,170,60,.2) !important}
|
||||
|
||||
/* ---- 4. 两个入口 (.entry) 做成 hover 抬升的大卡 ---- */
|
||||
.entry2 {
|
||||
display: grid !important;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
|
||||
gap: 16px !important;
|
||||
margin-top: 14px !important;
|
||||
}
|
||||
@media (max-width: 639px) {
|
||||
.entry2 {
|
||||
grid-template-columns: 1fr !important;
|
||||
}
|
||||
}
|
||||
.entry {
|
||||
display: flex !important;
|
||||
flex-direction: column !important;
|
||||
justify-content: flex-start !important;
|
||||
text-align: left !important;
|
||||
width: 100% !important;
|
||||
cursor: pointer !important;
|
||||
padding: 22px 24px !important;
|
||||
border-radius: 14px !important;
|
||||
border: 1px solid rgba(255, 255, 255, 0.08) !important;
|
||||
background: #15181c !important;
|
||||
transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1),
|
||||
border-color 0.2s ease,
|
||||
background-color 0.2s ease,
|
||||
box-shadow 0.2s ease !important;
|
||||
position: relative !important;
|
||||
overflow: hidden !important;
|
||||
}
|
||||
.entry::before {
|
||||
content: "" !important;
|
||||
position: absolute !important;
|
||||
top: 0 !important;
|
||||
left: 0 !important;
|
||||
right: 0 !important;
|
||||
bottom: auto !important;
|
||||
height: 2px !important;
|
||||
background: linear-gradient(90deg, #3ecf8e, #7dd3e0) !important;
|
||||
opacity: 0 !important;
|
||||
transition: opacity 0.2s ease !important;
|
||||
pointer-events: none !important;
|
||||
}
|
||||
.entry:hover {
|
||||
border-color: rgba(62, 207, 142, 0.45) !important;
|
||||
background: #181d22 !important;
|
||||
transform: translateY(-4px) !important;
|
||||
box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(62, 207, 142, 0.2) !important;
|
||||
}
|
||||
.entry:hover::before {
|
||||
opacity: 1 !important;
|
||||
}
|
||||
.entry b {
|
||||
display: block !important;
|
||||
font-size: 16px !important;
|
||||
font-weight: 700 !important;
|
||||
color: #fff !important;
|
||||
margin-bottom: 8px !important;
|
||||
letter-spacing: -0.01em !important;
|
||||
}
|
||||
.entry span, .entry {
|
||||
font-size: 13px !important;
|
||||
line-height: 1.65 !important;
|
||||
color: #8b9198 !important;
|
||||
}
|
||||
.entry em {
|
||||
display: inline-block !important;
|
||||
margin-top: 8px !important;
|
||||
font-style: normal !important;
|
||||
color: #3ecf8e !important;
|
||||
font-size: 12.5px !important;
|
||||
font-weight: 600 !important;
|
||||
}
|
||||
/* ---------- 弹窗 / 提示 ---------- */
|
||||
.mask{background:rgba(236,240,248,.72) !important;-webkit-backdrop-filter:blur(6px) !important;backdrop-filter:blur(6px) !important}
|
||||
.modal{background:#fff !important;border:2px solid #fff !important;border-radius:10px !important;color:var(--txt) !important;box-shadow:0 40px 80px -40px rgba(60,70,140,.6) !important}
|
||||
.toast{background:#fff !important;color:var(--txt) !important;border:2px solid #fff !important;border-radius:6px !important;box-shadow:0 18px 36px -20px rgba(60,70,140,.55) !important}
|
||||
.notice{background:rgba(255,255,255,.8) !important;border-color:var(--line-soft) !important;color:var(--txt-2) !important}
|
||||
.oid{font-family:var(--pixel) !important;color:var(--txt) !important}
|
||||
.ok-mark{background:var(--mc-green) !important;color:#fff !important;border-radius:6px !important}
|
||||
footer:not(.jz-foot){color:var(--txt-3) !important}
|
||||
|
||||
/* 细条入口 */
|
||||
.lrow {
|
||||
background: #15181c !important;
|
||||
border: 1px solid rgba(255, 255, 255, 0.08) !important;
|
||||
border-radius: 10px !important;
|
||||
padding: 12px 16px !important;
|
||||
backdrop-filter: none !important;
|
||||
-webkit-backdrop-filter: none !important;
|
||||
cursor: pointer !important;
|
||||
}
|
||||
.lrow:hover {
|
||||
background: #181d22 !important;
|
||||
border-color: rgba(255, 255, 255, 0.16) !important;
|
||||
}
|
||||
/* ==========================================================================
|
||||
手机:底部 MC 物品栏导航(「渲染」是当前页)+「更多」面板,跟门户一致
|
||||
========================================================================== */
|
||||
.jz-tabbar,.jz-sheet{display:none}
|
||||
@media (max-width:760px){
|
||||
.jz-top-in{min-height:56px;padding:0 16px}
|
||||
.jz-nav,.jz-pill{display:none !important}
|
||||
.jz-brand b{font-size:22px}
|
||||
.hd{grid-template-columns:auto minmax(0,1fr);column-gap:14px;padding-top:22px !important;padding-bottom:18px !important}
|
||||
.hd::before{width:56px;height:56px;background-size:32px}
|
||||
.hd h1{font-size:28px !important}
|
||||
.hd .sub{font-size:14px !important}
|
||||
body{padding-bottom:calc(96px + env(safe-area-inset-bottom))}
|
||||
.to-top{bottom:calc(98px + env(safe-area-inset-bottom)) !important}
|
||||
|
||||
/* ---- 5. 按钮系统 ---- */
|
||||
button.pri, .pri {
|
||||
background: #3ecf8e !important;
|
||||
border: 1px solid #3ecf8e !important;
|
||||
color: #07150e !important;
|
||||
font-weight: 700 !important;
|
||||
border-radius: 10px !important;
|
||||
padding: 12px 22px !important;
|
||||
font-size: 14px !important;
|
||||
letter-spacing: 0.01em !important;
|
||||
box-shadow: 0 2px 10px rgba(62, 207, 142, 0.25) !important;
|
||||
transition: all 0.16s cubic-bezier(0.23, 1, 0.32, 1) !important;
|
||||
cursor: pointer !important;
|
||||
}
|
||||
button.pri:hover:not(:disabled), .pri:hover:not(:disabled) {
|
||||
background: #4ade9f !important;
|
||||
border-color: #4ade9f !important;
|
||||
color: #07150e !important;
|
||||
transform: translateY(-2px) !important;
|
||||
box-shadow: 0 6px 20px rgba(62, 207, 142, 0.45) !important;
|
||||
}
|
||||
button.ghost, button:not(.pri):not(.entry):not(.addbtn):not(.linkbtn) {
|
||||
background: rgba(255, 255, 255, 0.04) !important;
|
||||
border: 1px solid rgba(255, 255, 255, 0.10) !important;
|
||||
color: #c9cdd2 !important;
|
||||
font-weight: 500 !important;
|
||||
border-radius: 10px !important;
|
||||
padding: 11px 18px !important;
|
||||
font-size: 14px !important;
|
||||
transition: all 0.16s cubic-bezier(0.23, 1, 0.32, 1) !important;
|
||||
cursor: pointer !important;
|
||||
}
|
||||
button.ghost:hover:not(:disabled), button:not(.pri):not(.entry):not(.addbtn):not(.linkbtn):hover:not(:disabled) {
|
||||
background: rgba(255, 255, 255, 0.08) !important;
|
||||
border-color: rgba(255, 255, 255, 0.22) !important;
|
||||
color: #fff !important;
|
||||
transform: translateY(-2px) !important;
|
||||
}
|
||||
.addbtn {
|
||||
border-radius: 10px !important;
|
||||
padding: 12px !important;
|
||||
border: 1px dashed rgba(62, 207, 142, 0.5) !important;
|
||||
background: rgba(62, 207, 142, 0.08) !important;
|
||||
color: #3ecf8e !important;
|
||||
font-weight: 600 !important;
|
||||
transition: all 0.16s ease !important;
|
||||
cursor: pointer !important;
|
||||
}
|
||||
.addbtn:hover {
|
||||
background: rgba(62, 207, 142, 0.16) !important;
|
||||
border-color: #3ecf8e !important;
|
||||
}
|
||||
/* 底栏:物品栏格子;中间「渲染」是绿色方块 */
|
||||
.jz-tabbar{position:fixed;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:60;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;height:72px;padding:6px;border-radius:8px;
|
||||
border:2px solid rgba(255,255,255,.95);background:rgba(255,255,255,.86);-webkit-backdrop-filter:blur(10px) saturate(1.4);backdrop-filter:blur(10px) saturate(1.4);
|
||||
box-shadow:0 16px 34px -18px rgba(100,110,190,.55),0 2px 8px rgba(30,36,64,.06)}
|
||||
.jz-tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;height:56px;padding:0;border:0;border-radius:4px;background:rgba(30,36,64,.04);
|
||||
box-shadow:inset 0 0 0 2px rgba(30,36,64,.08);font:12px/1 'OPPO Sans',sans-serif;color:var(--txt-3);text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform .15s cubic-bezier(.23,1,.32,1)}
|
||||
.jz-tab:active{transform:scale(.92)}
|
||||
.jz-tab svg{width:23px;height:23px}
|
||||
.jz-tab span{font-size:12px}
|
||||
.jz-tab[aria-current=page],.jz-tab[aria-expanded=true]{background:#fff;color:var(--txt);box-shadow:inset 0 0 0 3px var(--mc-green)}
|
||||
.jz-tab.jz-mid{gap:2px;color:#fff;background:var(--mc-green);box-shadow:inset 0 2px 0 var(--mc-green-hi),inset 0 -4px 0 var(--mc-green-lo)}
|
||||
.jz-mid i{width:28px;height:28px;border-radius:3px;background:#fff var(--icd-gem) center/20px no-repeat;image-rendering:pixelated;box-shadow:inset 0 -2px 0 #C9CDD4}
|
||||
.jz-tab i{display:block;line-height:0}
|
||||
.jz-tab .ic-b,.jz-tab .lb-b,.jz-tab[aria-expanded=true] .ic-a,.jz-tab[aria-expanded=true] .lb-a{display:none}
|
||||
.jz-tab[aria-expanded=true] .ic-b{display:block}
|
||||
.jz-tab[aria-expanded=true] .lb-b{display:inline}
|
||||
|
||||
/* ---- 6. 输入表单与上传区 ---- */
|
||||
textarea, input.t, #codeInput, #codeFirst {
|
||||
background: #0d0f12 !important;
|
||||
border: 1px solid rgba(255, 255, 255, 0.10) !important;
|
||||
border-radius: 10px !important;
|
||||
color: #f0f2f5 !important;
|
||||
padding: 13px 15px !important;
|
||||
font-size: 14px !important;
|
||||
transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
|
||||
.jz-sheet{position:fixed;inset:0;z-index:55;display:block;pointer-events:none;touch-action:none}
|
||||
.jz-sheet::before{content:"";position:absolute;inset:0;background:rgba(30,36,64,.16);opacity:0;transition:opacity .22s cubic-bezier(.23,1,.32,1)}
|
||||
.jz-panel{position:absolute;left:12px;right:12px;bottom:calc(90px + env(safe-area-inset-bottom));padding:6px;border-radius:8px;border:2px solid #fff;background:#fff;
|
||||
box-shadow:0 16px 34px -18px rgba(100,110,190,.55),0 2px 8px rgba(30,36,64,.06);opacity:0;transform:translateY(12px);transition:opacity .2s cubic-bezier(.23,1,.32,1),transform .22s cubic-bezier(.23,1,.32,1)}
|
||||
.jz-sheet[hidden]{display:none !important}
|
||||
.jz-sheet.open{pointer-events:auto}
|
||||
.jz-sheet.open::before{opacity:1}
|
||||
.jz-sheet.open .jz-panel{opacity:1;transform:none}
|
||||
.jz-more{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
|
||||
.jz-more a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;height:84px;border-radius:4px;text-decoration:none;-webkit-tap-highlight-color:transparent;
|
||||
font:700 13.5px/1 'OPPO Sans',sans-serif;color:var(--txt);transition:transform .12s cubic-bezier(.23,1,.32,1);
|
||||
background:#F1F4FA;background:linear-gradient(160deg,color-mix(in srgb,var(--zc) 20%,#fff),color-mix(in srgb,var(--zc2) 10%,#fff));
|
||||
box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--zc) 28%,transparent)}
|
||||
.jz-more a span{font-family:'OPPO Sans',sans-serif;font-weight:700;-webkit-font-smoothing:antialiased}
|
||||
.jz-more a:active{transform:scale(.95)}
|
||||
.jz-more a[aria-current=page]{box-shadow:inset 0 0 0 3px var(--zc)}
|
||||
.jz-more i{display:grid;place-items:center;color:var(--txt)}
|
||||
.jz-more svg{width:24px;height:24px}
|
||||
.jz-qq{margin:0;padding:10px 8px 4px;font-size:13px;color:var(--txt-3)}
|
||||
}
|
||||
textarea:focus, input.t:focus, #codeInput:focus, #codeFirst:focus {
|
||||
border-color: #3ecf8e !important;
|
||||
box-shadow: 0 0 0 3px rgba(62, 207, 142, 0.15) !important;
|
||||
outline: none !important;
|
||||
}
|
||||
.drop {
|
||||
background: #0d0f12 !important;
|
||||
border: 1px dashed rgba(255, 255, 255, 0.14) !important;
|
||||
border-radius: 14px !important;
|
||||
padding: 38px 24px !important;
|
||||
transition: all 0.2s ease !important;
|
||||
backdrop-filter: none !important;
|
||||
-webkit-backdrop-filter: none !important;
|
||||
cursor: pointer !important;
|
||||
}
|
||||
.drop:hover, .drop.over {
|
||||
border-color: #3ecf8e !important;
|
||||
background: rgba(62, 207, 142, 0.05) !important;
|
||||
}
|
||||
.drop .big {
|
||||
color: #fff !important;
|
||||
font-size: 15px !important;
|
||||
}
|
||||
.drop .small {
|
||||
color: #8b9198 !important;
|
||||
font-size: 13px !important;
|
||||
}
|
||||
|
||||
/* 手臂与分段选择 */
|
||||
.seg label {
|
||||
border-radius: 8px !important;
|
||||
border: 1px solid rgba(255, 255, 255, 0.08) !important;
|
||||
background: #0d0f12 !important;
|
||||
padding: 10px 14px !important;
|
||||
color: #8b9198 !important;
|
||||
font-size: 13px !important;
|
||||
transition: all 0.15s ease !important;
|
||||
cursor: pointer !important;
|
||||
}
|
||||
.seg label:hover {
|
||||
border-color: rgba(255, 255, 255, 0.18) !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
.seg label.sel {
|
||||
border-color: #3ecf8e !important;
|
||||
background: rgba(62, 207, 142, 0.12) !important;
|
||||
color: #fff !important;
|
||||
box-shadow: 0 0 0 1px #3ecf8e !important;
|
||||
}
|
||||
.armbox {
|
||||
background: #0d0f12 !important;
|
||||
border: 1px solid rgba(255, 255, 255, 0.06) !important;
|
||||
border-radius: 12px !important;
|
||||
padding: 18px !important;
|
||||
}
|
||||
|
||||
/* 预览框 */
|
||||
.preview {
|
||||
background: #0d0f12 !important;
|
||||
border: 1px solid rgba(255, 255, 255, 0.08) !important;
|
||||
border-radius: 12px !important;
|
||||
backdrop-filter: none !important;
|
||||
-webkit-backdrop-filter: none !important;
|
||||
}
|
||||
|
||||
/* ---- 7. 模板卡片与状态色(严格保全排队/渲染/完成/失败/不足/超出) ---- */
|
||||
.tpl {
|
||||
background: #111316 !important;
|
||||
border: 1px solid rgba(255, 255, 255, 0.08) !important;
|
||||
border-radius: 12px !important;
|
||||
overflow: hidden !important;
|
||||
transition: all 0.2s ease !important;
|
||||
cursor: pointer !important;
|
||||
}
|
||||
.tpl:hover {
|
||||
border-color: rgba(255, 255, 255, 0.18) !important;
|
||||
transform: translateY(-2px) !important;
|
||||
}
|
||||
.tpl.sel {
|
||||
border-color: #3ecf8e !important;
|
||||
box-shadow: inset 0 0 0 1px #3ecf8e, 0 0 16px rgba(62, 207, 142, 0.25) !important;
|
||||
}
|
||||
.tpl.sel .pick {
|
||||
background: #3ecf8e !important;
|
||||
border-color: #3ecf8e !important;
|
||||
color: #07150e !important;
|
||||
}
|
||||
|
||||
/* 状态色 1:超出卡密数量 (红) */
|
||||
.tpl.over, .tpl.over.sel {
|
||||
border-color: #f87171 !important;
|
||||
box-shadow: inset 0 0 0 1px #f87171, 0 0 16px rgba(248, 113, 113, 0.35) !important;
|
||||
}
|
||||
/* 状态色 2:不足指定张数 (黄) */
|
||||
.tpl.short, .tpl.short.sel {
|
||||
border-color: #e9c46a !important;
|
||||
box-shadow: inset 0 0 0 1px #e9c46a, 0 0 16px rgba(233, 196, 106, 0.35) !important;
|
||||
}
|
||||
|
||||
/* 质检报告 item 状态色 */
|
||||
.item {
|
||||
border-radius: 8px !important;
|
||||
background: rgba(255, 255, 255, 0.02) !important;
|
||||
border: 1px solid rgba(255, 255, 255, 0.05) !important;
|
||||
}
|
||||
.item.ok .tag::before {
|
||||
background: #3ecf8e !important;
|
||||
box-shadow: 0 0 6px rgba(62, 207, 142, 0.6) !important;
|
||||
}
|
||||
.item.warn {
|
||||
background: rgba(233, 196, 106, 0.08) !important;
|
||||
border-color: rgba(233, 196, 106, 0.25) !important;
|
||||
}
|
||||
.item.warn .tag::before {
|
||||
background: #e9c46a !important;
|
||||
box-shadow: 0 0 6px rgba(233, 196, 106, 0.6) !important;
|
||||
}
|
||||
.item.bad {
|
||||
background: rgba(248, 113, 113, 0.08) !important;
|
||||
border-color: rgba(248, 113, 113, 0.25) !important;
|
||||
}
|
||||
.item.bad .tag::before {
|
||||
background: #f87171 !important;
|
||||
box-shadow: 0 0 6px rgba(248, 113, 113, 0.6) !important;
|
||||
}
|
||||
|
||||
/* 提示与通知状态框 */
|
||||
.notice {
|
||||
background: rgba(248, 113, 113, 0.08) !important;
|
||||
border: 1px solid rgba(248, 113, 113, 0.25) !important;
|
||||
border-radius: 10px !important;
|
||||
color: #fca5a5 !important;
|
||||
backdrop-filter: none !important;
|
||||
-webkit-backdrop-filter: none !important;
|
||||
}
|
||||
.notice.blue {
|
||||
background: rgba(62, 207, 142, 0.08) !important;
|
||||
border: 1px solid rgba(62, 207, 142, 0.25) !important;
|
||||
border-radius: 10px !important;
|
||||
color: #6ee7b7 !important;
|
||||
}
|
||||
|
||||
/* 历史订单状态 */
|
||||
.hrow {
|
||||
border: 1px solid rgba(255, 255, 255, 0.08) !important;
|
||||
border-radius: 12px !important;
|
||||
background: #111316 !important;
|
||||
padding: 14px 16px !important;
|
||||
}
|
||||
.hrow .hs.ok {
|
||||
color: #3ecf8e !important;
|
||||
border-color: rgba(62, 207, 142, 0.4) !important;
|
||||
background: rgba(62, 207, 142, 0.08) !important;
|
||||
}
|
||||
.hrow .hs.warn {
|
||||
color: #e9c46a !important;
|
||||
border-color: rgba(233, 196, 106, 0.4) !important;
|
||||
background: rgba(233, 196, 106, 0.08) !important;
|
||||
}
|
||||
|
||||
/* 卡密校验状态 */
|
||||
.codes .ok { color: #3ecf8e !important; }
|
||||
.codes .bad { color: #f87171 !important; }
|
||||
|
||||
/* ---- 8. 弹窗与遮罩最高层级与可用性保障 ---- */
|
||||
.mask {
|
||||
background: rgba(5, 6, 8, 0.8) !important;
|
||||
backdrop-filter: blur(16px) !important;
|
||||
-webkit-backdrop-filter: blur(16px) !important;
|
||||
z-index: 1000 !important;
|
||||
}
|
||||
.modal {
|
||||
background: #111316 !important;
|
||||
border: 1px solid rgba(255, 255, 255, 0.10) !important;
|
||||
border-radius: 16px !important;
|
||||
padding: 26px !important;
|
||||
box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65) !important;
|
||||
backdrop-filter: none !important;
|
||||
-webkit-backdrop-filter: none !important;
|
||||
z-index: 1001 !important;
|
||||
}
|
||||
.result {
|
||||
background: #111316 !important;
|
||||
border: 1px solid rgba(255, 255, 255, 0.08) !important;
|
||||
border-radius: 16px !important;
|
||||
backdrop-filter: none !important;
|
||||
-webkit-backdrop-filter: none !important;
|
||||
}
|
||||
.toast {
|
||||
z-index: 2000 !important;
|
||||
}
|
||||
|
||||
/* ---- 9. 手机端 (390px) 响应式适配 ---- */
|
||||
@media (max-width: 600px) {
|
||||
.wrap {
|
||||
padding: 0 16px !important;
|
||||
}
|
||||
.card {
|
||||
padding: 20px 16px !important;
|
||||
margin: 16px 0 !important;
|
||||
border-radius: 14px !important;
|
||||
}
|
||||
.hd {
|
||||
padding: 12px 16px 10px !important; /* 原为 12px 0:手机端标题贴屏幕边 */
|
||||
}
|
||||
.entry {
|
||||
padding: 18px 16px !important;
|
||||
}
|
||||
.btns {
|
||||
flex-direction: column !important;
|
||||
}
|
||||
.btns button {
|
||||
width: 100% !important;
|
||||
min-width: 100% !important;
|
||||
}
|
||||
.lbtn {
|
||||
flex-direction: column !important;
|
||||
align-items: flex-start !important;
|
||||
gap: 8px !important;
|
||||
}
|
||||
.split {
|
||||
grid-template-columns: 1fr !important;
|
||||
}
|
||||
.preview canvas {
|
||||
margin: 0 auto !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* ---- 10. prefers-reduced-motion ---- */
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
*, *::before, *::after {
|
||||
animation-duration: 0.01ms !important;
|
||||
animation-iteration-count: 1 !important;
|
||||
transition-duration: 0.01ms !important;
|
||||
scroll-behavior: auto !important;
|
||||
}
|
||||
.entry:hover, button.pri:hover, button.ghost:hover, .tpl:hover, .lrow:hover {
|
||||
transform: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion:reduce){.jz-panel,.jz-sheet::before{transition:none}}
|
||||
html.rm .jz-panel,html.rm .jz-sheet::before{transition:none}
|
||||
.readouts .ro{text-align:left}
|
||||
.step .num{display:inline-grid !important;place-items:center;min-width:28px;height:28px;padding:0 0 2px !important;font-size:14px !important;line-height:1 !important}
|
||||
.step{align-items:center !important}
|
||||
.mask{z-index:90 !important}
|
||||
.toast{z-index:95 !important}
|
||||
.modal input[type=text],.modal input:not([type]){width:100%}
|
||||
</style>
|
||||
<script id="jz-2026-js">
|
||||
/* 金钻客栈 2026 覆盖层脚本:整页流动背景 + 手机底栏 / 「更多」面板。
|
||||
独立运行,不调用、不修改页面原有的任何函数和接口。 */
|
||||
(function () {
|
||||
'use strict';
|
||||
var reduce = window.matchMedia && matchMedia('(prefers-reduced-motion: reduce)').matches;
|
||||
var mouseX = 0, mouseY = 0;
|
||||
/* ---------- 整页动态背景:WebGL 流动淡彩(低分辨率、30fps;不支持就留 CSS 渐变) ---------- */
|
||||
(function glBackground() {
|
||||
var c = document.createElement('canvas');
|
||||
c.id = 'jzBg'; c.setAttribute('aria-hidden', 'true');
|
||||
var gl = null;
|
||||
try { gl = c.getContext('webgl', { antialias: false, alpha: false, depth: false, stencil: false, powerPreference: 'low-power' }); } catch (e) {}
|
||||
if (!gl) return;
|
||||
var VS = 'attribute vec2 p;void main(){gl_Position=vec4(p,0.0,1.0);}';
|
||||
var FS = [
|
||||
'precision mediump float;uniform vec2 uRes;uniform float uTime;uniform vec2 uMouse;uniform float uUni;',
|
||||
'vec3 m289(vec3 x){return x-floor(x*(1.0/289.0))*289.0;}vec4 m289(vec4 x){return x-floor(x*(1.0/289.0))*289.0;}',
|
||||
'vec4 perm(vec4 x){return m289(((x*34.0)+1.0)*x);}vec4 tis(vec4 r){return 1.79284291400159-0.85373472095314*r;}',
|
||||
'float sn(vec3 v){const vec2 C=vec2(1.0/6.0,1.0/3.0);const vec4 D=vec4(0.0,0.5,1.0,2.0);',
|
||||
'vec3 i=floor(v+dot(v,C.yyy));vec3 x0=v-i+dot(i,C.xxx);vec3 g=step(x0.yzx,x0.xyz);vec3 l=1.0-g;',
|
||||
'vec3 i1=min(g.xyz,l.zxy);vec3 i2=max(g.xyz,l.zxy);vec3 x1=x0-i1+C.xxx;vec3 x2=x0-i2+C.yyy;vec3 x3=x0-D.yyy;',
|
||||
'i=m289(i);vec4 p=perm(perm(perm(i.z+vec4(0.0,i1.z,i2.z,1.0))+i.y+vec4(0.0,i1.y,i2.y,1.0))+i.x+vec4(0.0,i1.x,i2.x,1.0));',
|
||||
'float n_=0.142857142857;vec3 ns=n_*D.wyz-D.xzx;vec4 j=p-49.0*floor(p*ns.z*ns.z);vec4 x_=floor(j*ns.z);vec4 y_=floor(j-7.0*x_);',
|
||||
'vec4 x=x_*ns.x+ns.yyyy;vec4 y=y_*ns.x+ns.yyyy;vec4 h=1.0-abs(x)-abs(y);vec4 b0=vec4(x.xy,y.xy);vec4 b1=vec4(x.zw,y.zw);',
|
||||
'vec4 s0=floor(b0)*2.0+1.0;vec4 s1=floor(b1)*2.0+1.0;vec4 sh=-step(h,vec4(0.0));vec4 a0=b0.xzyw+s0.xzyw*sh.xxyy;vec4 a1=b1.xzyw+s1.xzyw*sh.zzww;',
|
||||
'vec3 p0=vec3(a0.xy,h.x);vec3 p1=vec3(a0.zw,h.y);vec3 p2=vec3(a1.xy,h.z);vec3 p3=vec3(a1.zw,h.w);',
|
||||
'vec4 nm=tis(vec4(dot(p0,p0),dot(p1,p1),dot(p2,p2),dot(p3,p3)));p0*=nm.x;p1*=nm.y;p2*=nm.z;p3*=nm.w;',
|
||||
'vec4 m=max(0.6-vec4(dot(x0,x0),dot(x1,x1),dot(x2,x2),dot(x3,x3)),0.0);m=m*m;',
|
||||
'return 42.0*dot(m*m,vec4(dot(p0,x0),dot(p1,x1),dot(p2,x2),dot(p3,x3)));}',
|
||||
'void main(){vec2 uv=gl_FragCoord.xy/uRes;vec2 q=vec2(uv.x*uRes.x/uRes.y,uv.y)*1.25+uMouse*0.09;float t=uTime*0.085;',
|
||||
'float n1=sn(vec3(q*0.85,t));float n2=sn(vec3(q*1.4+vec2(3.1,1.7),t*1.25));float n3=sn(vec3(q*0.6-vec2(5.2,2.3),t*0.8));float n4=sn(vec3(q*1.1+vec2(-2.7,4.4),t*1.1));',
|
||||
'vec3 pink=vec3(0.55,0.90,0.90);vec3 blue=vec3(0.58,0.72,1.0);vec3 mint=vec3(0.56,0.88,0.64);vec3 peach=vec3(1.0,0.86,0.48);vec3 lav=vec3(0.76,0.66,0.98);',
|
||||
'vec3 col=mix(pink,blue,smoothstep(-0.55,0.55,n1));col=mix(col,mint,smoothstep(0.05,0.85,n2)*0.85);',
|
||||
'col=mix(col,peach,smoothstep(0.15,0.9,n3)*0.75);col=mix(col,lav,smoothstep(0.2,0.95,n4)*0.7);col=mix(col,lav,0.28*uUni);',
|
||||
'float w=0.74+0.14*sn(vec3(q*0.45,t*0.6));col=mix(col,vec3(0.975,0.98,0.985),clamp(w,0.6,0.9));gl_FragColor=vec4(col,1.0);}'
|
||||
].join('');
|
||||
function sh(type, src) { var o = gl.createShader(type); gl.shaderSource(o, src); gl.compileShader(o); return gl.getShaderParameter(o, gl.COMPILE_STATUS) ? o : null; }
|
||||
var v = sh(gl.VERTEX_SHADER, VS), f = sh(gl.FRAGMENT_SHADER, FS);
|
||||
if (!v || !f) return;
|
||||
var prog = gl.createProgram(); gl.attachShader(prog, v); gl.attachShader(prog, f); gl.linkProgram(prog);
|
||||
if (!gl.getProgramParameter(prog, gl.LINK_STATUS)) return;
|
||||
gl.useProgram(prog);
|
||||
var buf = gl.createBuffer(); gl.bindBuffer(gl.ARRAY_BUFFER, buf);
|
||||
gl.bufferData(gl.ARRAY_BUFFER, new Float32Array([-1, -1, 3, -1, -1, 3]), gl.STATIC_DRAW);
|
||||
var loc = gl.getAttribLocation(prog, 'p'); gl.enableVertexAttribArray(loc); gl.vertexAttribPointer(loc, 2, gl.FLOAT, false, 0, 0);
|
||||
var uRes = gl.getUniformLocation(prog, 'uRes'), uTime = gl.getUniformLocation(prog, 'uTime'),
|
||||
uMouse = gl.getUniformLocation(prog, 'uMouse'), uUni = gl.getUniformLocation(prog, 'uUni');
|
||||
gl.uniform1f(uUni, 0);
|
||||
document.body.insertBefore(c, document.body.firstChild);
|
||||
document.documentElement.classList.add('jz-gl');
|
||||
var scale = window.innerWidth < 760 ? 0.25 : 0.18, t0 = performance.now(), last = 0;
|
||||
function resize() {
|
||||
var w = Math.max(16, Math.round(window.innerWidth * scale)), h = Math.max(16, Math.round(window.innerHeight * scale));
|
||||
c.width = w; c.height = h; gl.viewport(0, 0, w, h); gl.uniform2f(uRes, w, h); draw(performance.now());
|
||||
}
|
||||
function draw(now) {
|
||||
gl.uniform1f(uTime, (now - t0) / 1000 + 20);
|
||||
gl.uniform2f(uMouse, mouseX, -mouseY);
|
||||
gl.drawArrays(gl.TRIANGLES, 0, 3);
|
||||
}
|
||||
function loop(now) { requestAnimationFrame(loop); if (now - last < 33 || document.documentElement.classList.contains('rm')) return; last = now; draw(now); }
|
||||
resize();
|
||||
window.addEventListener('resize', function () { clearTimeout(c._rt); c._rt = setTimeout(resize, 150); });
|
||||
if (!reduce) requestAnimationFrame(loop);
|
||||
})();
|
||||
|
||||
/* ---------- 手机底栏:按当前板块高亮(只读 location.hash) ---------- */
|
||||
var bar = document.querySelector('.jz-tabbar'), sh = document.getElementById('jzMore'), btn = document.getElementById('jzMoreBtn');
|
||||
if (!bar || !sh || !btn) return;
|
||||
function board() { var m = /^#\/([\w-]+)/.exec(location.hash); return m ? m[1] : 'home'; }
|
||||
function mark() {
|
||||
var b = board();
|
||||
[].forEach.call(document.querySelectorAll('.jz-tabbar [data-b], .jz-more [data-b]'), function (a) {
|
||||
if (a.getAttribute('data-b') === b) a.setAttribute('aria-current', 'page'); else a.removeAttribute('aria-current');
|
||||
});
|
||||
}
|
||||
if (!document.querySelector('.jz-top')) { window.addEventListener('hashchange', mark); mark(); }
|
||||
|
||||
/* ---------- 「更多」:底栏按钮开/关,底栏保持可点;返回键、点空白、Esc 都能收起 ---------- */
|
||||
var pushed = false, timer;
|
||||
function isOpen() { return btn.getAttribute('aria-expanded') === 'true'; }
|
||||
function open(kb) {
|
||||
clearTimeout(timer); sh.hidden = false; btn.setAttribute('aria-expanded', 'true');
|
||||
requestAnimationFrame(function () { requestAnimationFrame(function () { sh.classList.add('open'); }); });
|
||||
if (kb) { var a = sh.querySelector('a'); if (a) a.focus(); }
|
||||
try { history.pushState({ jzMore: 1 }, ''); pushed = true; } catch (e) {}
|
||||
}
|
||||
function close(fromPop) {
|
||||
if (!isOpen()) return;
|
||||
sh.classList.remove('open'); btn.setAttribute('aria-expanded', 'false');
|
||||
timer = setTimeout(function () { sh.hidden = true; }, reduce ? 0 : 240);
|
||||
if (pushed) { pushed = false; if (!fromPop) history.back(); }
|
||||
}
|
||||
btn.addEventListener('click', function (e) { if (isOpen()) close(); else open(e.detail === 0); });
|
||||
sh.addEventListener('click', function (e) { if (e.target === sh) close(); });
|
||||
window.addEventListener('popstate', function () { if (pushed) { pushed = false; close(true); } });
|
||||
document.addEventListener('keydown', function (e) { if (e.key === 'Escape' && isOpen()) { close(); btn.focus(); } });
|
||||
/* 开着面板时点板块:替换掉多出来的那条历史再跳,返回键不用按两次 */
|
||||
document.addEventListener('click', function (e) {
|
||||
if (!pushed || e.defaultPrevented || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey) return;
|
||||
var a = e.target.closest && e.target.closest('a[href]');
|
||||
if (!a || !(sh.contains(a) || bar.contains(a))) return;
|
||||
e.preventDefault(); pushed = false;
|
||||
sh.classList.remove('open'); btn.setAttribute('aria-expanded', 'false'); sh.hidden = true;
|
||||
location.replace(a.href);
|
||||
});
|
||||
window.addEventListener('pageshow', function (e) {
|
||||
if (e.persisted && isOpen()) { pushed = false; sh.classList.remove('open'); sh.hidden = true; btn.setAttribute('aria-expanded', 'false'); }
|
||||
});
|
||||
})();
|
||||
</script>
|
||||
<!-- jz-2026:end -->
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,96 @@
|
||||
Fusion Pixel Font
|
||||
https://github.com/TakWolf/fusion-pixel-font
|
||||
|
||||
Copyright (c) 2022, TakWolf (https://takwolf.com).
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
https://openfontlicense.org
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
+424
-1116
File diff suppressed because it is too large
Load Diff
@@ -1,101 +1,81 @@
|
||||
# 交接说明 · 前端视觉重设计(redesign-2026)
|
||||
# 交接说明 · 金钻客栈 2026 视觉改版(白光藏色 × MC 方块)
|
||||
|
||||
## 一句话
|
||||
|
||||
两个页面都**只在 `</body>` 前追加了一个 `<style id="redesign-2026">` 覆盖块**,相对 `origin/main`(d1e34b7)是**纯新增、零删除**;
|
||||
**没有改 JS 业务逻辑、没有改接口路径/请求参数、没有改 HTML 文本和结构**。功能用自动化脚本对比原版逐项点过,未发现回归;需要后端的流程未验证(见第 4 节)。
|
||||
两个页面换成了**浅色的「白光藏色」+ Minecraft 方块风**:整体一眼是白的,颜色藏在亮部和流动的淡彩背景里;按钮是 MC Ore UI 那种方块按钮;标题换成像素字;手机端换成底部物品栏导航。
|
||||
**原有的 `<style>` 和 `<script>` 一字未改**(逐块比对过,见第 3 节);新东西全部放在两段带标记的新增块里,外加少量静态文案。
|
||||
上一轮的暗色覆盖块 `redesign-2026` 已整块删掉(金钻那边反馈不好看)。
|
||||
|
||||
## 仓库信息
|
||||
|
||||
- 仓库:`https://git.lingll.icu/public/jinzuanwork.git`
|
||||
- 分支:`main`
|
||||
- 样式提交:`8ee505f` style: 门户与下单页视觉重设计(精致暗色 + 宝石色)
|
||||
- 本说明所在的提交:紧跟在 `8ee505f` 之后的一个 docs 提交(提交自身的哈希无法写进自身,以 `git log` 为准)
|
||||
- 推送后 `git status`:干净(无未提交改动、无未跟踪文件)
|
||||
- 基线:已先 rebase 到你方最新的 `d1e34b7`(相对路径修复),无冲突
|
||||
- 提交:本说明所在的那个提交(提交自身的哈希写不进自身,以 `git log` 为准)
|
||||
- 推送后 `git status`:干净
|
||||
|
||||
## 1. 改了哪些文件
|
||||
|
||||
| 文件 | 改动 |
|
||||
|---|---|
|
||||
| `portal/index.html` | 第 5549–6671 行新增 `<style id="redesign-2026">`(+1121 行,0 删除) |
|
||||
| `order/index.html` | 第 4178–4752 行新增 `<style id="redesign-2026">`(+573 行,0 删除) |
|
||||
| `交接说明.md` | 新增(本文件) |
|
||||
| `portal/index.html` | 删除上一轮的 `<style id="redesign-2026">`;`</body>` 前新增 `<!-- jz-2026:start -->…<!-- jz-2026:end -->`(手机底栏 HTML + `<style id="jz-2026">` + `<script id="jz-2026-js">`);顶栏加一个「自助渲染」链接;部分静态文案改写(见第 2 节) |
|
||||
| `order/index.html` | 删除上一轮的 `<style id="redesign-2026">`;`<body>` 开头新增 `<!-- jz-2026-top:start -->…<!-- jz-2026-top:end -->`(跟门户一样的顶栏);`</body>` 前新增 `jz-2026` 块(底栏 + 样式 + 脚本);页头副标题一句改写 |
|
||||
| `portal/fonts/jz-pixel-12.woff2` | 新增:像素标题字体(缝合像素字体 12px,按两个页面实际用到的 1373 个字做了子集,41 KB) |
|
||||
| `portal/fonts/jz-pixel-OFL.txt` | 新增:上面字体的 SIL OFL 1.1 协议原文 |
|
||||
| `order/assets/jz-pixel-12.woff2`、`order/assets/jz-pixel-OFL.txt` | 同上,下单页用的一份(下单页的相对路径在 `order/assets/` 下) |
|
||||
| `交接说明.md` | 重写(本文件) |
|
||||
|
||||
**没有改**:`portal/assets/tokens.css`、`order/assets/tokens.css`、`order/skincheck.js`、`portal/dev/*`、`fonts/`、`icons/`、`exhibition/`、两份原有说明文档。
|
||||
**没有改**:`portal/assets/tokens.css`、`order/assets/tokens.css`、`order/skincheck.js`、`portal/dev/*`、`icons/`、`exhibition/`、OPPO Sans 字体、两份原有说明文档。
|
||||
|
||||
## 2. 做了什么
|
||||
|
||||
方向:**精致暗色 + 宝石色**(参考 Linear / Vercel 一类克制暗色站;强调色取自 logo 像素钻石:翡翠绿 `#3ecf8e` 为主,钻石青 `#7dd3e0`、金 `#e9c46a` 只做点缀)。
|
||||
### 全站
|
||||
- **配色**:把页面原来的颜色变量(`--bg`、`--txt*`、`--line*`、`--acc`、门户的 `--paper*`/`--moss`/`--brass-soft` 等)在新样式块里重新赋成浅色值,原来引用这些变量的规则自动变浅;少数写死了深色的地方(顶栏、机架抽屉、弹层、启动仪式等)单独覆盖。强调色换成 MC 草方块绿 `#3C8527`。
|
||||
- **背景**:白底 + 几团淡彩光;支持 WebGL 时换成缓慢流动的淡彩(低分辨率、30fps、标签页不可见时浏览器自动暂停;开了「减少动效」或系统 reduced-motion 就不动)。原来的网点 / 春意环境层 / 网格层用 CSS 隐藏(DOM 和脚本都还在)。
|
||||
- **按钮**:统一成 MC 方块按钮——绿色是主按钮,石头白是次按钮,按下会下沉;所有按钮一个样子。
|
||||
- **标题**:像素字(缝合像素字体);正文仍是 OPPO Sans。
|
||||
- **面板**:半透明白 + 白边 + 带一点颜色的柔影,不再用深色玻璃。
|
||||
- **英文装饰**(`BOARDS //`、`GALLERY //` 这类 kicker、`EXAMPLE.COM` 小字、时钟、`LINK // 已同步`)用 CSS 隐藏。
|
||||
|
||||
### 门户 portal
|
||||
### 门户 `portal/index.html`
|
||||
- 顶栏:logo + 像素字「金钻客栈」+ 板块导航(当前板块白底绿下划线)+ 右侧绿色「自助渲染」按钮(新增的静态链接 `/order/`)。「动效」「音」两个开关保留。
|
||||
- 首页首屏:一块淡彩「观景窗」,左边文案和按钮,右边钻石 + 一圈淡淡的彩虹环;去掉了遥测数字条和角标。
|
||||
- 首页五个板块卡:每块藏一种矿石色(画展金、工具蓝、宇宙紫、平台绿、关于红),悬停时边缘亮出来。
|
||||
- 工具与开源:**修了原版卡片三栏挤在一起、正文只剩一指宽的问题**——现在图标在左,正文占满,按钮放在正文下面。
|
||||
- 金钻宇宙:机架抽屉、特写弹窗、启动仪式都换成白底。
|
||||
- 手机端:顶栏只留 logo 和两个开关;底部一条 MC 物品栏式导航(首页 / 画展 / 渲染 / 宇宙 / 更多)。「更多」从底栏上方弹出一排格子(工具与开源 / 平台入口 / 关于 + QQ 群号),底栏一直可点;再点「更多」、点空白、返回键、Esc 都能收起。
|
||||
- 文案(只改静态 HTML 里的字,JS 渲染出来的内容一个没动):
|
||||
- 首屏:「欢迎光临」/「金钻的画、做的小工具、写的宇宙设定,还有各个平台的主页,都放在这儿了。随便逛逛。」/ 按钮「逛画展」「金钻宇宙」
|
||||
- 版块标题:「都有些什么」「画展」「工具与开源」「平台入口」「关于」,副标题改成一句人话
|
||||
- 关于:卡片小标题去掉英文;**新增一张「像素字体」鸣谢卡**(字体协议要求随附协议,顺带署名)
|
||||
- **署名没动**:「苏达 · 大肥鱼」保持原样(按金钻这边的要求,暂不改成「苏达 · 空枝」)
|
||||
|
||||
- **去噪**:`.kicker` / `.eyebrow` / `.sec-meta` / `.ro dt` / `.core-tag` / 顶部导航等「等宽 + 全大写 + 大字距」标签,统一改为常规无衬线、小号、淡灰;隐藏 `.core-hint`、`.core-bracket`(瞄准框角)等纯装饰。
|
||||
- **首屏重心**:H1 放大并紧字距,「客栈 / 宇宙」二字青绿渐变;钻石徽记外加柔和宝石色光晕;四个统计数字从格子框弱化为一行轻量数据;收紧首屏与「板块总览」之间的大块空白。
|
||||
- **背景**:隐藏网格/点阵层(`body::after`、`#bgBlur`、`#blockgrid`、`#halftone`、`.boot-grid`、`.v-grid`),只保留一层极淡径向氛围光。
|
||||
- **卡片与网格**:实色卡面 `#111316` + 1px 发丝边,圆角 14–16px,hover 轻微上浮;首页板块 5 张卡改为 3+2(「画展」主卡跨两列),关于页 5 张卡同样 3+2,不再有单张掉行。
|
||||
- **按钮**:主按钮实心翡翠绿 + 深色字,次按钮透明底 + 细边。
|
||||
- **画展**:筛选栏、左侧年份时间轴、底部说明统一新风格。
|
||||
- **金钻宇宙**:盘符机架结构、抽插/拖拽/回弹动效**原样保留**,只跟随新配色与字体层级。
|
||||
- **页脚**:改为与新风格一致的常规小号淡灰。
|
||||
- **手机端**:顶部 6 个导航改为 3×2 网格(原来最后一项「关于」被截一半);按钮在窄屏自动整行。
|
||||
|
||||
### 下单页 order
|
||||
|
||||
- 与门户统一底色、卡片、圆角、按钮与字体层级。
|
||||
- 步骤编号 `.num` 做成小圆形徽章;顶部进度条 `.prog` 加粗、当前段高亮。
|
||||
- 两个入口 `.entry` 做成可 hover 上浮的大卡。
|
||||
- 状态色保持可辨:正常/成功 翡翠绿、不足/警告 暖金、超出/失败 红。
|
||||
|
||||
### 顺手修的两个**原有**样式问题(都只是 CSS,在 redesign-2026 块内)
|
||||
|
||||
1. **手机端画展「更多 ▾」按钮永远不显示**:原 CSS 中第 951 行(手机端 `@media` 内)设了 `#fltMoreBtn{display:inline-flex}`,但第 1201 行有一条无条件的 `#fltMoreBtn{display:none}` 写在它后面,把它盖掉了 → 手机上「看过的在前 / 金钻制作 / 瀑布流 / 时间轴倒序」等筛选全部点不到。已在覆盖块末尾补 `@media (max-width:719px){ #fltMoreBtn{display:inline-flex} }`,实测手机上可展开、可点。
|
||||
2. **手机端下单页页头贴屏幕边**:原 `.hd{padding:15px 0 12px}` 左右为 0,标题和「渲染机离线」胶囊紧贴屏幕边缘。覆盖块内改为左右 16px,与下方卡片对齐。
|
||||
|
||||
### 对《设计思路(仅供参考)》的取舍
|
||||
|
||||
- **保留**:「内容浮在背景上」「层级靠亮度差」「单一强调色(翡翠绿)」「动效是反馈不是装饰」「手机优先」「状态显眼但不吓人」「尊重 prefers-reduced-motion」。
|
||||
- **改掉**:「终端感」——大量等宽大写字距标签、仪器网格、瞄准框角在实际页面里噪音过多、主次不清,所以大幅弱化或隐藏;改用留白、字号字重和容器层级来分层。
|
||||
- **小幅突破**:原思路说「不出彩色光环」,这次在钻石徽记外加了一圈很淡的青绿光晕作为首屏视觉锚点,强度克制;不想要的话删掉 `.home-core` 相关光晕规则即可。
|
||||
### 下单页 `order/index.html`
|
||||
- 顶部加了跟门户一样的顶栏(链接回 `/#/home` 等板块,「自助渲染」高亮为当前页);手机端是同一条底栏(「渲染」是当前格)和同一个「更多」面板。
|
||||
- 页头:钻石方块 + 像素标题「自助模板渲染」+ 一句话「传一张皮肤,选个模板,等一会儿就能拿到渲染图。」+ 一行小灰字显示渲染机状态(还是原来的 `#machTxt`,脚本照常更新)。
|
||||
- **四段进度条 `.prog` 用 CSS 隐藏了**(金钻那边觉得「渲染机在线 + 四个步骤」那一块难看);DOM 和 `body[data-step]` 逻辑都还在,以后想要回来删一行 CSS 即可。
|
||||
- 卡片、两条路入口、上传区、模板卡、分辨率、核对表、弹窗、toast 全部换成白底 + 方块按钮。
|
||||
|
||||
## 3. 没有动什么
|
||||
|
||||
- **没有改 JS 业务逻辑**,没有改任何 `<script>` 内容。
|
||||
- **没有改接口路径和请求参数**(实测下单页仍按原路径请求 `/order/api/payinfo`、`/order/api/gift`、`/order/api/status`,与原版一致)。
|
||||
- **没有改 HTML 文本、id、class、data-* 属性,没有删除任何元素。**
|
||||
- 占位值(`example.com`、`123456789`、`备案号(已移除)`、`(本机路径)`)保持原样。
|
||||
- **没有改 JS 业务逻辑、没有改接口路径 / 请求参数。** 用脚本把两个页面里所有原有的 `<script>` 块和 `<style>` 块跟基线 `d1e34b7` 逐块比对:**完全一致**(门户 5/5 个脚本、下单页 6/6 个脚本)。
|
||||
- 新增的 `<script id="jz-2026-js">` 是独立的:只画背景、管底栏和「更多」面板;只**读** `location.hash` 来高亮当前板块,不调用、不修改页面原有的任何函数和接口。
|
||||
- 占位值保持原样:`example.com`、`备案号(已移除)`、`(本机路径)` 次数跟原版一致;`123456789` 多出现了一次,是「更多」面板里那行 QQ 群号(同一个占位值)。
|
||||
- 新增 HTML 只有:门户顶栏的「自助渲染」链接、两页的底栏 / 更多面板、下单页顶栏。原有元素的 id / class 一个没改。
|
||||
|
||||
## 4. 怎么验证的
|
||||
|
||||
环境:服务器上用 `python3 -m http.server` 分别托管「原版(origin/main)」和「改版」,Playwright + Chromium 无头浏览器,**1440px 桌面宽**和 **390px 手机宽**各跑一遍**同一套点击脚本**,逐行对比输出;每次点击前先检测目标元素是否可见、是否被别的层遮挡(elementFromPoint 命中测试)。
|
||||
在服务器上用 `python3 -m http.server` 从包根目录起服务,Playwright(Chromium headless)实际打开、点击:
|
||||
|
||||
**结果:与原版一致,无回归**(仅有的差异是:① 弹窗/提示条 z-index 数值调高,不影响行为;② 手机端「更多」筛选从不可用变为可用,即上面修的原有问题)。
|
||||
|
||||
实际点过并通过的:
|
||||
|
||||
- **门户**:6 个导航切换板块与 hash 正确;首页 5 张板块卡可点并跳转;首屏 3 个按钮可点;「动效 / 音」开关 aria-pressed 正确翻转;画展「全部/图片/视频/特殊」筛选、「更多」、瀑布流切换、时间轴倒序、看过排序、按制作者筛选,筛选后「清除筛选」按钮出现(列数 +/- 与清除筛选本身未点);作品卡点开大图弹窗(关闭弹窗未单独验证);金钻宇宙 11 个盘符渲染,点击可抽出(open 状态);启动仪式遮罩约 3–8 秒后正常让出点击(与原版相同);12 个站外链接可点;关于页 5 张卡与署名原样。
|
||||
- **下单页**:卡密框打开/取消;「凭票取图」弹窗打开、按钮可点、取消关闭;「浏览器历史订单」弹窗;页脚「反馈」弹窗;「网页下单」进入第 1 步;勾选条款;上传测试皮肤 → 本地质检报告正常出现;臂型三选一;继续到第 2 步、7 个模板渲染、模板可选中;退回第 1 步。**未解锁的第 2–4 步仍然点不到**(`pointer-events:none` 锁定有效)。
|
||||
- **两页**:控制台 **0 个 JS 报错**;390px 下 5 个页面**均无横向滚动**。
|
||||
|
||||
**未验证**(本地没有后端,`/order/api/*` 全部 404):提交订单、查卡密、付款回执、进度轮询、下载/打包、确认收货、重渲、加皮肤、呼叫站长、领券等**需要后端返回数据的流程与对应状态 UI**(排队中/渲染中/完成/失败的样式)。这些状态的配色在 CSS 里保留了,但没有实际看到渲染出来的样子。
|
||||
|
||||
另:只在 Chromium 下测过,**未在 Safari / iOS / 微信内置浏览器实测**。
|
||||
- 门户六个板块(首页 / 画展 / 工具与开源 / 金钻宇宙 / 平台入口 / 关于)× 桌面 1440 与手机 390:截图逐张看过;**无 JS 报错、无横向滚动**。
|
||||
- 画展:点作品打开大图弹层 ✅(本地没有高清原图,弹层里会一直显示「正在加载」——脱敏副本本来就没有原图,不是样式问题)。
|
||||
- 金钻宇宙:启动仪式出现并可跳过 ✅;点抽屉展开 ✅;「抽取特写」打开盘芯弹窗 ✅。
|
||||
- 手机底栏:首页 → 画展切换、高亮跟着变 ✅;「更多」打开 / 再点收起 / 返回键收起 ✅;从「更多」进平台入口后按一次返回就回到画展(不会多一条历史)✅;下单页底栏「渲染」高亮、「更多」里链接回门户板块 ✅。
|
||||
- 下单页:落地页、「网页下单」展开四步、「卡密下单」输入框、「凭票取图」弹窗,桌面和手机都截图看过,无 JS 报错。
|
||||
- **未验证**:需要后端的流程(真实提交订单、付款、轮询进度、下载成品、呼叫站长、福利券等)——本地没有后端,下单页停在「渲染机离线」状态,只看了这些状态的样子。
|
||||
|
||||
## 5. 待确认 / 风险
|
||||
|
||||
1. **署名未改**:《给协作者的说明》要求把「制作者/鸣谢」补成「苏达 · 空枝」。本次**按委托方要求暂不改署名**,关于页保持原文「苏达 · 大肥鱼」,请你方自行决定后再改。
|
||||
2. **背景流态效果被关掉**:为去掉背景网格,隐藏了 `#bgBlur`、`#blockgrid`、`#halftone` 三个背景层,原首屏提示的「移动鼠标 · 背景流态」跟随鼠标效果因此不再可见(只是用 CSS 隐藏,相关 JS 未改;是否仍在后台计算未核实)。如需保留,删掉覆盖块里对这三个 id 的 `display:none` 即可。
|
||||
3. **大量 `!important`**:覆盖块为压过原有多层样式(`portal-shell` / `jz-unified` / `jz-1014` 等)用了较多 `!important`。后续若在原样式里继续调视觉,可能被覆盖块压住;建议以后视觉改动直接改 redesign-2026 块,或等稳定后把它合并回原样式。
|
||||
4. **文案里的「XXX // 中文」**(如「BOARDS // 01-05 内容板块」)是写在 HTML 里的文字,按约定没改文本,所以 `//` 还在,只是变淡变小了。要彻底去掉需要改文案。
|
||||
5. **字体**:下单页 `@font-face` 仍引用 `/fonts/OPPOSans-*.woff2`(绝对路径,你方上一提交未改到这里),在包内本地打开时会回落到系统字体;不影响本次样式,但与你方「相对路径」修复不一致,提醒一下。
|
||||
|
||||
## 6. 交付方式
|
||||
|
||||
- 保留原目录结构;只改了上面两个 HTML 并新增本说明。
|
||||
- 没有带入备份、截图、调试脚本、构建缓存、账号信息或任何密钥(截图与测试脚本都放在仓库外)。
|
||||
- 只推送到上面指定的仓库,没有镜像到其它位置。
|
||||
|
||||
## 附:怎么回退
|
||||
|
||||
- 只想撤掉视觉改动:删掉两个文件里的整个 `<style id="redesign-2026">…</style>` 块即可,页面恢复原样。
|
||||
- 或:`git revert 8ee505f`。
|
||||
- 下单页里的链接是**站点根路径**(`/#/home`、`/order/`),跟门户原来指向下单页的 `/order/` 一个写法;线上(门户在根目录)没问题,本地按「从包根目录起服务」打开时,下单页顶栏点「首页」会去到包根目录而不是 `portal/`。
|
||||
- 隐藏了四段进度条、遥测数字条、时钟和连接状态这些装饰;如果哪个其实有人在看,删掉对应那行 CSS 就能回来。
|
||||
- WebGL 背景在很老的手机上可能多耗一点电;拿不到 WebGL 时自动退回静态淡彩渐变。
|
||||
- 「署名」按金钻这边的意思暂时没改,协作说明里要求的「苏达 · 空枝」还没加,需要你们确认。
|
||||
|
||||
Reference in New Issue
Block a user