文档更新
This commit is contained in:
@@ -94,7 +94,7 @@
|
||||
|
||||
#### 2.1.1 页面概述
|
||||
|
||||
- **URL**:`/properties/`(query params:`tab`, `status`, `grade`, `page`, `q`, `sort`, `order` 等)
|
||||
- **URL**:`/properties/`(query params:`tab`, `status`, `grade`, `cursor`, `q`, `sort`, `order` 等;分页采用 Keyset,详见 `ADR-20260604-001`)
|
||||
- **访问入口**:顶部全局导航栏「房源」菜单 → 默认进入全部房源列表
|
||||
- **页面职责**:展示经纪人名下(或门店/全司)的房源列表,支持多维度搜索筛选、批量操作、状态快览
|
||||
- **竞品参考截图**:
|
||||
@@ -738,7 +738,7 @@
|
||||
| 左侧 | 总条数「共 N 条」 |
|
||||
| 中间 | 页码导航:`← 上一页 [1] [2] [3] [4] [5] … [N] 下一页 →` |
|
||||
| 右侧 | 每页条数「20条/页 ▾」(选项:20/50/100)+ 跳页「跳至」+ 输入框 + 「页」 |
|
||||
| HTMX | `hx-get="/properties/" hx-vals='{"page": N}' hx-target="#property-list-container" hx-swap="innerHTML" hx-include="closest form"` |
|
||||
| HTMX | `hx-get="/properties/" hx-vals='{"cursor": LAST_ID}' hx-target="#property-list-container" hx-swap="innerHTML" hx-include="closest form"`(Keyset 分页,`LAST_ID` 为当前页最后一条 `id`;详见 `ADR-20260604-001`。MVP 过渡期允许保留页码 UI 表现,但 `cursor` 是后端主参数) |
|
||||
| 当前页 | `bg-primary-600 text-white rounded-md w-8 h-8 font-medium` |
|
||||
| 非当前页 | `text-neutral-600 hover:bg-neutral-100 rounded-md w-8 h-8` |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user