fix error bug
This commit is contained in:
@@ -102,9 +102,13 @@
|
||||
<span class="check-icon">✓</span> 已完成
|
||||
</div>
|
||||
|
||||
<div v-else-if="software.status === 'error'" class="status-error">
|
||||
❌ 失败
|
||||
</div>
|
||||
<button
|
||||
v-else-if="software.status === 'error'"
|
||||
@click.stop="$emit('install', software.id)"
|
||||
class="action-btn retry-btn"
|
||||
>
|
||||
重试
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -366,6 +370,16 @@ const handleCardClick = () => {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.retry-btn {
|
||||
background-color: rgba(255, 59, 48, 0.05);
|
||||
color: #FF3B30;
|
||||
}
|
||||
|
||||
.retry-btn:hover {
|
||||
background-color: #FF3B30;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.installed-btn {
|
||||
background-color: #F2F2F7;
|
||||
color: #AEAEB2;
|
||||
|
||||
Reference in New Issue
Block a user