.detail { padding: 0; } .detail-header { margin-bottom: 24px; } .detail-header h2 { margin: 8px 0 0 0; color: #262626; } .detail-card { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09); border-radius: 4px; } /* 加载容器 */ .loading-container { display: flex; justify-content: center; align-items: center; height: 400px; } /* 错误容器 */ .error-container { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 400px; } /* 图表标题 */ .chart-title { display: flex; align-items: center; justify-content: space-between; width: 100%; } .chart-title h3 { margin: 0; } /* K线图表 */ .kline-chart { width: 100%; height: 400px; } /* 趋势卡片 */ .trend-card { height: 100%; text-align: center; } .trend-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; } .trend-header h4 { margin: 0; color: #262626; } .trend-status { font-size: 14px; margin-bottom: 8px; color: #262626; } .trend-rsi { font-size: 14px; color: #8c8c8c; } /* 技术指标 */ .indicator-item { display: flex; flex-direction: column; align-items: center; padding: 16px; background: #fafafa; border-radius: 4px; height: 100%; } .indicator-label { font-size: 14px; color: #8c8c8c; margin-bottom: 8px; } .indicator-value { font-size: 16px; font-weight: 500; color: #262626; } /* 风险评估 */ .risk-item { display: flex; align-items: center; justify-content: space-between; padding: 16px; background: #fafafa; border-radius: 4px; height: 100%; } .risk-label { font-size: 14px; color: #262626; } /* 响应式设计 */ @media (max-width: 768px) { .detail-header { flex-direction: column; align-items: flex-start; gap: 8px; } .chart-title { flex-direction: column; align-items: flex-start; gap: 8px; } .kline-chart { height: 300px; } .trend-card { margin-bottom: 16px; } .indicator-item, .risk-item { margin-bottom: 16px; } }