index.html 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <!doctype html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <base href="../">
  7. <title>智服 · 已确认视觉风格</title>
  8. <link rel="stylesheet" href="wireframes.css">
  9. <link rel="stylesheet" href="style-preview/style.css">
  10. <!-- 复用已确认的页面与交互,视觉提案独立于线稿入口。 -->
  11. <script defer src="shared.js"></script>
  12. <script defer src="customer.js"></script>
  13. <script defer src="workspace.js"></script>
  14. <script defer src="management.js"></script>
  15. <script defer src="product-layout.js"></script>
  16. <script defer src="admin-login.js"></script>
  17. <script defer src="notifications.js"></script>
  18. <script defer src="app.js"></script>
  19. </head>
  20. <body>
  21. <header class="review-header">
  22. <div><strong>智服 · 视觉规范</strong><span>已确认 · 示例内容</span><button type="button" id="review-toggle" data-action="review-toggle">评审工具</button></div>
  23. <nav aria-label="评审入口" id="role-nav"></nav>
  24. </header>
  25. <details class="style-guide">
  26. <summary>设计说明 · 后台 / 消费者 H5</summary>
  27. <div class="style-guide-grid">
  28. <section><span class="style-label">01 / 管理系统</span><h2>海军蓝导航 · 蓝色操作 · 浅色内容</h2><p>商家与平台共用视觉规范。深色侧栏区分系统导航,白色内容区承载表格、表单、消息与客服会话。</p><div class="swatches"><span style="--swatch:#071126">导航 #071126</span><span style="--swatch:#2f6bff">品牌 #2F6BFF</span><span style="--swatch:#f8fafc">背景 #F8FAFC</span></div><p>正文 14px / 页面标题 22px / 控件圆角 8px / 内容卡片 12px</p></section>
  29. <section><span class="style-label">02 / 消费者 H5</span><h2>明亮商城 · 清晰卡片 · AI 服务入口</h2><p>白色与浅蓝色组成购物界面,保留首页、分类、购物车、我的。AI 使用蓝色标识,商品与订单提供场景入口。</p><div class="swatches"><span style="--swatch:#ffffff">卡片 #FFFFFF</span><span style="--swatch:#edf4ff">浅蓝 #EDF4FF</span><span style="--swatch:#245fe5">操作 #245FE5</span></div><p>正文 14px / 页面标题 18px / 卡片圆角 16px / 触控区域至少 44px</p></section>
  30. </div>
  31. <p>通过顶部切换产品,使用评审工具查看不同员工角色。后台登录使用任意非空演示账户与密码。商品图片继续保留位置标识。</p>
  32. </details>
  33. <div class="review-layout">
  34. <aside class="review-sidebar" hidden>
  35. <section id="merchant-role-controls"><h2>商家员工角色</h2><div id="merchant-role-nav"></div><p class="muted">演示不同登录员工的权限;正式产品由账户授权决定。</p></section>
  36. <h2>页面目录</h2><nav aria-label="页面目录" id="page-nav"></nav>
  37. <details open><summary>情景演示</summary><div id="scenario-nav"></div></details>
  38. <button type="button" data-action="reset">重置全部演示</button>
  39. <p class="muted">员工角色与情景切换仅用于评审。</p>
  40. </aside>
  41. <main id="main" tabindex="-1">
  42. <div class="page-heading"><div><p id="page-code"></p><h1 id="page-title"></h1></div><span id="screen-scope"></span></div>
  43. <div id="notice" role="status" aria-live="polite"></div>
  44. <section id="product" aria-label="产品页面"></section>
  45. <details class="annotation"><summary>本页交互说明</summary><div id="notes"></div></details>
  46. </main>
  47. </div>
  48. <dialog id="confirm-dialog" aria-labelledby="dialog-title"><form method="dialog"><h2 id="dialog-title"></h2><p id="dialog-body"></p><div class="actions"><button value="cancel">返回检查</button><button id="dialog-confirm" value="confirm" class="primary">确认操作</button></div></form></dialog>
  49. <noscript>请启用 JavaScript 以浏览设计提案。</noscript>
  50. </body>
  51. </html>