Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1903daafc3 | ||
|
|
8ee505f082 |
@@ -4175,5 +4175,578 @@ document.addEventListener('touchmove',function(e){
|
|||||||
window.addEventListener('blur',function(){ if(drag) onUp({}); });
|
window.addEventListener('blur',function(){ if(drag) onUp({}); });
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
|
<style id="redesign-2026">
|
||||||
|
/* ==========================================================================
|
||||||
|
2026 视觉重设计:精致暗色 + 宝石色 (Linear / Vercel / Raycast 克制高级暗色风格)
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
/* ---- 0. 全局设计变量与调色板 ---- */
|
||||||
|
: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;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ---- 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;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 背景顶光微调 */
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 彻底去除背景网点与多余网格 */
|
||||||
|
#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;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ---- 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;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 顶部进度条更明显: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;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ---- 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;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 步骤编号做成小圆形徽章 */
|
||||||
|
.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;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ---- 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;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 细条入口 */
|
||||||
|
.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;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ---- 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;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ---- 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;
|
||||||
|
}
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
+1121
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,101 @@
|
|||||||
|
# 交接说明 · 前端视觉重设计(redesign-2026)
|
||||||
|
|
||||||
|
## 一句话
|
||||||
|
|
||||||
|
两个页面都**只在 `</body>` 前追加了一个 `<style id="redesign-2026">` 覆盖块**,相对 `origin/main`(d1e34b7)是**纯新增、零删除**;
|
||||||
|
**没有改 JS 业务逻辑、没有改接口路径/请求参数、没有改 HTML 文本和结构**。功能用自动化脚本对比原版逐项点过,未发现回归;需要后端的流程未验证(见第 4 节)。
|
||||||
|
|
||||||
|
## 仓库信息
|
||||||
|
|
||||||
|
- 仓库:`https://git.lingll.icu/public/jinzuanwork.git`
|
||||||
|
- 分支:`main`
|
||||||
|
- 样式提交:`8ee505f` style: 门户与下单页视觉重设计(精致暗色 + 宝石色)
|
||||||
|
- 本说明所在的提交:紧跟在 `8ee505f` 之后的一个 docs 提交(提交自身的哈希无法写进自身,以 `git log` 为准)
|
||||||
|
- 推送后 `git status`:干净(无未提交改动、无未跟踪文件)
|
||||||
|
- 基线:已先 rebase 到你方最新的 `d1e34b7`(相对路径修复),无冲突
|
||||||
|
|
||||||
|
## 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/assets/tokens.css`、`order/assets/tokens.css`、`order/skincheck.js`、`portal/dev/*`、`fonts/`、`icons/`、`exhibition/`、两份原有说明文档。
|
||||||
|
|
||||||
|
## 2. 做了什么
|
||||||
|
|
||||||
|
方向:**精致暗色 + 宝石色**(参考 Linear / Vercel 一类克制暗色站;强调色取自 logo 像素钻石:翡翠绿 `#3ecf8e` 为主,钻石青 `#7dd3e0`、金 `#e9c46a` 只做点缀)。
|
||||||
|
|
||||||
|
### 门户 portal
|
||||||
|
|
||||||
|
- **去噪**:`.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` 相关光晕规则即可。
|
||||||
|
|
||||||
|
## 3. 没有动什么
|
||||||
|
|
||||||
|
- **没有改 JS 业务逻辑**,没有改任何 `<script>` 内容。
|
||||||
|
- **没有改接口路径和请求参数**(实测下单页仍按原路径请求 `/order/api/payinfo`、`/order/api/gift`、`/order/api/status`,与原版一致)。
|
||||||
|
- **没有改 HTML 文本、id、class、data-* 属性,没有删除任何元素。**
|
||||||
|
- 占位值(`example.com`、`123456789`、`备案号(已移除)`、`(本机路径)`)保持原样。
|
||||||
|
|
||||||
|
## 4. 怎么验证的
|
||||||
|
|
||||||
|
环境:服务器上用 `python3 -m http.server` 分别托管「原版(origin/main)」和「改版」,Playwright + Chromium 无头浏览器,**1440px 桌面宽**和 **390px 手机宽**各跑一遍**同一套点击脚本**,逐行对比输出;每次点击前先检测目标元素是否可见、是否被别的层遮挡(elementFromPoint 命中测试)。
|
||||||
|
|
||||||
|
**结果:与原版一致,无回归**(仅有的差异是:① 弹窗/提示条 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 / 微信内置浏览器实测**。
|
||||||
|
|
||||||
|
## 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`。
|
||||||
Reference in New Issue
Block a user