/* ═══════════════════════════════════════ pages.css - Tech signals, trading, AI analysis Lines: 1199 ═══════════════════════════════════════ */ /* ========== 技术信号页面样式 ========== */ .tech-signal-page { padding-bottom: 20px; } .tech-signal-header { margin-bottom: 16px; } .tech-input-row { display: flex; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; } .tech-action-row { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; } .tech-input { flex: 1; min-width: 100px; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--border-color); background: var(--bg-glass); color: var(--text-primary); font-size: 13px; } .tech-btn { padding: 8px 10px; border-radius: 8px; border: none; background: var(--primary); color: white; font-size: 12px; white-space: nowrap; flex-shrink: 0; font-weight: 600; cursor: pointer; white-space: nowrap; } .tech-btn.batch { background: var(--warning); color: #333; } .tech-btn.fullscan { background: #6c5ce7; color: #fff; } .tech-btn.strategy { background: linear-gradient(135deg, #ff6b6b, #ffd93d); color: #1a1a2e; font-weight: 700; } .tech-btn.rescan { background: transparent; border: 1px solid rgba(255,255,255,0.15); color: var(--text-muted); font-size: 11px; } .tech-btn.rescan:hover { border-color: #ff6b6b; color: #ff6b6b; } .tech-btn:disabled { opacity: 0.5; cursor: not-allowed; } .tech-legend { display: flex; flex-wrap: wrap; gap: 8px; font-size: 11px; color: var(--text-secondary); } .legend-item { display: flex; align-items: center; gap: 3px; } .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; } .dot.s85 { background: #e74c3c; } .dot.s80 { background: #e67e22; } .dot.s75 { background: #f39c12; } .dot.s70 { background: #27ae60; } .dot.s65 { background: #2980b9; } .dot.s60 { background: #8e44ad; } .dot.s55 { background: #95a5a6; } .tech-result-card { background: var(--bg-glass); border-radius: 16px; padding: 16px; margin-bottom: 16px; border: 1px solid var(--border-color); } .tech-result-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; } .tech-result-header h4 { font-size: 15px; font-weight: 600; color: var(--text-primary); margin: 0; } .tech-result-actions { display: flex; gap: 8px; margin-bottom: 12px; } /* 方案C:扫描 vs 实时 双数据显示 */ .signal-source-section { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border-glass); } .signal-source-section:first-of-type { margin-top: 0; padding-top: 0; border-top: none; } .signal-source-title { font-size: 13px; font-weight: 600; color: var(--text-secondary); margin: 0 0 8px 0; } .realtime-loading { font-size: 12px; color: var(--text-muted); } .realtime-error { font-size: 12px; color: var(--danger); } .tech-recommend-bar.realtime-bar { margin-top: 8px; } .tech-result-actions .watch-btn { padding: 6px 14px; font-size: 12px; } .signal-count { font-size: 12px; padding: 3px 10px; border-radius: 12px; background: var(--primary); color: white; font-weight: 600; } .signal-count.none { background: var(--bg-secondary); color: var(--text-secondary); } .tech-recommend-bar { margin-bottom: 14px; padding: 10px 12px; background: rgba(255,255,255,0.06); border-radius: 10px; } .tech-recommend-bar.rec-buy { background: rgba(0, 206, 158, 0.08); } .tech-recommend-bar.rec-sell { background: rgba(255, 68, 68, 0.08); } .tech-recommend-bar.rec-watch { background: rgba(100, 149, 237, 0.08); } .tech-recommend-label { font-size: 11px; color: var(--text-muted); margin-right: 8px; } .tech-recommend-text { font-weight: 600; font-size: 14px; } .tech-recommend-rate { margin-left: 8px; font-size: 12px; opacity: 0.9; } .tech-recommend-reason { font-size: 12px; color: var(--text-secondary); margin-top: 6px; } .tech-holding-note { margin-top: 8px; padding: 6px 10px; background: rgba(255,152,0,0.08); border-radius: 6px; font-size: 12px; color: #e67e00; line-height: 1.5; } .tech-indicators { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; padding: 10px; background: var(--bg-secondary); border-radius: 10px; } .indicator-group { display: flex; align-items: center; gap: 6px; font-size: 12px; } .ind-label { font-weight: 600; color: var(--text-secondary); min-width: 40px; } .ind-val { padding: 2px 6px; border-radius: 4px; background: var(--bg-glass); font-family: monospace; font-size: 11px; } .ind-val.pos { color: var(--danger); } .ind-val.neg { color: var(--success); } .ind-val.oversold { color: var(--success); font-weight: 600; } .ind-val.overbought { color: var(--danger); font-weight: 600; } .tech-signal-list { display: flex; flex-direction: column; gap: 8px; } .tech-signal-item { padding: 12px; border-radius: 10px; background: var(--bg-secondary); } .sig-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; } .sig-name { font-weight: 700; font-size: 14px; color: var(--text-primary); } .sig-strength { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 10px; background: rgba(255,255,255,0.1); } .sig-date { font-size: 11px; color: var(--text-secondary); } .sig-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 4px; } .sig-price { font-size: 12px; color: var(--text-secondary); font-family: monospace; } .tech-batch-results { margin-top: 16px; } .tech-batch-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 10px; margin-bottom: 6px; background: var(--bg-glass); border: 1px solid var(--border-color); cursor: pointer; transition: background 0.2s; } .tech-batch-item:active { background: var(--bg-secondary); } .batch-stock-info { display: flex; gap: 8px; align-items: center; } .batch-code { font-weight: 600; font-size: 13px; color: var(--text-primary); } .batch-name { font-size: 12px; color: var(--text-secondary); } .batch-signals { display: flex; gap: 4px; flex-wrap: wrap; } .batch-signal-tag { font-size: 11px; padding: 2px 8px; border-radius: 8px; font-weight: 600; color: white; } .batch-signal-tag.strength-85 { background: #e74c3c; } .batch-signal-tag.strength-80 { background: #e67e22; } .batch-signal-tag.strength-75 { background: #f39c12; } .batch-signal-tag.strength-70 { background: #27ae60; } .batch-signal-tag.strength-65 { background: #2980b9; } .batch-signal-tag.strength-60 { background: #8e44ad; } .batch-signal-tag.strength-55 { background: #95a5a6; } /* ========== 模拟交易页面样式 ========== */ .sim-trade-page { padding-bottom: 20px; } .sim-stats-card { background: var(--bg-glass); border-radius: 16px; padding: 16px; margin-bottom: 16px; border: 1px solid var(--border-glass); } .sim-stats-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; } .sim-stats-header h4 { font-size: 16px; font-weight: 600; color: var(--text-primary); } .sim-actions { display: flex; gap: 8px; } .sim-btn { padding: 8px 16px; border-radius: 8px; border: none; font-size: 13px; font-weight: 500; cursor: pointer; transition: all 0.2s; } .sim-btn.auto { background: linear-gradient(135deg, #00ff88, #00ccff); color: #000; } .sim-btn.auto:hover { opacity: 0.9; transform: scale(1.02); } .sim-btn.auto:disabled { opacity: 0.5; cursor: not-allowed; } .sim-btn.reset { background: rgba(255, 68, 68, 0.2); color: var(--danger); } .sim-btn.reset:hover { background: rgba(255, 68, 68, 0.3); } .sim-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; } .sim-stat-item { text-align: center; padding: 8px 4px; background: rgba(255, 255, 255, 0.03); border-radius: 8px; } .sim-stat-value { font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sim-stat-item.profit .sim-stat-value { color: var(--success); } .sim-stat-item.loss .sim-stat-value { color: var(--danger); } .sim-stat-label { font-size: 10px; color: var(--text-muted); } .sim-stats-detail { display: flex; justify-content: center; gap: 16px; padding-top: 10px; border-top: 1px solid var(--border-glass); font-size: 12px; } .sim-stats-detail .profit { color: var(--success); } .sim-stats-detail .loss { color: var(--danger); } /* 交易规则卡片(可折叠) */ .sim-rule-card { background: rgba(255, 170, 0, 0.08); border: 1px solid rgba(255, 170, 0, 0.2); border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; } .sim-rule-card.collapsible { cursor: pointer; } .sim-rule-header { display: flex; justify-content: space-between; align-items: center; } .sim-rule-card h4 { font-size: 13px; font-weight: 600; color: var(--warning); margin: 0; } .sim-rule-header .toggle-icon { font-size: 10px; color: var(--warning); transition: transform 0.2s; } .sim-rule-header .toggle-icon.expanded { transform: rotate(180deg); } .sim-rule-card ul { list-style: none; padding: 0; margin: 8px 0 0 0; } .sim-rule-card li { font-size: 11px; color: var(--text-secondary); padding: 3px 0; padding-left: 14px; position: relative; } .sim-rule-card li::before { content: '•'; position: absolute; left: 0; color: var(--warning); } .sim-rule-card li strong { color: var(--text-primary); } /* 模拟交易区块 */ .sim-section { margin-bottom: 16px; } .sim-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; } .sim-section-header .section-title { margin: 0; } .sim-section-header .toggle-icon { font-size: 10px; color: #888; transition: transform 0.2s; flex-shrink: 0; } .sim-section-header .toggle-icon.expanded { transform: rotate(180deg); } .collapsible-section { border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 8px; } /* 模拟 vs 实盘 对比面板 */ .sim-compare-panel { margin-top: 8px; padding: 8px 10px; background: rgba(255, 159, 67, 0.06); border: 1px solid rgba(255, 159, 67, 0.15); border-radius: 8px; } .sim-compare-header { display: flex; justify-content: space-between; align-items: center; } .sim-compare-body { margin-top: 8px; } .sim-compare-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; } .sim-compare-col { flex: 1; text-align: center; padding: 6px 8px; background: rgba(255,255,255,0.03); border-radius: 6px; } .sim-compare-label { font-size: 11px; color: #888; margin-bottom: 2px; } .sim-compare-value { font-size: 14px; font-weight: 700; } .sim-compare-value small { font-size: 11px; font-weight: 400; opacity: 0.7; } .sim-compare-arrow { color: #666; font-size: 16px; flex-shrink: 0; } .sim-compare-fees { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; font-size: 12px; border-top: 1px dashed rgba(255,255,255,0.06); margin-top: 4px; } .sim-compare-tip { text-align: center; padding-top: 4px; } .sim-btn.refresh { background: rgba(108, 92, 231, 0.25); color: var(--primary); font-size: 12px; } .sim-btn.refresh:hover:not(:disabled) { background: rgba(108, 92, 231, 0.4); } .sim-btn.refresh:disabled { opacity: 0.5; cursor: not-allowed; } .sim-section .section-title { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; } .sim-section .badge { background: rgba(255, 255, 255, 0.1); color: var(--text-secondary); font-size: 11px; padding: 2px 8px; border-radius: 10px; font-weight: 500; } .empty-tip { text-align: center; color: var(--text-muted); font-size: 13px; padding: 30px 20px; background: var(--bg-glass); border-radius: 12px; } /* 模拟持仓列表 */ .sim-positions-list { display: flex; flex-direction: column; gap: 10px; } .sim-position-item { background: var(--bg-glass); border-radius: 12px; padding: 14px; cursor: pointer; transition: all 0.2s; border: 1px solid var(--border-glass); } .sim-position-item:hover { background: var(--bg-glass-hover); } .sim-pos-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; } .sim-pos-code { font-size: 14px; font-weight: 600; color: var(--text-primary); } .sim-pos-name { font-size: 13px; color: var(--text-secondary); flex: 1; } .sim-pos-qty { font-size: 12px; color: var(--text-muted); background: rgba(255, 255, 255, 0.08); padding: 2px 8px; border-radius: 6px; } .sim-pos-detail { display: flex; gap: 16px; font-size: 12px; color: var(--text-secondary); } .sim-pos-detail .profit { color: var(--success); font-weight: 500; } .sim-pos-detail .loss { color: var(--danger); font-weight: 500; } /* 模拟交易记录列表 */ .sim-trades-list { display: flex; flex-direction: column; gap: 10px; } .sim-trade-item { display: flex; gap: 12px; background: var(--bg-glass); border-radius: 12px; padding: 12px; border: 1px solid var(--border-glass); } .sim-trade-type { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; flex-shrink: 0; } .sim-trade-type.buy { background: rgba(0, 255, 136, 0.15); color: var(--success); } .sim-trade-type.sell { background: rgba(255, 68, 68, 0.15); color: var(--danger); } .sim-trade-content { flex: 1; min-width: 0; } .sim-trade-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; } .sim-trade-stock { font-size: 13px; font-weight: 500; color: var(--text-primary); } .sim-trade-rate { font-size: 11px; color: var(--success); background: rgba(0, 255, 136, 0.1); padding: 2px 6px; border-radius: 4px; } .sim-trade-detail { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-secondary); margin-bottom: 4px; } .sim-trade-amount { font-weight: 500; color: var(--text-primary); } .sim-trade-reason { font-size: 11px; color: var(--text-muted); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sim-trade-date { font-size: 11px; color: var(--text-muted); } /* AI分析页面样式 */ .ai-analyze-page { padding: 16px 0; } .ai-input-section { background: var(--bg-glass); border: 1px solid var(--border-glass); border-radius: 12px; padding: 16px; margin-bottom: 16px; } .ai-input-row { display: flex; gap: 8px; margin-bottom: 10px; } .scan-source-select, .model-select { flex: 1; padding: 10px 12px; border: 1px solid var(--border-glass); border-radius: 8px; background: rgba(255, 255, 255, 0.05); color: var(--text-primary); font-size: 14px; } .model-select { max-width: 140px; } .model-desc { font-size: 12px; color: var(--text-muted); margin-top: 6px; margin-bottom: 10px; } /* 模型页面 */ .model-page { padding: 12px; } /* 信号体系各区块 */ .signal-system-section { background: var(--bg-glass); border: 1px solid var(--border-glass); border-radius: 12px; padding: 14px; margin-bottom: 12px; } .signal-system-section.highlight-section { border-color: rgba(255, 215, 0, 0.3); background: rgba(255, 215, 0, 0.05); } .signal-system-title { font-size: 14px; font-weight: 600; color: var(--text-primary); margin: 0 0 10px 0; padding-bottom: 6px; border-bottom: 1px solid var(--border-glass); } /* 信号胜率排行 */ .signal-rank-list { display: flex; flex-direction: column; gap: 6px; } .signal-rank-item { display: grid; grid-template-columns: 24px 72px 42px 1fr; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 8px; background: rgba(255,255,255,0.03); font-size: 12px; } .signal-rank-item .rank-param { display: none; } .rank-badge { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #fff; background: #555; } .rank-1 .rank-badge { background: linear-gradient(135deg, #ff6b6b, #ffd93d); } .rank-2 .rank-badge { background: linear-gradient(135deg, #00ce9e, #00b4d8); } .rank-3 .rank-badge { background: linear-gradient(135deg, #748ffc, #9775fa); } .rank-name { font-weight: 600; color: var(--text-primary); } .rank-1 .rank-name { color: #ffd93d; } .rank-2 .rank-name { color: #00ce9e; } .rank-3 .rank-name { color: #748ffc; } .rank-rate { font-weight: 700; color: #00ce9e; text-align: right; } .rank-desc { color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* 标准牛股启动顺序 */ .bull-flow { display: flex; align-items: center; gap: 3px; padding: 6px 0; flex-wrap: nowrap; justify-content: space-between; } .bull-step { display: flex; flex-direction: column; align-items: center; gap: 1px; flex: 1; min-width: 0; padding: 5px 2px; border-radius: 6px; background: rgba(255,255,255,0.05); border: 1px solid var(--border-glass); } .bull-num { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); color: #000; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 700; flex-shrink: 0; } .bull-label { font-size: 10px; font-weight: 600; color: var(--text-primary); text-align: center; line-height: 1.2; } .bull-hint { font-size: 8px; color: var(--text-muted); text-align: center; line-height: 1.1; } .bull-arrow { color: var(--text-muted); font-size: 10px; flex-shrink: 0; } .bull-note { font-size: 10px; color: var(--text-muted); margin-top: 4px; text-align: center; font-style: italic; } /* 手机端:标准牛股启动顺序防溢出 */ @media (max-width: 520px) { /* 父级裁剪,防止子元素撑开页面 */ .signal-system-section.bull-flow-section { overflow-x: hidden; overflow-y: visible; } .signal-system-section.bull-flow-section .bull-flow { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; justify-content: flex-start; padding: 8px 4px 8px 0; margin: 0 -4px; min-width: 0; width: 100%; max-width: 100%; box-sizing: border-box; } .signal-system-section.bull-flow-section .bull-flow .bull-step { flex: 0 0 auto; min-width: 58px; padding: 6px 4px; } .signal-system-section.bull-flow-section .bull-flow .bull-arrow { flex-shrink: 0; } .signal-system-section.bull-flow-section .bull-flow .bull-label { font-size: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 54px; display: block; margin: 0 auto; } .signal-system-section.bull-flow-section .bull-flow .bull-hint { font-size: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 54px; display: block; margin: 0 auto; } } /* 体系最强战法 */ .strategy-steps { display: flex; flex-direction: column; gap: 8px; } .strategy-step { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; background: rgba(255,255,255,0.03); } .strategy-step .step-icon { font-size: 16px; } .strategy-step .step-action { font-size: 12px; font-weight: 700; min-width: 32px; } .strategy-step .step-rule { font-size: 12px; color: var(--text-secondary); } .step-watch .step-action { color: #748ffc; } .step-buy .step-action { color: #ff6b6b; } .step-add .step-action { color: #00ce9e; } .step-hold .step-action { color: #ffd93d; } /* 核心信号一句话总结 */ .signal-summary-list { display: flex; flex-direction: column; gap: 6px; } .signal-summary-item { font-size: 12px; color: var(--text-secondary); display: flex; align-items: center; gap: 8px; } .summary-tag { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 4px; white-space: nowrap; } .summary-tag.core { background: rgba(255, 107, 107, 0.15); color: #ff6b6b; } .summary-tag.normal { background: rgba(0, 206, 158, 0.15); color: #00ce9e; } .summary-tag.aux { background: rgba(255,255,255,0.08); color: var(--text-muted); } /* 密码弹窗按钮 */ .password-buttons { display: flex; gap: 12px; margin-top: 16px; } .password-buttons .btn-cancel { flex: 1; padding: 12px; border: 1px solid var(--border-glass); border-radius: 8px; background: transparent; color: var(--text-secondary); font-size: 14px; cursor: pointer; } .password-buttons .btn-cancel:hover { background: rgba(255, 255, 255, 0.1); } .password-buttons .login-submit { flex: 1; margin-top: 0; } /* 股票组选择列表 */ .source-list { display: flex; gap: 8px; margin-bottom: 12px; } .source-item { flex: 1; text-align: center; background: var(--bg-glass); border: 1px solid var(--border-glass); border-radius: 8px; padding: 10px 12px; cursor: pointer; transition: all 0.2s; font-size: 13px; color: var(--text-secondary); } .source-item:hover { border-color: rgba(255, 255, 255, 0.3); } .source-item.active { border-color: var(--accent); background: rgba(0, 255, 136, 0.1); color: var(--text-primary); } .source-check { color: var(--accent); font-size: 14px; } .scan-action { margin-bottom: 12px; } .scan-btn-full { width: 100%; padding: 12px; background: rgba(255, 255, 255, 0.1); border: 1px solid var(--border-glass); border-radius: 10px; color: var(--text-primary); font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s; } .scan-btn-full:hover { background: rgba(255, 255, 255, 0.15); } .scan-btn-full:disabled { opacity: 0.6; cursor: not-allowed; transform: none; } .ai-stock-input { flex: 1; max-width: 180px; padding: 10px 12px; border: 1px solid var(--border-glass); border-radius: 8px; background: rgba(255, 255, 255, 0.05); color: var(--text-primary); font-size: 14px; } .ai-stock-input:focus { outline: none; border-color: rgba(255, 255, 255, 0.3); } .ai-analyze-btn { padding: 10px 16px; border: none; border-radius: 8px; background: rgba(255, 255, 255, 0.1); color: var(--text-primary); font-size: 13px; cursor: pointer; white-space: nowrap; } .ai-analyze-btn.primary { background: rgba(255, 255, 255, 0.15); color: var(--text-primary); } .ai-analyze-btn.primary:hover { background: rgba(255, 255, 255, 0.2); } .ai-analyze-btn:disabled { opacity: 0.5; cursor: not-allowed; } .ai-quick-stocks { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .quick-label { font-size: 12px; color: var(--text-muted); } .quick-stock-btn { padding: 6px 12px; border: 1px solid var(--border-glass); border-radius: 16px; background: transparent; color: var(--text-secondary); font-size: 12px; cursor: pointer; } .quick-stock-btn:hover { background: var(--bg-glass-hover); color: var(--text-primary); } .ai-result-section { background: var(--bg-glass); border: 1px solid var(--border-glass); border-radius: 12px; padding: 16px; margin-bottom: 16px; } .ai-result-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border-glass); } .ai-result-header h3 { font-size: 15px; font-weight: 600; color: var(--text-primary); } .ai-result-time { font-size: 11px; color: var(--text-muted); } .ai-result-content { font-size: 14px; line-height: 1.8; color: var(--text-secondary); } .ai-result-content strong { color: var(--text-primary); } /* AI思考过程样式 */ .ai-reasoning-section { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-glass); border-radius: 8px; margin-bottom: 16px; overflow: hidden; } .ai-reasoning-header { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; cursor: pointer; font-size: 13px; color: var(--text-secondary); } .ai-reasoning-header:hover { background: rgba(255, 255, 255, 0.05); } .ai-reasoning-header .expand-icon { font-size: 10px; color: var(--text-muted); } .ai-reasoning-content { padding: 0 16px 16px; font-size: 13px; line-height: 1.7; color: var(--text-muted); white-space: pre-wrap; max-height: 300px; overflow-y: auto; } /* AI加载指示器 */ .ai-loading-indicator { display: flex; align-items: center; gap: 8px; padding: 12px 0; font-size: 13px; color: var(--text-muted); } .loading-dot { display: inline-block; width: 8px; height: 8px; background: var(--success); border-radius: 50%; animation: pulse 1s infinite; } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } } .ai-result-content .ai-section-title { font-size: 15px; font-weight: 600; color: var(--text-primary); margin: 16px 0 8px 0; padding-bottom: 6px; border-bottom: 1px solid var(--border-glass); } .ai-result-content .ai-section-title:first-child { margin-top: 0; } .ai-result-content .ai-subsection-title { font-size: 14px; font-weight: 500; color: var(--text-primary); margin: 12px 0 6px 0; } .ai-result-content li { margin-left: 16px; list-style: disc; } .ai-history-section { background: var(--bg-glass); border: 1px solid var(--border-glass); border-radius: 12px; padding: 16px; margin-bottom: 16px; } .ai-history-list { display: flex; flex-direction: column; gap: 8px; } .ai-history-item { display: flex; justify-content: space-between; padding: 10px 12px; background: rgba(255, 255, 255, 0.03); border-radius: 8px; cursor: pointer; } .ai-history-item:hover { background: var(--bg-glass-hover); } .history-stock { font-size: 13px; color: var(--text-primary); } .history-time { font-size: 11px; color: var(--text-muted); } .ai-empty-tip { text-align: center; padding: 60px 20px; color: var(--text-muted); } .ai-empty-tip .empty-icon { font-size: 48px; margin-bottom: 16px; } .ai-empty-tip p { font-size: 14px; margin-bottom: 8px; } .ai-empty-tip .sub-tip { font-size: 12px; color: var(--text-muted); } /* 基本面弹窗中的AI分析 */ .ai-analysis-section { background: rgba(102, 126, 234, 0.1); border: 1px solid rgba(102, 126, 234, 0.3); border-radius: 12px; padding: 16px; margin: 12px 0; } .ai-analysis-content { font-size: 13px; line-height: 1.7; color: var(--text-secondary); max-height: 300px; overflow-y: auto; } .ai-close-btn { margin-top: 12px; padding: 8px 16px; border: 1px solid var(--border-glass); border-radius: 6px; background: transparent; color: var(--text-secondary); font-size: 12px; cursor: pointer; } /* 7个信号状态列表 */ .signal-status-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; } .signal-status-item { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 10px 12px; transition: all 0.2s; } .signal-status-item.triggered { background: rgba(0, 200, 83, 0.08); border-color: rgba(0, 200, 83, 0.3); } .signal-status-item.inactive { opacity: 0.85; } .ss-header { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; } .ss-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; } .ss-dot.s85 { background: #ff4444; } .ss-dot.s80 { background: #ff6b35; } .ss-dot.s75 { background: #4CAF50; } .ss-dot.s70 { background: #2196F3; } .ss-dot.s65 { background: #9C27B0; } .ss-dot.s60 { background: #FF9800; } .ss-dot.s55 { background: #607D8B; } .ss-name { font-weight: 600; font-size: 13px; color: #fff; } .ss-strength { font-size: 11px; color: var(--text-muted); } .ss-badge { font-size: 11px; padding: 1px 8px; border-radius: 10px; margin-left: auto; } .ss-badge.active { background: rgba(0, 200, 83, 0.2); color: #00c853; border: 1px solid rgba(0, 200, 83, 0.4); } .ss-badge.wait { background: rgba(255,255,255,0.06); color: var(--text-muted); border: 1px solid rgba(255,255,255,0.1); } .ss-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.5; padding-left: 16px; } /* ========== 智能执行结果模态框 ========== */ .smart-result-modal { background: var(--card-bg, #1a1a2e); border-radius: 16px; width: 90%; max-width: 480px; max-height: 80vh; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.1); } .smart-result-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); } .smart-result-title { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--text-primary, #fff); } .smart-result-icon.success { filter: none; } .smart-result-icon.warning { filter: none; } .smart-result-body { padding: 16px 20px; overflow-y: auto; flex: 1; } .smart-result-algo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 10px 14px; background: rgba(255, 255, 255, 0.04); border-radius: 10px; } .algo-badge { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; padding: 3px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.5px; } .result-summary { color: var(--text-secondary, #aaa); font-size: 14px; } .result-section-title { font-size: 13px; font-weight: 600; color: var(--text-secondary, #aaa); margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); } /* 交易结果列表 */ .smart-result-trades { margin-bottom: 16px; } .result-trade-item { display: flex; align-items: center; gap: 8px; padding: 8px 12px; margin-bottom: 6px; border-radius: 8px; background: rgba(255, 255, 255, 0.03); font-size: 13px; } .trade-type-tag { padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; } .trade-type-tag.buy { background: rgba(76, 175, 80, 0.2); color: #4caf50; } .trade-type-tag.sell, .trade-type-tag.partial_sell { background: rgba(244, 67, 54, 0.2); color: #f44336; } .trade-stock { color: var(--text-primary, #fff); font-weight: 500; flex: 1; } .trade-detail { color: var(--text-secondary, #aaa); font-size: 12px; } .trade-fee { color: #ff9800; font-size: 11px; } /* 详细原因列表 */ .smart-result-reasons { margin-bottom: 16px; } .result-reason-item { display: flex; align-items: flex-start; gap: 8px; padding: 10px 14px; margin-bottom: 6px; border-radius: 10px; font-size: 13px; line-height: 1.6; color: var(--text-primary, #fff); } .result-reason-item.reason-limit { background: rgba(255, 152, 0, 0.1); border-left: 3px solid #ff9800; } .result-reason-item.reason-cash { background: rgba(33, 150, 243, 0.1); border-left: 3px solid #2196f3; } .result-reason-item.reason-sell { background: rgba(244, 67, 54, 0.08); border-left: 3px solid #f44336; } .result-reason-item.reason-buy { background: rgba(76, 175, 80, 0.08); border-left: 3px solid #4caf50; } .result-reason-item.reason-info { background: rgba(255, 255, 255, 0.04); border-left: 3px solid rgba(255, 255, 255, 0.2); } .reason-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; } .reason-text { flex: 1; } /* 手续费和资金 */ .smart-result-fees, .smart-result-cash { padding: 8px 14px; margin-bottom: 6px; border-radius: 8px; background: rgba(255, 255, 255, 0.03); font-size: 13px; color: var(--text-secondary, #aaa); } .smart-result-footer { padding: 12px 20px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; justify-content: center; } .smart-result-footer .confirm-btn.ok { min-width: 120px; padding: 8px 24px; border-radius: 8px; font-size: 14px; }