feat(platform): surface customer next best actions

This commit is contained in:
lingniu
2026-07-06 04:24:18 +08:00
parent 6246887b86
commit f068fc772d
3 changed files with 189 additions and 0 deletions

View File

@@ -2729,6 +2729,30 @@ export function Dashboard({
</button>
))}
</div>
<div className="vp-customer-service-next" aria-label="建议下一步">
<div className="vp-customer-service-next-copy">
<Typography.Text strong></Typography.Text>
<Typography.Text type="secondary">
线
</Typography.Text>
</div>
<div className="vp-customer-service-next-grid">
{customerNextActions.map((item) => (
<button
key={`${item.level}-${item.title}`}
type="button"
className="vp-customer-service-next-item"
onClick={item.onClick}
aria-label={`建议下一步 ${item.level} ${item.title} ${item.action}`}
>
<Tag color={item.color}>{item.level}</Tag>
<strong>{item.title}</strong>
<span>{item.detail}</span>
<em>{item.action}</em>
</button>
))}
</div>
</div>
</section>
) : null}
{focusMode === 'time-window' ? (