feat: 题材热点历史页展示最近10个交易日题材涨幅矩阵

This commit is contained in:
Sakurasan
2026-08-27 20:18:51 +08:00
parent 57548c791d
commit 86d0dded3a
5 changed files with 218 additions and 1 deletions
+21
View File
@@ -10,6 +10,7 @@
import { Route as rootRouteImport } from './routes/__root'
import { Route as ThemesRouteImport } from './routes/themes'
import { Route as ThemeHistoryRouteImport } from './routes/theme-history'
import { Route as HotMapRouteImport } from './routes/hot-map'
import { Route as CoreStocksRouteImport } from './routes/core-stocks'
import { Route as IndexRouteImport } from './routes/index'
@@ -22,6 +23,11 @@ const ThemesRoute = ThemesRouteImport.update({
path: '/themes',
getParentRoute: () => rootRouteImport,
} as any)
const ThemeHistoryRoute = ThemeHistoryRouteImport.update({
id: '/theme-history',
path: '/theme-history',
getParentRoute: () => rootRouteImport,
} as any)
const HotMapRoute = HotMapRouteImport.update({
id: '/hot-map',
path: '/hot-map',
@@ -57,6 +63,7 @@ export interface FileRoutesByFullPath {
'/': typeof IndexRoute
'/core-stocks': typeof CoreStocksRoute
'/hot-map': typeof HotMapRoute
'/theme-history': typeof ThemeHistoryRoute
'/themes': typeof ThemesRoute
'/share/$code': typeof ShareCodeRoute
'/stock/$code': typeof StockCodeRoute
@@ -66,6 +73,7 @@ export interface FileRoutesByTo {
'/': typeof IndexRoute
'/core-stocks': typeof CoreStocksRoute
'/hot-map': typeof HotMapRoute
'/theme-history': typeof ThemeHistoryRoute
'/themes': typeof ThemesRoute
'/share/$code': typeof ShareCodeRoute
'/stock/$code': typeof StockCodeRoute
@@ -76,6 +84,7 @@ export interface FileRoutesById {
'/': typeof IndexRoute
'/core-stocks': typeof CoreStocksRoute
'/hot-map': typeof HotMapRoute
'/theme-history': typeof ThemeHistoryRoute
'/themes': typeof ThemesRoute
'/share/$code': typeof ShareCodeRoute
'/stock/$code': typeof StockCodeRoute
@@ -87,6 +96,7 @@ export interface FileRouteTypes {
| '/'
| '/core-stocks'
| '/hot-map'
| '/theme-history'
| '/themes'
| '/share/$code'
| '/stock/$code'
@@ -96,6 +106,7 @@ export interface FileRouteTypes {
| '/'
| '/core-stocks'
| '/hot-map'
| '/theme-history'
| '/themes'
| '/share/$code'
| '/stock/$code'
@@ -105,6 +116,7 @@ export interface FileRouteTypes {
| '/'
| '/core-stocks'
| '/hot-map'
| '/theme-history'
| '/themes'
| '/share/$code'
| '/stock/$code'
@@ -115,6 +127,7 @@ export interface RootRouteChildren {
IndexRoute: typeof IndexRoute
CoreStocksRoute: typeof CoreStocksRoute
HotMapRoute: typeof HotMapRoute
ThemeHistoryRoute: typeof ThemeHistoryRoute
ThemesRoute: typeof ThemesRoute
ShareCodeRoute: typeof ShareCodeRoute
StockCodeRoute: typeof StockCodeRoute
@@ -130,6 +143,13 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof ThemesRouteImport
parentRoute: typeof rootRouteImport
}
'/theme-history': {
id: '/theme-history'
path: '/theme-history'
fullPath: '/theme-history'
preLoaderRoute: typeof ThemeHistoryRouteImport
parentRoute: typeof rootRouteImport
}
'/hot-map': {
id: '/hot-map'
path: '/hot-map'
@@ -179,6 +199,7 @@ const rootRouteChildren: RootRouteChildren = {
IndexRoute: IndexRoute,
CoreStocksRoute: CoreStocksRoute,
HotMapRoute: HotMapRoute,
ThemeHistoryRoute: ThemeHistoryRoute,
ThemesRoute: ThemesRoute,
ShareCodeRoute: ShareCodeRoute,
StockCodeRoute: StockCodeRoute,