feat(web): 选股列表改为滚动加载并精简操作区

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
yuxuanhui
2026-09-01 19:27:41 +08:00
parent c944b219d9
commit af1e1eaa66
10 changed files with 732 additions and 384 deletions
@@ -1,12 +1,13 @@
import { requestJson } from "@/shared/api/request-json"
import type {
SelectionChart,
SelectionResults,
SelectionResultsQuery,
SelectionRunAccepted,
SelectionRunRequest,
SelectionStrategy,
import {
selectionResultPageSize,
type SelectionChart,
type SelectionResults,
type SelectionResultsQuery,
type SelectionRunAccepted,
type SelectionRunRequest,
type SelectionStrategy,
} from "./selection.types"
export function getSelectionChart(
@@ -26,7 +27,7 @@ export function getSelectionChart(
export function getSelectionResults(
strategy: SelectionStrategy,
targetTradeDate?: string,
query: SelectionResultsQuery = { page: 1, pageSize: 10 },
query: SelectionResultsQuery = { page: 1, pageSize: selectionResultPageSize },
signal?: AbortSignal,
) {
const params = buildSelectionQueryParams(query)
@@ -40,7 +41,7 @@ export function getSelectionResults(
export function getSelectionRun(
runId: string,
query: SelectionResultsQuery = { page: 1, pageSize: 10 },
query: SelectionResultsQuery = { page: 1, pageSize: selectionResultPageSize },
signal?: AbortSignal,
) {
const params = buildSelectionQueryParams(query)