feat: 全景扫描推荐列表分页改为5只/页,支持收起/展开
This commit is contained in:
@@ -655,6 +655,32 @@
|
||||
.scan-pagination button:disabled { opacity: 0.3; cursor: not-allowed; }
|
||||
.scan-pagination span { font-size: 13px; color: var(--text-secondary); }
|
||||
|
||||
/* 结果列表可收起 header */
|
||||
.full-scan-list-section {
|
||||
margin-top: 8px;
|
||||
}
|
||||
.scan-list-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 8px 12px;
|
||||
cursor: pointer;
|
||||
border-radius: 8px;
|
||||
background: rgba(255,255,255,0.03);
|
||||
transition: background 0.15s;
|
||||
}
|
||||
.scan-list-header:hover { background: rgba(255,255,255,0.06); }
|
||||
.scan-list-title {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
.scan-list-title small {
|
||||
font-weight: 400;
|
||||
color: var(--text-muted);
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
.admin-link-btn {
|
||||
display: block;
|
||||
text-align: center;
|
||||
|
||||
@@ -86,10 +86,12 @@
|
||||
fullScanLoading: false,
|
||||
fullScanPage: 1,
|
||||
fullScanTotalPages: 1,
|
||||
fullScanPerPage: 5, // 每页显示5只股票
|
||||
fullScanFilter: 'all',
|
||||
fullScanFilterTypes: [],
|
||||
fullScanFilterRecommend: '买入', // 扫描结果打开时缺省显示买入列表;all|买入|加仓|卖出|持有|关注|观察|观望
|
||||
scanSummaryCollapsed: false,
|
||||
scanResultsCollapsed: false, // 结果列表可收起
|
||||
fullScanSignalDist: [],
|
||||
|
||||
// 找牛股(保留兼容)
|
||||
@@ -2253,7 +2255,7 @@
|
||||
const resp = await axios.get('/api/scan_results', {
|
||||
params: {
|
||||
page: this.fullScanPage,
|
||||
per_page: 50,
|
||||
per_page: this.fullScanPerPage,
|
||||
min_triggered: minTriggered,
|
||||
signal_type: signalTypes,
|
||||
holding_codes: (this.holdingStocks || []).join(','),
|
||||
|
||||
Reference in New Issue
Block a user