docs: 重画找物和草稿审核界面

This commit is contained in:
dongjf 2026-11-24 20:29:52 +08:00
parent 8541ff3b49
commit 5bacf73815
6 changed files with 384 additions and 262 deletions

View File

@ -4,11 +4,13 @@
## 界面方向稿
- [本地预览源文件](concept.html),用浏览器打开即可。H5 画了搜索和草稿核对,PC 画了列表和详情并排的方式。
- [本地预览](concept.html),用浏览器打开即可。移动网页展示找物和草稿审核,PC 展示位置目录、物品列表和详情。
- [H5 预览图](mobile-concept.png) · [PC 预览图](desktop-concept.png)
- [低保真原型](wireframes.md) · [产品需求](../product/requirements.md) · [测试用例](../testing/cases.md)
界面主色用深绿,背景用偏暖的白。主操作用实底按钮,待确认用文字和浅琥珀色标记,跳过的条目保留文字说明。移动端优先照顾拇指操作,PC 左侧用于导航和位置选择,详情留在同一屏。管理后台沿用标识和状态颜色,表格按可扫描性排版。
找物列表采用小图和完整位置路径,柜子、收纳盒等末级位置加重显示。PC 左侧保留位置树,查看和移位可以在当前物品的详情里开始。草稿把待处理的内容放到最前面,用户仍可展开原话核对。录入按钮靠近移动端底部,待确认、可录入和跳过都用文字标明。
深蓝用于导航,亮蓝用于主操作和选中状态,琥珀色用于待确认。管理后台沿用动作和状态颜色,表格根据实际字段定密度。可编辑稿由 [HTML](concept.html)、[样式](concept.css) 和[物品示例图](assets/item-catalog.png)组成。
## UI 定稿安排

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

208
docs/ui/concept.css Normal file
View File

