{
  "_description": "本文件由 data/ 生成：请改动来源文件，不要改这里。各字段的证据边界见接入指南。",
  "schemaVersion": "1.0.0",
  "kind": "entry",
  "locale": "zh-CN",
  "id": "master-detail",
  "name": {
    "zh": "主从布局",
    "en": "Master–Detail"
  },
  "page": "https://designvocabulary.com/zh/entries/master-detail/",
  "self": "https://designvocabulary.com/zh/entries/master-detail.json",
  "alternates": {
    "zh-CN": "https://designvocabulary.com/zh/entries/master-detail.json",
    "en": "https://designvocabulary.com/en/entries/master-detail.json"
  },
  "site": {
    "catalogSchemaVersion": "0.1.0",
    "entries": 158,
    "index": "https://designvocabulary.com/zh/entries/index.json",
    "query": "https://designvocabulary.com/api/query?lang=zh",
    "guide": "https://designvocabulary.com/zh/agents/",
    "llms": "https://designvocabulary.com/llms.txt"
  },
  "provenance": {
    "sourceBacked": [
      "entry.definition"
    ],
    "editorial": [
      "entry.boundary",
      "entry.signature",
      "entry.when",
      "entry.when_not",
      "entry.tradeoff",
      "entry.comparison",
      "entry.rules",
      "entry.relations",
      "entry.implementationNote",
      "entry.behavior"
    ],
    "scope": "定义参考以上来源；数字界面示例、选择建议、条件关系及配方由本样例编辑，尚未经用户研究验证。",
    "editorialStatus": "sample-reviewed",
    "specimenData": "fictional",
    "specimenNote": "示例为原创虚构界面；定义附来源，用法与配方为编辑建议。",
    "sources": [
      {
        "id": "apple-split",
        "url": "https://developer.apple.com/design/human-interface-guidelines/split-views",
        "title": "Apple HIG · Split views",
        "checkedAt": "2026-09-15",
        "archive": {
          "status": "available",
          "confirmed": true,
          "url": "https://web.archive.org/web/20260915165049/https://developer.apple.com/design/human-interface-guidelines/split-views",
          "capturedAt": "2026-09-15T16:50:49Z",
          "lookupUrl": "https://web.archive.org/web/20260915*/https://developer.apple.com/design/human-interface-guidelines/split-views"
        }
      }
    ],
    "lists": [
      {
        "id": "L-C",
        "edition": "classic",
        "seat": 1,
        "origin": "editorial-reconstruction",
        "page": "https://designvocabulary.com/zh/lists/L-C/",
        "json": "https://designvocabulary.com/zh/lists/L-C.json"
      }
    ],
    "ordered": false,
    "listDisclaimer": "席位号是编辑位置，不是评分、排名或人气统计；清单未收满时保持原样，不补足。"
  },
  "entry": {
    "id": "master-detail",
    "type": "layout",
    "name": {
      "zh": "主从布局",
      "en": "Master–Detail"
    },
    "aliases": [
      "List Detail",
      "列表详情",
      "列表与详情"
    ],
    "granularity": "page",
    "intents": [
      "browse-detail",
      "organize-content"
    ],
    "tags": [
      "列表",
      "详情",
      "分栏",
      "导航",
      "查阅"
    ],
    "definition": "保留可选择的项目列表，并呈现当前所选项目的详情。",
    "boundary": "分栏本身不等于主从；关键是列表选择与详情内容之间的联动。",
    "signature": [
      "明确的当前选择",
      "列表和详情关联",
      "窄屏保留返回路径"
    ],
    "when": [
      "反复查阅多个项目的详细内容",
      "需要保留列表上下文"
    ],
    "when_not": [
      "项目之间需要同时并排比较很多字段",
      "窄屏仍强塞两个不可读的栏"
    ],
    "tradeoff": "查阅连贯，但较窄空间需要改成列表与详情之间的导航。",
    "comparison": {
      "focus": "在列表中逐项查阅",
      "mechanism": "选择驱动详情",
      "cost": "需要管理选择状态与窄屏返回"
    },
    "sources": [
      {
        "id": "apple-split",
        "title": "Apple HIG · Split views",
        "url": "https://developer.apple.com/design/human-interface-guidelines/split-views",
        "claim": "主面板选择可驱动次面板内容；紧凑环境需要适配。",
        "checkedAt": "2026-09-15",
        "archive": {
          "lookupUrl": "https://web.archive.org/web/20260915*/https://developer.apple.com/design/human-interface-guidelines/split-views",
          "status": "available",
          "checkedAt": "2026-09-15T16:49:14.303Z",
          "jobId": "spn2-84fca51c124f03df7c3e2575ea70e1b5032b0347",
          "url": "https://web.archive.org/web/20260915165049/https://developer.apple.com/design/human-interface-guidelines/split-views",
          "timestamp": "20260915165049"
        }
      }
    ],
    "relations": [
      {
        "target": "bento",
        "kind": "alternative",
        "condition": "决定内容的主浏览结构",
        "reason": "主从偏逐项查阅，Bento 偏概览。",
        "basis": "editorial"
      },
      {
        "target": "inline-edit",
        "kind": "composes_with",
        "condition": "在详情中修改小字段",
        "reason": "编辑可以保留当前查阅上下文。",
        "basis": "editorial"
      }
    ],
    "rules": [
      {
        "when": "选择列表项目后",
        "instruction": "持续标明选中项目，并同步详情。",
        "strength": "must",
        "basis": "editorial"
      },
      {
        "when": "空间不足",
        "instruction": "提供完整列表到详情的可返回路径。",
        "strength": "must",
        "basis": "editorial"
      }
    ],
    "behavior": {
      "states": [
        "unselected",
        "selected"
      ],
      "a11y": [
        "列表项目使用有名称的按钮",
        "详情更新不强抢焦点"
      ],
      "motion": "不需要动画"
    },
    "demo": "master-detail",
    "version": "0.1.0",
    "editorialStatus": "sample-reviewed",
    "requirements": [],
    "demoCapabilities": [
      "keyboard",
      "reduced_motion"
    ],
    "implementationNote": "能力标签只描述本演示；应用到产品时仍须重新验证。",
    "searchTerms": [
      "list",
      "detail",
      "split view",
      "navigation",
      "browsing"
    ]
  }
}
