Files
one_divine_lot/src/client/views/PlaceholderTab.jsx
T
kyugao 2790b92378 feat(策略持仓): 持仓行展开关联交易 + 成本价/最后成交价 + 隐藏输入框(迭代 08,R-010)
- strategy-positions 附加 holding_id + avgPrice/lastTradePrice(无关联默认成本价)
- trades/by-holding 端点(按 holding 查委托汇总)
- StrategyTab 持仓行展开(懒加载 + 内嵌汇总表,含交易日/时间列)
- 神之一手 tab 激活时隐藏 AI 对话输入框(纯 CSS :has() 方案)
2026-09-02 01:20:58 +08:00

13 lines
471 B
React
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
* 占位 tab 组件(迭代 02 设置 tab 化扩展)
* 交易记录 / 关注列表 当前为空占位,功能后续迭代实现
*/
export function PlaceholderTab({ title }) {
return (
<div className="odl-root" style={{ padding: 40, textAlign: 'center', fontFamily: 'system-ui', color: '#999' }}>
<div style={{ fontSize: 16, marginBottom: 8 }}>{title}</div>
<div style={{ fontSize: 13 }}>功能开发中敬请期待</div>
</div>
);
}