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:
@@ -223,6 +223,10 @@
|
||||
}
|
||||
|
||||
function renderFeature(key) {
|
||||
if (global.MobilePages && global.MobilePages.has(key)) {
|
||||
global.MobilePages.render(key);
|
||||
return;
|
||||
}
|
||||
const title = findFeatureLabel(key) || key;
|
||||
updateHeader({ title: title, back: true });
|
||||
document.getElementById("m-view").innerHTML = placeholderHtml(title, "该功能页将在后续批次实现。");
|
||||
@@ -338,6 +342,7 @@
|
||||
|
||||
function render(motion) {
|
||||
const route = currentRoute();
|
||||
document.getElementById("m-view").classList.remove("m-view-feature");
|
||||
if (route.name === "home") {
|
||||
replace(DEFAULT_HASH);
|
||||
return;
|
||||
@@ -412,6 +417,7 @@
|
||||
replace: replace,
|
||||
back: back,
|
||||
render: render,
|
||||
currentRoute: currentRoute
|
||||
currentRoute: currentRoute,
|
||||
updateHeader: updateHeader
|
||||
};
|
||||
})(window);
|
||||
|
||||
Reference in New Issue
Block a user