style(export): soften non-text batch buttons

This commit is contained in:
aits2026
2026-03-06 14:34:25 +08:00
parent f4037a1ccf
commit d735ed19cb
2 changed files with 26 additions and 6 deletions

View File

@@ -5364,6 +5364,7 @@ function ExportPage() {
? isSnsCardStatsLoading
: false
const isCardRunning = runningCardTypes.has(card.type)
const isPrimaryCard = card.type === 'text'
return (
<div key={card.type} className="content-card">
<div className="card-header">
@@ -5393,7 +5394,7 @@ function ExportPage() {
))}
</div>
<button
className={`card-export-btn ${isCardRunning ? 'running' : ''}`}
className={`card-export-btn ${isPrimaryCard ? 'primary' : 'secondary'} ${isCardRunning ? 'running' : ''}`}
disabled={isCardRunning}
onClick={() => {
if (card.type === 'sns') {