feat(HEL-79): 手机端 P2a 表格引擎+六个池/榜列表页
- 新增 StickyHScrollTable:冻结表头/首列、横滑、pan-x 触控
- 涨停池/炸板池/跌停池/昨日涨停/涨停表现/人气榜接真数据(沿用电脑接口)
- 功能页顶栏返回+标题+日期按钮;底部日期抽屉(日历网格+快捷胶囊)
- 点名称/代码弹底部 DetailSheet(走 /api/stock/{code}/preview)
- 加载骨架/空态/错误态按动效规范;列配置进 nav.config
- 其余 6 个行情页仍为占位(归 P2b)
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -62,6 +62,156 @@
|
||||
frozenColumns: ["name", "code"],
|
||||
primaryColumns: [],
|
||||
scrollColumns: []
|
||||
},
|
||||
|
||||
tableColumns: {
|
||||
"market/limit-up": {
|
||||
summary: "limit",
|
||||
frozenColumns: [
|
||||
{ key: "stock", label: "股票", type: "stock", width: 96 }
|
||||
],
|
||||
primaryColumns: [
|
||||
{ key: "streak", label: "连板", type: "streak" },
|
||||
{ key: "change", label: "涨幅%", type: "change" },
|
||||
{ key: "price", label: "价格", type: "price" }
|
||||
],
|
||||
scrollColumns: [
|
||||
{ key: "sector", label: "所属板块", type: "text" },
|
||||
{ key: "first_time", label: "首封", type: "text" },
|
||||
{ key: "last_time", label: "最后封板", type: "text" },
|
||||
{ key: "open_times", label: "开板", type: "int" },
|
||||
{ key: "turnover_rate", label: "换手%", type: "rate" },
|
||||
{ key: "amount_billion", label: "成交额亿", type: "money" },
|
||||
{ key: "seal_amount_million", label: "封单额万", type: "int", hideZero: true },
|
||||
{ key: "reason", label: "涨停原因", type: "text", wide: true }
|
||||
]
|
||||
},
|
||||
|
||||
"market/broken": {
|
||||
summary: "broken",
|
||||
frozenColumns: [
|
||||
{ key: "stock", label: "股票", type: "stock", width: 96 }
|
||||
],
|
||||
primaryColumns: [
|
||||
{ key: "change", label: "现价涨幅%", type: "change" },
|
||||
{ key: "limitGap", label: "距涨停%", type: "gap" },
|
||||
{ key: "price", label: "价格", type: "price" }
|
||||
],
|
||||
scrollColumns: [
|
||||
{ key: "sector", label: "所属板块", type: "text" },
|
||||
{ key: "first_time", label: "首次触板", type: "text" },
|
||||
{ key: "open_times", label: "开板", type: "int" },
|
||||
{ key: "turnover_rate", label: "换手%", type: "rate" },
|
||||
{ key: "amount_billion", label: "成交额亿", type: "money" },
|
||||
{ key: "reason", label: "炸板原因", type: "text", wide: true }
|
||||
]
|
||||
},
|
||||
|
||||
"market/limit-down": {
|
||||
summary: "down",
|
||||
frozenColumns: [
|
||||
{ key: "stock", label: "股票", type: "stock", width: 96 }
|
||||
],
|
||||
primaryColumns: [
|
||||
{ key: "change", label: "跌幅%", type: "change" },
|
||||
{ key: "price", label: "价格", type: "price" }
|
||||
],
|
||||
scrollColumns: [
|
||||
{ key: "sector", label: "所属板块", type: "text" },
|
||||
{ key: "turnover_rate", label: "换手%", type: "rate" },
|
||||
{ key: "amount_billion", label: "成交额亿", type: "money" },
|
||||
{ key: "streak", label: "连续跌停", type: "int", hideZero: true },
|
||||
{ key: "reason", label: "风险线索", type: "text", wide: true }
|
||||
]
|
||||
},
|
||||
|
||||
"market/yesterday": {
|
||||
summary: "yesterday",
|
||||
frozenColumns: [
|
||||
{ key: "stock", label: "股票", type: "stock", width: 96 }
|
||||
],
|
||||
primaryColumns: [
|
||||
{ key: "current_change", label: "今日涨幅%", type: "change" },
|
||||
{ key: "outcome", label: "今日结果", type: "outcome" },
|
||||
{ key: "prior_streak", label: "昨日高度", type: "int" }
|
||||
],
|
||||
scrollColumns: [
|
||||
{ key: "current_streak", label: "当前高度", type: "height" },
|
||||
{ key: "sector", label: "所属板块", type: "text" },
|
||||
{ key: "reason", label: "涨停逻辑", type: "text", wide: true }
|
||||
]
|
||||
},
|
||||
|
||||
"market/performance": {
|
||||
summary: "performance",
|
||||
frozenColumns: [
|
||||
{ key: "label", label: "梯队", type: "text", width: 96 }
|
||||
],
|
||||
primaryColumns: [
|
||||
{ key: "advance_rate", label: "晋级率%", type: "advance" },
|
||||
{ key: "advanced", label: "晋级", type: "int" },
|
||||
{ key: "positive_rate", label: "收红率%", type: "rate" }
|
||||
],
|
||||
scrollColumns: [
|
||||
{ key: "count", label: "样本", type: "int" },
|
||||
{ key: "average_change", label: "平均涨幅%", type: "change" }
|
||||
]
|
||||
},
|
||||
|
||||
"market/popularity": {
|
||||
summary: "popularity",
|
||||
sources: ["combined", "ths", "dc"],
|
||||
columns: {
|
||||
combined: {
|
||||
frozenColumns: [
|
||||
{ key: "rank", label: "#", type: "rank", width: 40 },
|
||||
{ key: "stock", label: "股票", type: "stock", width: 96 }
|
||||
],
|
||||
primaryColumns: [
|
||||
{ key: "price", label: "最新价", type: "price" },
|
||||
{ key: "change", label: "涨跌幅%", type: "change" }
|
||||
],
|
||||
scrollColumns: [
|
||||
{ key: "ths_rank", label: "同花顺", type: "int", hideZero: true },
|
||||
{ key: "dc_rank", label: "东方财富", type: "int", hideZero: true },
|
||||
{ key: "rank_change", label: "排名变化", type: "move" },
|
||||
{ key: "concepts", label: "热门概念", type: "concepts" }
|
||||
]
|
||||
},
|
||||
ths: {
|
||||
frozenColumns: [
|
||||
{ key: "rank", label: "#", type: "rank", width: 40 },
|
||||
{ key: "stock", label: "股票", type: "stock", width: 96 }
|
||||
],
|
||||
primaryColumns: [
|
||||
{ key: "price", label: "最新价", type: "price" },
|
||||
{ key: "change", label: "涨跌幅%", type: "change" }
|
||||
],
|
||||
scrollColumns: [
|
||||
{ key: "dc_rank", label: "东方财富", type: "int", hideZero: true },
|
||||
{ key: "rank_change", label: "排名变化", type: "move" },
|
||||
{ key: "concepts", label: "热门概念", type: "concepts" },
|
||||
{ key: "dual_source", label: "榜单状态", type: "dual" }
|
||||
]
|
||||
},
|
||||
dc: {
|
||||
frozenColumns: [
|
||||
{ key: "rank", label: "#", type: "rank", width: 40 },
|
||||
{ key: "stock", label: "股票", type: "stock", width: 96 }
|
||||
],
|
||||
primaryColumns: [
|
||||
{ key: "price", label: "最新价", type: "price" },
|
||||
{ key: "change", label: "涨跌幅%", type: "change" }
|
||||
],
|
||||
scrollColumns: [
|
||||
{ key: "ths_rank", label: "同花顺", type: "int", hideZero: true },
|
||||
{ key: "rank_change", label: "排名变化", type: "move" },
|
||||
{ key: "concepts", label: "热门概念", type: "concepts" },
|
||||
{ key: "dual_source", label: "榜单状态", type: "dual" }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user