做产品 PMaker
空格的键盘
桌面:表格
单号客户金额状态日期
SO-2048张明¥12,400待确认03-28
SO-2047王芳¥3,880已结03-26
断点处
换结构
不是压扁
¥12,400 待确认
张明 · SO-2048 · 03-28
¥3,880 已结
王芳 · SO-2047 · 03-26

五列表格在手机上不是缩小,是变成卡片:金额提到最显眼,其余三项压成一行灰字。

How to land responsive design

Responsive design is not letting a layout auto-squash. It is swapping in a different structure at specific widths. What to swap and how is a design decision, not a technical one.

What you'll run into
  • 手机上要左右拖着看表格,还得放大才点得中
  • 桌面端的侧边栏在手机上变成了顶部一长条
  • 让 AI 加响应式,它只是把多列堆成一列,导航没管

How many breakpoints

档位宽度这一档的布局特征
手机< 768px单列,底部标签导航,卡片代替表格
平板768–1024px两列,侧边栏可折叠,表格保留但减少列数
桌面> 1024px多列,侧边栏常驻,完整表格
The third row is the easiest to fudge. "Main content left, supporting info right" on desktop — stacking into a single column with supporting info below the main content is fine; but if supporting info stacks on top, the user has to scroll past a full screen to reach the point.

Pick your main battlefield first. If 90% of users are on desktop, build desktop well and ship a "good enough" mobile version — and vice versa. Trying to make both ends equally good usually leaves both awkward.

What changes at the breakpoint

元素在手机上换成什么
表格变卡片。一行变一张卡,只显示最关键的两三个字段,其余折叠
侧边导航变底部标签栏,最多五项,超出的收进「我的」
多列布局堆成单列,但要重新排优先级,不是原样从左到右堆
列表加详情同屏拆成两个页面,详情页要有返回
悬停才显示的内容改成常驻显示或长按。手机没有 hover
批量操作长按进多选,或者干脆不做,留给桌面端
The third row is the easiest to fudge. "Main content left, supporting info right" on desktop — stacking into a single column with supporting info below the main content is fine; but if supporting info stacks on top, the user has to scroll past a full screen to reach the point.
最容易糊弄过去的一步:多列布局堆成单列 桌面 主内容 辅助 原样从左到右堆 辅助 主内容 按重要性重排 主内容 辅助 用户要滚过一屏才看到重点 打开就是重点 响应式不是让布局自动压扁,是在特定宽度上换一套结构——换什么、怎么换,是设计决定,不是技术问题。 断点也不用记标准值:把浏览器慢慢拖窄,第一次觉得别扭的地方就是断点。
The third row is the easiest to fudge. "Main content left, supporting info right" on desktop — stacking into a single column with supporting info below the main content is fine; but if supporting info stacks on top, the user has to scroll past a full screen to reach the point.

A note for AI

PROMPT · responsive
把这个页面做成响应式,断点:768px / 1024px。

不要只是把多列堆成单列。请对每一类元素明确说明变化:
- 表格 → 手机上变成卡片,列出保留哪几个字段、
  哪个字段做主视觉、其余怎么处理
- 侧边导航 → 底部标签栏,说明保留哪四项、其余去哪
- 多列布局 → 堆叠后的顺序按重要性重排,说明新顺序
- 依赖 hover 的交互 → 改成什么
- 批量操作 → 保留还是移除

其他要求:
- 可点区域不小于 44px
- 手机端正文字号不小于桌面端
- 输入框按内容类型指定 inputmode / type

先给出上面每一项的方案,我确认后再改代码。