feat(策略持仓): 持仓行展开关联交易 + 成本价/最后成交价 + 隐藏输入框(迭代 08,R-010)
- strategy-positions 附加 holding_id + avgPrice/lastTradePrice(无关联默认成本价) - trades/by-holding 端点(按 holding 查委托汇总) - StrategyTab 持仓行展开(懒加载 + 内嵌汇总表,含交易日/时间列) - 神之一手 tab 激活时隐藏 AI 对话输入框(纯 CSS :has() 方案)
This commit is contained in:
@@ -39,7 +39,7 @@ export function AllPositionsTab(props) {
|
||||
}, [load]);
|
||||
|
||||
return (
|
||||
<div style={{ padding: 16, fontFamily: 'system-ui' }}>
|
||||
<div className="odl-root" style={{ padding: 16, fontFamily: 'system-ui' }}>
|
||||
<h3 style={{ margin: '0 0 12px' }}>全部持仓({positions ? positions.positions.length : 0} 只)</h3>
|
||||
<LoadState loading={loading} error={error} onRetry={load} autoRetry={2}>
|
||||
<table style={{ width: '100%', borderCollapse: 'collapse', fontSize: 13 }}>
|
||||
|
||||
Reference in New Issue
Block a user