feat: 3.5版本规划

This commit is contained in:
R524809
2026-09-24 17:14:38 +08:00
parent f82ac4d89d
commit 08d9a2792a
19 changed files with 769 additions and 45 deletions
@@ -55,6 +55,15 @@ createFocusPage({
onLoad(options: { id?: string; mode?: string }) {
const routeId = options.id || FOCUS_TYPE_CONFIGS[0].id;
// “识别形状”仍由独立页面承载。兼容已发布的旧路径和本地兜底
// /focusPages/focusDraw/focusDraw?id=shape-recognition,避免通用注册表
// 找不到该 id 时静默回退为第一个题型。
if (routeId === 'shape-recognition') {
wx.redirectTo({ url: '/focusPages/shape/shape' });
return;
}
const result = findTypeByRouteId(routeId);
if (!result) return;