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