@ -0,0 +1,208 @@
:root {
color-scheme: light;
--stage: #edf0f6;
--white: #fff;
--canvas: #f7f8fc;
--ink: #182036;
--sub: #586378;
--muted: #667286;
--line: #e1e6ef;
--navy: #182647;
--blue: #3154dc;
--blue-dark: #2442ba;
--pale-blue: #edf1ff;
--amber: #84511a;
--pale-amber: #fff4df;
--draft-green: #246047;
font: 15px/1.45 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
background: var(--stage);
color: var(--ink);
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
strong { font-weight: 680; }
.board { margin: 0 auto; padding: 37px 28px 40px; }
.mobile-board { max-width: 876px; }
.desktop-board { max-width: 1292px; }
.board-header { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 1px solid #d4dbe9; padding-bottom: 14px; margin-bottom: 20px; }
.board-header h1, .board-header h2 { font-size: 29px; font-weight: 740; line-height: 1.15; letter-spacing: -.045em; }
.board-header p { color: var(--sub); font-size: 13px; white-space: nowrap; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.preview-label { margin: 0 0 8px 2px; color: var(--sub); font-size: 12px; font-weight: 620; }
.phone {
display: flex; flex-direction: column; min-height: 638px;
overflow: hidden; border: 1px solid #dce2ee; border-radius: 20px;
background: var(--white); box-shadow: 0 13px 37px #17264710;
}
.phone-body { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.phone-nav, .desktop-sidebar { font-size: 13px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 730; letter-spacing: -.025em; white-space: nowrap; }
.brand-mark { position: relative; width: 26px; height: 26px; flex: 0 0 26px; border-radius: 8px; background: #b9c7ff; color: var(--navy); }
.brand-mark::before {
content: ""; position: absolute; inset: 6px;
background: currentColor; clip-path: polygon(0 0, 48% 0, 48% 34%, 66% 34%, 66% 0, 100% 0, 100% 70%, 66% 70%, 66% 100%, 0 100%);
}
.identity { display: inline-flex; gap: 6px; align-items: center; color: inherit; font-size: 12px; white-space: nowrap; }
.identity::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #aabaff; }
.phone-top { min-height: 57px; display: flex; align-items: center; justify-content: space-between; padding: 10px 18px; gap: 12px; }
.search-hero { padding-bottom: 19px; color: var(--white); background: var(--navy); }
.search-hero .phone-top { color: #eef1ff; }
.search-hero-body { padding: 12px 18px 0; }
.hero-title { margin-bottom: 12px; font-size: 31px; letter-spacing: -.06em; font-weight: 740; }
.search-box {
display: flex; align-items: center; gap: 10px; min-height: 42px;
padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px;
color: var(--sub); background: var(--white); font-size: 13px;
}
.search-box .query { color: var(--ink); font-size: 14px; margin-right: auto; font-weight: 620; }
.icon { position: relative; display: inline-block; flex: 0 0 auto; width: 16px; height: 16px; color: inherit; }
.i-search::before, .i-search::after, .i-chevron::before, .i-folder::before, .i-folder::after,
.i-pin::before, .i-pin::after, .i-plus::before, .i-plus::after, .i-grid::before, .i-pencil::before {
content: ""; position: absolute;
}
.i-search::before { width: 9px; height: 9px; top: 1px; left: 1px; border: 1.6px solid currentColor; border-radius: 50%; }
.i-search::after { top: 11px; left: 10px; width: 5px; height: 1.6px; background: currentColor; transform: rotate(45deg); transform-origin: left; }
.i-chevron::before { top: 5px; left: 4px; width: 5px; height: 5px; border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor; transform: rotate(45deg); }
.i-folder::before { inset: 5px 1px 2px; border: 1.5px solid currentColor; border-radius: 2px; }
.i-folder::after { width: 6px; height: 3px; top: 3px; left: 2px; border: solid currentColor; border-width: 1.5px 1.5px 0; border-radius: 2px 2px 0 0; }
.i-pin::before { width: 9px; height: 9px; left: 2px; top: 1px; border: 1.5px solid currentColor; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.i-pin::after { width: 3px; height: 3px; top: 5px; left: 6px; border-radius: 50%; background: currentColor; }
.i-plus::before, .i-plus::after { top: 7px; left: 2px; width: 12px; height: 1.5px; background: currentColor; }
.i-plus::after { transform: rotate(90deg); }
.i-grid::before { inset: 2px; background: currentColor; clip-path: polygon(0 0, 42% 0, 42% 42%, 58% 42%, 58% 0, 100% 0, 100% 42%, 58% 42%, 58% 58%, 100% 58%, 100% 100%, 58% 100%, 58% 58%, 42% 58%, 42% 100%, 0 100%, 0 58%, 42% 58%, 42% 42%, 0 42%); }
.i-pencil::before { top: 6px; left: 2px; width: 11px; height: 4px; border: 1.5px solid currentColor; border-radius: 1px; transform: rotate(-40deg); }
.i-star { font: 16px/1 system-ui, sans-serif; }
.room-filter { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 11px; font-size: 12px; }
.room-filter span { padding: 4px 9px; border: 1px solid #4d5c7e; color: #e0e6fb; border-radius: 6px; }
.room-filter .active { background: #f0f2ff; border-color: #f0f2ff; color: var(--navy); font-weight: 690; }
.phone-content { display: flex; flex: 1; flex-direction: column; padding: 15px 18px 17px; }
.section-heading, .action-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.section-heading { margin-bottom: 6px; }
.section-heading h3 { font-size: 15px; font-weight: 720; }
.count { color: var(--sub); font-size: 12px; white-space: nowrap; }
.record-list { list-style: none; margin: 0; padding: 0; }
.record {
display: grid; grid-template-columns: 49px minmax(0, 1fr) auto; gap: 11px; align-items: center;
min-height: 70px; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--sub);
}
.thumb {
display: inline-block; width: 49px; height: 49px; flex: 0 0 auto; border-radius: 9px;
background: #edf0f5 url("assets/item-catalog.png") no-repeat; background-size: 200% 200%;
}
.thumb.cable { background-position: left top; }
.thumb.ssd { background-position: right top; }
.thumb.reader { background-position: right bottom; }
.record-name { font-weight: 710; color: var(--ink); line-height: 1.35; overflow-wrap: anywhere; }
.record-qty { margin-left: 4px; color: var(--sub); font-size: 12px; font-weight: 540; white-space: nowrap; }
.path { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 4px; margin-top: 4px; color: var(--sub); font-size: 12px; line-height: 1.35; }
.path strong { color: var(--blue-dark); }
.path .sep { color: #7b879d; }
.action-bar { margin-top: auto; padding-top: 13px; }
.btn {
min-height: 44px; display: inline-flex; justify-content: center; align-items: center; gap: 6px;
padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--white);
font-size: 13px; font-weight: 670; color: var(--ink); text-align: center;
}
.btn.primary { background: var(--blue); border-color: var(--blue); color: var(--white); }
a.btn.primary:hover { background: var(--blue-dark); }
.btn.inactive { background: #e8ecf5; color: #54627c; border-color: #e8ecf5; }
.action-bar .btn { flex: 1; }
.phone-nav { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); color: var(--sub); }
.phone-nav > * { display: flex; min-height: 58px; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 11px; }
.phone-nav .current { color: var(--blue-dark); background: #f2f4ff; font-weight: 700; box-shadow: inset 0 2px var(--blue); }
.draft-top { border-bottom: 1px solid var(--line); }
.back { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; color: var(--blue-dark); font-size: 13px; font-weight: 650; }
.back .i-chevron { transform: rotate(180deg); }
.draft-content { padding-top: 14px; }
.draft-title { font-size: 28px; line-height: 1.2; letter-spacing: -.055em; font-weight: 740; }
.draft-summary { color: var(--sub); font-size: 12px; margin: 6px 0 12px; }
.source { padding: 8px 10px; background: var(--canvas); border: 1px solid var(--line); border-radius: 8px; }
.source summary { cursor: pointer; width: fit-content; color: var(--sub); font-size: 12px; font-weight: 630; }
.source p { margin-top: 5px; color: var(--ink); font-size: 12px; line-height: 1.55; }
.draft-records { margin-top: 12px; }
.draft-records .record { min-height: 59px; grid-template-columns: 35px minmax(0, 1fr) auto; gap: 8px; border-bottom: 0; padding: 6px 7px; }
.draft-dot {
display: grid; place-items: center; width: 29px; height: 29px;
border-radius: 50%; font-size: 15px; font-weight: 760;
}
.review .draft-dot { color: var(--amber); background: #f8e6bf; }
.ready .draft-dot { color: var(--draft-green); background: #e4f1e9; }
.skip .draft-dot { color: var(--sub); background: #edf0f5; }
.draft-records .record-name { font-size: 13px; }
.draft-records .path { font-size: 11px; margin-top: 3px; }
.draft-records .status { text-align: right; font-size: 11px; font-weight: 710; white-space: nowrap; }
.draft-records .review { margin-bottom: 3px; background: var(--pale-amber); border: 1px solid #f3ddaf; border-radius: 8px; }
.review .status { color: var(--amber); }
.ready .status { color: var(--draft-green); }
.skip .status { color: var(--sub); }
.draft-help { margin-top: 7px; color: var(--sub); font-size: 11px; }
.workbench {
min-height: 602px; display: grid; grid-template-columns: 193px minmax(0, 1fr);
overflow: hidden; border: 1px solid #d7e0ed; border-radius: 15px;
background: var(--white); box-shadow: 0 16px 44px #17264714;
}
.desktop-sidebar { background: var(--navy); color: #e9eeff; padding: 19px 13px 16px; }
.desktop-sidebar .brand { margin: 0 4px 19px; }
.household { display: flex; align-items: center; gap: 8px; border: 1px solid #4c5c80; border-radius: 8px; min-height: 40px; padding: 8px 10px; margin-bottom: 15px; color: #f2f5ff; }
.household .identity { font-size: 13px; font-weight: 610; }
.side-nav { margin: 0; padding: 0 0 14px; list-style: none; border-bottom: 1px solid #435473; }
.side-nav li { display: flex; align-items: center; gap: 9px; border-radius: 7px; margin: 1px 0; min-height: 36px; padding: 6px 10px; }
.side-nav .current { background: #324370; color: #fff; font-weight: 670; }
.tree-title { margin: 17px 0 8px 9px; color: #bdc9e8; font-size: 11px; }
.tree, .tree ul { list-style: none; padding: 0; margin: 0; }
.tree ul { margin-left: 17px; border-left: 1px solid #536488; }
.tree-label { display: flex; align-items: center; gap: 6px; padding: 6px 8px; min-height: 32px; }
.tree-label.selected { margin-left: 4px; background: #dfe7ff; color: #1e3471; border-radius: 5px; font-weight: 670; }
.workspace { min-width: 0; background: var(--canvas); }
.workspace-top { padding: 19px 22px 16px; border-bottom: 1px solid var(--line); background: var(--white); }
.breadcrumb, .location-path { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--sub); font-size: 12px; }
.breadcrumb .icon, .location-path .icon { width: 11px; }
.workspace-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.workspace-title h3 { font-size: 29px; line-height: 1.15; letter-spacing: -.05em; font-weight: 740; }
.workspace-body { display: grid; grid-template-columns: minmax(245px, .95fr) minmax(272px, 1fr); gap: 15px; padding: 17px 20px 20px; }
.collection { min-width: 0; }
.collection .search-box { margin-bottom: 12px; }
.collection .section-heading { margin-bottom: 6px; }
.collection .record { padding: 9px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.collection .record + .record { margin-top: 6px; }
.collection .record.selected { border-color: #a5b6fb; background: #f1f4ff; box-shadow: inset 3px 0 var(--blue); }
.detail { min-width: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--white); padding: 14px; align-self: start; }
.detail-header { display: flex; align-items: center; gap: 12px; margin-bottom: 13px; }
.detail-header .thumb { width: 87px; height: 87px; border-radius: 8px; }
.detail-header h3 { font-size: 22px; line-height: 1.25; letter-spacing: -.035em; overflow-wrap: anywhere; margin-bottom: 4px; }
.detail-header p { font-size: 12px; color: var(--sub); }
.location-box { display: grid; gap: 7px; border-radius: 8px; background: var(--pale-blue); padding: 11px; }
.location-box .title { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 670; color: var(--blue-dark); }
.location-box .location-path { color: var(--ink); }
.location-path strong { color: var(--blue-dark); }
.location-box .btn { justify-self: start; min-height: 32px; font-size: 12px; padding: 3px 9px; color: var(--blue-dark); border-color: #c7d3fd; }
.detail-row { padding: 10px 0 9px; border-bottom: 1px solid var(--line); }
.detail-row:last-child { border-bottom: 0; padding-bottom: 0; }
.detail-row dt { color: var(--sub); font-size: 11px; margin-bottom: 4px; }
.detail-row dd { font-size: 13px; }
.detail-row .secondary-text { color: var(--sub); font-size: 11px; }
.stars { color: var(--blue-dark); letter-spacing: 1px; margin-right: 6px; }
@media (max-width: 820px) {
.workbench { grid-template-columns: 158px minmax(0, 1fr); }
.workspace-body { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
.board { padding: 22px 13px 28px; }
.board-header h1, .board-header h2 { font-size: 25px; }
.pair { grid-template-columns: minmax(0, 410px); justify-content: center; }
.workbench { grid-template-columns: minmax(0, 1fr); }
.desktop-sidebar { padding: 13px; }
.desktop-sidebar .brand { margin-bottom: 9px; }
.desktop-sidebar .household { margin-bottom: 8px; }
.side-nav { display: flex; flex-wrap: wrap; gap: 5px; padding-bottom: 7px; }
.tree-title { margin-top: 8px; }
.workspace-top { padding: 14px; }
.workspace-body { padding: 12px; }
}
@media (max-width: 360px) {
.phone-top, .phone-content, .search-hero-body { padding-left: 12px; padding-right: 12px; }
.room-filter span { padding: 4px 6px; }
.detail-header .thumb { width: 63px; height: 63px; }
}

View File

@ -4,290 +4,202 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Item Atlas · 界面方向稿</title>
<style>
:root {
color-scheme: light;
--surface: #ffffff;
--paper: #faf9f5;
--board: #efeee8;
--ink: #192922;
--muted: #526059;
--accent: #245443;
--accent-hover: #1d4436;
--green-wash: #e9f1ea;
--line: #dfe4dc;
--amber: #815008;
--amber-wash: #fcf0d8;
font: 15px/1.45 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft Yahei", sans-serif;
color: var(--ink);
background: var(--board);
}
* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.artboard { padding: 42px 36px 44px; margin: 0 auto; }
.mobile-artboard { max-width: 886px; }
.desktop-artboard { max-width: 1292px; }
.board-title { margin-bottom: 23px; }
.board-title h1 { font-size: 26px; letter-spacing: -.025em; }
.board-title p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.mobile-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.screen-label { font-size: 13px; color: var(--muted); margin: 0 0 9px 6px; }
.product { background: var(--paper); border: 1px solid #d7ddd3; }
.phone { display: flex; flex-direction: column; min-height: 586px; border-radius: 20px; overflow: hidden; }
.phone-bar {
display: flex; justify-content: space-between; align-items: center;
min-height: 63px; padding: 8px 18px; border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 730; letter-spacing: -.02em; }
.brand-mark {
display: grid; grid-template-columns: repeat(2, 5px); grid-template-rows: repeat(2, 5px);
place-content: center; gap: 3px; width: 25px; height: 25px;
background: var(--accent); border-radius: 7px;
}
.brand-mark i { background: #fff; border-radius: 1px; }
.brand-mark i:last-child { opacity: .56; }
.home-name { color: var(--muted); font-size: 13px; white-space: nowrap; }
.phone-content { padding: 20px 18px; flex: 1; }
.page-title { font-size: 25px; letter-spacing: -.025em; font-weight: 720; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.search {
display: flex; align-items: center; gap: 10px; min-height: 46px;
background: var(--surface); border: 1px solid #cbd7cc; border-radius: 9px; padding: 8px 12px;
font-weight: 550;
}
.search-icon { width: 13px; height: 13px; border: 1.8px solid var(--accent); border-radius: 50%; position: relative; margin-right: 2px; flex: 0 0 13px; }
.search-icon::after { content: ""; width: 6px; height: 1.8px; background: var(--accent); position: absolute; top: 9px; left: 8px; transform: rotate(45deg); transform-origin: left; }
.small-label { font-size: 12px; color: var(--muted); }
.search-meta { margin: 20px 0 8px; }
.item-list { display: grid; gap: 8px; }
.item-row {
display: grid; grid-template-columns: 37px minmax(0, 1fr) auto; align-items: center; gap: 11px;
border: 1px solid var(--line); border-radius: 10px; min-height: 73px; padding: 10px 11px;
background: var(--surface);
}
.item-glyph {
background: var(--green-wash); color: var(--accent); width: 37px; height: 37px;
border-radius: 8px; display: grid; place-content: center; font-size: 11px; font-weight: 780;
}
.item-name { font-weight: 690; font-size: 15px; line-height: 1.3; }
.item-path { font-size: 12px; color: var(--muted); margin-top: 4px; }
.quantity { margin-left: 5px; color: var(--muted); font-weight: 520; white-space: nowrap; }
.chevron { font-size: 17px; color: var(--muted); padding-right: 1px; }
.action-row { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.button {
min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
border-radius: 8px; padding: 7px 12px; font-size: 13px; font-weight: 650;
}
.button.primary { color: #fff; background: var(--accent); border: 1px solid var(--accent); }
a.button.primary:hover { background: var(--accent-hover); }
.button.secondary { color: var(--accent); background: var(--surface); border: 1px solid #c9d7cc; }
.button.pending { background: #e6e9e1; color: #4f5d55; border: 1px solid #e6e9e1; }
.phone-nav { min-height: 51px; display: flex; border-top: 1px solid var(--line); background: var(--surface); }
.phone-nav > * { display: grid; place-content: center; flex: 1; color: var(--muted); font-size: 13px; }
.phone-nav .active { color: var(--accent); font-weight: 700; box-shadow: inset 0 2px 0 var(--accent); }
.draft-input { margin-bottom: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 11px 12px; }
.draft-input p + p { margin-top: 4px; font-size: 13px; line-height: 1.6; }
.draft-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0 0 8px; }
.draft-head h3 { font-size: 14px; }
.draft-list { display: grid; gap: 7px; }
.draft-row {
display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px;
min-height: 55px; background: var(--surface); border: 1px solid var(--line);
border-radius: 9px; padding: 8px 11px;
}
.draft-row.needs-review { background: #fffbf1; border-color: #ebd6aa; }
.draft-row .item-name { font-size: 14px; }
.row-text { color: var(--accent); font-size: 12px; font-weight: 650; white-space: nowrap; }
.row-text.skip { color: var(--muted); }
.row-text.review { color: var(--amber); }
.draft-actions .button { flex: 1; }
.desktop-surface {
display: grid; grid-template-columns: 186px minmax(0, 1fr); min-height: 530px;
border-radius: 13px; overflow: hidden;
}
.desktop-menu { padding: 21px 15px; border-right: 1px solid var(--line); background: #f1f3ed; }
.desktop-menu .brand { margin: 0 0 27px 5px; }
.desktop-menu .home-name { display: block; margin: 0 0 10px 5px; }
.menu-list { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; }
.menu-list li { padding: 8px 10px; border-radius: 7px; color: var(--muted); }
.menu-list li.active { font-weight: 700; background: var(--green-wash); color: var(--accent); }
.desktop-content { min-width: 0; padding: 23px; }
.desktop-columns { display: grid; grid-template-columns: minmax(210px, .93fr) minmax(225px, 1fr); gap: 18px; }
.results, .detail { min-width: 0; }
.results .search-meta { margin-top: 15px; }
.selected { background: #f1f6f0; border-color: #9bb7a6; }
.detail { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.detail .page-head { margin-bottom: 12px; }
.detail h3 { font-size: 20px; }
.detail-place { display: grid; gap: 4px; background: var(--green-wash); border-radius: 7px; padding: 11px 12px; }
.detail-place p:last-child { font-weight: 670; }
.detail-group { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); }
.detail-group:last-child { border-bottom: 0; padding-bottom: 0; }
.detail-group dt { font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.detail-group dd { margin: 0; font-size: 14px; }
.stars { color: var(--accent); letter-spacing: 2px; margin-right: 6px; }
@media (max-width: 760px) {
.mobile-pair { grid-template-columns: minmax(0, 388px); justify-content: center; }
.desktop-surface { grid-template-columns: minmax(0, 1fr); }
.desktop-menu { border-right: 0; border-bottom: 1px solid var(--line); }
.desktop-menu .brand { margin-bottom: 10px; }
.menu-list { display: flex; flex-wrap: wrap; }
.desktop-columns { grid-template-columns: minmax(0, 1fr); }
.artboard { padding: 25px 15px 27px; }
}
@media (prefers-reduced-motion: no-preference) {
.button { transition: background-color .14s ease; }
}
</style>
<link rel="stylesheet" href="concept.css">
</head>
<body>
<main>
<section id="mobile" class="artboard mobile-artboard" aria-labelledby="mobile-title">
<header class="board-title">
<h1 id="mobile-title">Item Atlas · 移动网页</h1>
<p>找物与批量录入</p>
<section id="mobile" class="board mobile-board" aria-labelledby="mobile-title">
<header class="board-header">
<h1 id="mobile-title">Item Atlas</h1>
<p>移动网页 · 界面走查</p>
</header>
<div class="mobile-pair">
<section id="mobile-search" aria-labelledby="mobile-search-label">
<h2 id="mobile-search-label" class="screen-label">找物 · 搜索结果</h2>
<div class="product phone">
<header class="phone-bar">
<div class="brand"><span class="brand-mark" aria-hidden="true"><i></i><i></i><i></i><i></i></span>Item Atlas</div>
<span class="home-name">我家</span>
</header>
<div class="phone-content">
<header class="page-head"><h3 class="page-title">找东西</h3></header>
<div class="search"><span class="search-icon" aria-hidden="true"></span>视频线</div>
<p class="small-label search-meta">搜索结果 · 2 件</p>
<div class="item-list">
<article class="item-row">
<span class="item-glyph" aria-hidden="true">HD</span>
<div>
<p class="item-name">HDMI 线<span class="quantity">×2</span></p>
<p class="item-path">书房 / 书桌 / 右抽屉</p>
<div class="pair">
<section id="mobile-search" aria-labelledby="search-label">
<h2 id="search-label" class="preview-label">找物</h2>
<div class="phone">
<div class="phone-body">
<header class="search-hero">
<div class="phone-top">
<span class="brand"><i class="brand-mark" aria-hidden="true"></i>Item Atlas</span>
<span class="identity">我家</span>
</div>
<div class="search-hero-body">
<h3 class="hero-title">找东西</h3>
<div class="search-box"><i class="icon i-search" aria-hidden="true"></i><span class="query">书房</span></div>
<div class="room-filter" aria-label="位置筛选示例">
<span class="active">全部位置</span><span>书房</span><span>客厅</span><span>玄关</span>
</div>
<span class="chevron" aria-hidden="true">›</span>
</article>
<article class="item-row">
<span class="item-glyph" aria-hidden="true">DP</span>
<div>
<p class="item-name">DisplayPort 线</p>
<p class="item-path">客厅 / 电视柜 / 左边收纳盒</p>
</div>
<span class="chevron" aria-hidden="true">›</span>
</article>
</div>
<div class="action-row">
<span class="button secondary">记一件</span>
<a class="button primary" href="#mobile-intake">批量记</a>
</div>
</header>
<div class="phone-content">
<div class="section-heading"><h3>搜索结果</h3><span class="count">3 条记录</span></div>
<ul class="record-list">
<li class="record">
<span class="thumb ssd" aria-hidden="true"></span>
<div>
<p class="record-name">外接固态硬盘</p>
<p class="path"><span>书房 <span class="sep">/</span> 书桌 <span class="sep">/</span></span> <strong>右抽屉</strong></p>
</div>
<i class="icon i-chevron" aria-hidden="true"></i>
</li>
<li class="record">
<span class="thumb cable" aria-hidden="true"></span>
<div>
<p class="record-name">HDMI 线 <span class="record-qty">×2</span></p>
<p class="path"><span>书房 <span class="sep">/</span> 书桌 <span class="sep">/</span></span> <strong>右抽屉</strong></p>
</div>
<i class="icon i-chevron" aria-hidden="true"></i>
</li>
<li class="record">
<span class="thumb reader" aria-hidden="true"></span>
<div>
<p class="record-name">USB-C 读卡器</p>
<p class="path"><span>书房 <span class="sep">/</span> 书柜 <span class="sep">/</span></span> <strong>白盒</strong></p>
</div>
<i class="icon i-chevron" aria-hidden="true"></i>
</li>
</ul>
<div class="action-bar">
<span class="btn"><i class="icon i-plus" aria-hidden="true"></i>记一件</span>
<a class="btn primary" href="#mobile-intake">批量记</a>
</div>
</div>
</div>
<nav class="phone-nav" aria-label="找物页导航">
<span class="active" aria-current="page">找物</span>
<span>位置</span>
<a href="#mobile-intake">录入</a>
<span>收藏</span>
<nav class="phone-nav" aria-label="找物界面导航">
<span class="current" aria-current="page"><i class="icon i-search" aria-hidden="true"></i>找物</span>
<span><i class="icon i-pin" aria-hidden="true"></i>位置</span>
<a href="#mobile-intake"><i class="icon i-pencil" aria-hidden="true"></i>录入</a>
<span><i class="icon i-star" aria-hidden="true">☆</i>收藏</span>
</nav>
</div>
</section>
<section id="mobile-intake" aria-labelledby="mobile-intake-label">
<h2 id="mobile-intake-label" class="screen-label">录入 · 核对草稿</h2>
<div class="product phone">
<header class="phone-bar">
<div class="brand"><span class="brand-mark" aria-hidden="true"><i></i><i></i><i></i><i></i></span>Item Atlas</div>
<span class="home-name">我家</span>
</header>
<div class="phone-content">
<header class="page-head"><h3 class="page-title">核对草稿</h3></header>
<div class="draft-input">
<p class="small-label">原始输入</p>
<p>两根 HDMI 线放书房右抽屉。读卡器先别动。备用钥匙好像在玄关白盒。</p>
</div>
<header class="draft-head"><h3>识别结果</h3><span class="small-label">1 项待确认</span></header>
<div class="draft-list">
<article class="draft-row">
<div><p class="item-name">HDMI 线<span class="quantity">×2</span></p><p class="item-path">书房 / 书桌 / 右抽屉</p></div>
<span class="row-text">修改</span>
</article>
<article class="draft-row">
<div><p class="item-name">读卡器</p><p class="item-path">按原话保留在原处</p></div>
<span class="row-text skip">跳过</span>
</article>
<article class="draft-row needs-review">
<div><p class="item-name">备用钥匙</p><p class="item-path">可能在 玄关 / 白盒</p></div>
<span class="row-text review">选择位置</span>
</article>
</div>
<div class="action-row draft-actions">
<span class="button secondary">手工录入</span>
<span class="button pending" aria-disabled="true">确认并提交</span>
<section id="mobile-intake" aria-labelledby="intake-label">
<h2 id="intake-label" class="preview-label">草稿审核</h2>
<div class="phone">
<div class="phone-body">
<header class="phone-top draft-top">
<a class="back" href="#mobile-search"><i class="icon i-chevron" aria-hidden="true"></i>找物</a>
<span class="identity">我家</span>
</header>
<div class="phone-content draft-content">
<h3 class="draft-title">核对录入</h3>
<p class="draft-summary">1 项待确认 · 1 项可录入 · 1 项跳过</p>
<details class="source" open>
<summary>原始输入</summary>
<p>两根 HDMI 线放书房右抽屉。读卡器先别动。备用钥匙好像在玄关白盒。</p>
</details>
<ul class="record-list draft-records">
<li class="record review">
<span class="draft-dot" aria-hidden="true">!</span>
<div><p class="record-name">备用钥匙</p><p class="path">可能在玄关 / 白盒</p></div>
<span class="status">选择位置</span>
</li>
<li class="record ready">
<span class="draft-dot" aria-hidden="true">✓</span>
<div><p class="record-name">HDMI 线 <span class="record-qty">×2</span></p><p class="path">书房 / 书桌 / <strong>右抽屉</strong></p></div>
<span class="status">可录入</span>
</li>
<li class="record skip">
<span class="draft-dot" aria-hidden="true">—</span>
<div><p class="record-name">读卡器</p><p class="path">保留在原处</p></div>
<span class="status">已跳过</span>
</li>
</ul>
<p class="draft-help">先选定钥匙的位置,或将它从本次录入移除。</p>
<div class="action-bar">
<span class="btn">手工录入</span>
<span class="btn inactive" aria-disabled="true">确认并提交</span>
</div>
</div>
</div>
<nav class="phone-nav" aria-label="录入页导航">
<a href="#mobile-search">找物</a>
<span>位置</span>
<span class="active" aria-current="page">录入</span>
<span>收藏</span>
<nav class="phone-nav" aria-label="录入界面导航">
<a href="#mobile-search"><i class="icon i-search" aria-hidden="true"></i>找物</a>
<span><i class="icon i-pin" aria-hidden="true"></i>位置</span>
<span class="current" aria-current="page"><i class="icon i-pencil" aria-hidden="true"></i>录入</span>
<span><i class="icon i-star" aria-hidden="true">☆</i>收藏</span>
</nav>
</div>
</section>
</div>
</section>
<section id="desktop" class="artboard desktop-artboard" aria-labelledby="desktop-title">
<header class="board-title">
<h2 id="desktop-title" style="font-size:26px;letter-spacing:-.025em">Item Atlas · PC 网页</h2>
<p>找物列表与物品详情</p>
<section id="desktop" class="board desktop-board" aria-labelledby="desktop-title">
<header class="board-header">
<h2 id="desktop-title">Item Atlas</h2>
<p>PC 网页 · 物品工作台</p>
</header>
<div class="product desktop-surface">
<aside class="desktop-menu">
<div class="brand"><span class="brand-mark" aria-hidden="true"><i></i><i></i><i></i><i></i></span>Item Atlas</div>
<span class="home-name">我家</span>
<ul class="menu-list">
<li class="active">找物</li>
<li>位置</li>
<li>录入草稿</li>
<li>我的收藏</li>
<div class="workbench">
<aside class="desktop-sidebar" aria-label="家庭和位置">
<span class="brand"><i class="brand-mark" aria-hidden="true"></i>Item Atlas</span>
<div class="household"><span class="identity">我家</span></div>
<ul class="side-nav">
<li class="current"><i class="icon i-grid" aria-hidden="true"></i>物品</li>
<li><i class="icon i-pencil" aria-hidden="true"></i>录入草稿</li>
<li><i class="icon i-star" aria-hidden="true">☆</i>收藏</li>
</ul>
<h3 class="tree-title">位置</h3>
<ul class="tree">
<li><span class="tree-label"><i class="icon i-folder" aria-hidden="true"></i>书房</span>
<ul>
<li><span class="tree-label">书桌</span>
<ul><li><span class="tree-label selected">右抽屉</span></li></ul>
</li>
<li><span class="tree-label">书柜</span></li>
</ul>
</li>
<li><span class="tree-label"><i class="icon i-folder" aria-hidden="true"></i>客厅</span></li>
<li><span class="tree-label"><i class="icon i-folder" aria-hidden="true"></i>玄关</span></li>
</ul>
</aside>
<div class="desktop-content">
<header class="page-head">
<h3 class="page-title">找东西</h3>
<span class="button primary">+ 记一件</span>
</header>
<div class="desktop-columns">
<div class="results">
<div class="search"><span class="search-icon" aria-hidden="true"></span>视频线</div>
<p class="small-label search-meta">搜索结果 · 2 件</p>
<div class="item-list">
<article class="item-row selected">
<span class="item-glyph" aria-hidden="true">HD</span>
<div><p class="item-name">HDMI 线<span class="quantity">×2</span></p><p class="item-path">书房 / 书桌 / 右抽屉</p></div>
<span class="chevron" aria-hidden="true">›</span>
</article>
<article class="item-row">
<span class="item-glyph" aria-hidden="true">DP</span>
<div><p class="item-name">DisplayPort 线</p><p class="item-path">客厅 / 电视柜 / 左边收纳盒</p></div>
<span class="chevron" aria-hidden="true">›</span>
</article>
</div>
<div class="workspace">
<header class="workspace-top">
<div class="breadcrumb">
<span>位置</span><i class="icon i-chevron" aria-hidden="true"></i>
<span>书房</span><i class="icon i-chevron" aria-hidden="true"></i><span>书桌</span>
</div>
<section class="detail" aria-labelledby="detail-name">
<header class="page-head">
<h3 id="detail-name">HDMI 线<span class="quantity">×2</span></h3>
<span class="button secondary">移位</span>
<div class="workspace-title">
<h3>右抽屉</h3>
<span class="btn primary"><i class="icon i-plus" aria-hidden="true"></i>记一件</span>
</div>
</header>
<div class="workspace-body">
<section class="collection" aria-labelledby="collection-title">
<div class="search-box"><i class="icon i-search" aria-hidden="true"></i><span>在右抽屉里搜索</span></div>
<div class="section-heading"><h3 id="collection-title">物品</h3><span class="count">2 条记录</span></div>
<ul class="record-list">
<li class="record selected">
<span class="thumb ssd" aria-hidden="true"></span>
<div><p class="record-name">外接固态硬盘</p><p class="path">别名:移动硬盘</p></div>
<i class="icon i-chevron" aria-hidden="true"></i>
</li>
<li class="record">
<span class="thumb cable" aria-hidden="true"></span>
<div><p class="record-name">HDMI 线 <span class="record-qty">×2</span></p><p class="path">别名:视频线</p></div>
<i class="icon i-chevron" aria-hidden="true"></i>
</li>
</ul>
</section>
<section class="detail" aria-labelledby="detail-title">
<header class="detail-header">
<span class="thumb ssd" aria-hidden="true"></span>
<div><h3 id="detail-title">外接固态硬盘</h3><p>别名:移动硬盘 · 数量 1</p></div>
</header>
<div class="detail-place">
<p class="small-label">当前位置</p>
<p>书房 / 书桌 / 右抽屉</p>
<div class="location-box">
<p class="title"><i class="icon i-pin" aria-hidden="true"></i>当前位置</p>
<p class="location-path">
<span>书房</span><i class="icon i-chevron" aria-hidden="true"></i>
<span>书桌</span><i class="icon i-chevron" aria-hidden="true"></i><strong>右抽屉</strong>
</p>
<span class="btn">移位</span>
</div>
<dl class="detail-group"><dt>别名</dt><dd>视频线</dd></dl>
<dl class="detail-group"><dt>关联物品</dt><dd>HDMI 转接头 <span class="item-path">· 玄关 / 白盒</span></dd></dl>
<dl class="detail-group"><dt>上一次移位</dt><dd>客厅 / 电视柜 → 书房 / 书桌 / 右抽屉</dd></dl>
<dl class="detail-group"><dt>我的使用记录</dt><dd><span class="stars" aria-label="4 星">★★★★☆</span>已收藏</dd></dl>
<dl>
<div class="detail-row"><dt>关联物品</dt><dd>短数据线 <span class="secondary-text">· 玄关 / 白盒</span></dd></div>
<div class="detail-row"><dt>上一次移位</dt><dd>客厅 / 电视柜 → 书房 / 书桌 / 右抽屉</dd></div>
<div class="detail-row"><dt>我的使用记录</dt><dd><span class="stars" aria-label="4 星">★★★★☆</span>已收藏</dd></div>
</dl>
</section>
</div>
</div>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 141 KiB

After

Width:  |  Height:  |  Size: 243 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 175 KiB

After

Width:  |  Height:  |  Size: 257 KiB