feat: HEL-68 手机端 P0 同网址分流闸门与手机壳
在电脑端 index.html head 加极早分流闸门(?ui 覆盖优先,720px/移动 UA 判定,首屏前跳转 /m/);新建 frontend/m/ 手机壳(index.html、tokens/shell CSS、api/session/router/boot JS、nav.config),首页五入口、占位图标页/功能页、登录页、日/夜主题与栈式返回。未改电脑 DOM/样式,未碰问天。 Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
(function (global) {
|
||||
"use strict";
|
||||
|
||||
const nav = {
|
||||
entries: [
|
||||
{ key: "market", title: "行情数据", subtitle: "情绪 · 梯队 · 题材 · 龙虎榜", icon: "bar-chart-3" },
|
||||
{ key: "tools", title: "智能工具", subtitle: "智能选股 · 问师", icon: "wand-2" },
|
||||
{ key: "review", title: "我的复盘", subtitle: "复盘日志 · 交易记录", icon: "notebook-pen" },
|
||||
{ key: "assistant", title: "复盘助手", subtitle: "AI 对话复盘", icon: "message-square" },
|
||||
{ key: "system", title: "系统管理", subtitle: "外观主题 · 数据管理 · 关于", icon: "settings" }
|
||||
],
|
||||
|
||||
hubs: {
|
||||
market: {
|
||||
title: "行情数据",
|
||||
items: [
|
||||
{ key: "market/sentiment", label: "情绪周期" },
|
||||
{ key: "market/limit-up", label: "涨停池" },
|
||||
{ key: "market/broken", label: "炸板池" },
|
||||
{ key: "market/limit-down", label: "跌停池" },
|
||||
{ key: "market/yesterday", label: "昨日涨停" },
|
||||
{ key: "market/performance", label: "涨停表现" },
|
||||
{ key: "market/ladder", label: "市场天梯" },
|
||||
{ key: "market/rotation", label: "主题轮动" },
|
||||
{ key: "market/auction", label: "竞价" },
|
||||
{ key: "market/themes", label: "题材库" },
|
||||
{ key: "market/popularity", label: "人气榜" },
|
||||
{ key: "market/dragon", label: "龙虎榜" }
|
||||
]
|
||||
},
|
||||
tools: {
|
||||
title: "智能工具",
|
||||
items: [
|
||||
{ key: "tools/screener", label: "智能选股" },
|
||||
{ key: "tools/mentor", label: "问师" }
|
||||
]
|
||||
},
|
||||
review: {
|
||||
title: "我的复盘",
|
||||
items: [
|
||||
{ key: "review/journal", label: "复盘日志" },
|
||||
{ key: "review/trades", label: "交易记录" }
|
||||
]
|
||||
},
|
||||
system: {
|
||||
title: "系统管理",
|
||||
items: [
|
||||
{ key: "system/appearance", label: "外观主题" },
|
||||
{ key: "system/data", label: "数据管理" },
|
||||
{ key: "system/about", label: "关于" }
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
tableDefaults: {
|
||||
frozenColumns: ["name", "code"],
|
||||
primaryColumns: [],
|
||||
scrollColumns: []
|
||||
}
|
||||
};
|
||||
|
||||
global.MobileNav = nav;
|
||||
})(window);
|
||||
Reference in New Issue
Block a user