mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-06-19 06:30:35 +08:00
refactor: 优化代码格式,简化部分逻辑,提升可读性
This commit is contained in:
@@ -144,8 +144,8 @@ onMounted(getModules)
|
||||
isChecking
|
||||
? t('moduleTest.checking')
|
||||
: checkComplete
|
||||
? t('moduleTest.complete')
|
||||
: t('moduleTest.preparing')
|
||||
? t('moduleTest.complete')
|
||||
: t('moduleTest.preparing')
|
||||
}}
|
||||
</h3>
|
||||
</div>
|
||||
@@ -230,16 +230,15 @@ onMounted(getModules)
|
||||
<style scoped>
|
||||
.system-health-check {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
flex: 1 1 auto;
|
||||
flex-direction: column;
|
||||
block-size: 100%;
|
||||
min-block-size: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.progress-container {
|
||||
flex-shrink: 0;
|
||||
background: var(--v-surface-variant);
|
||||
}
|
||||
|
||||
.progress-card {
|
||||
@@ -336,10 +335,6 @@ onMounted(getModules)
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.module-item:hover {
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.module-item.success {
|
||||
border-color: #4caf50;
|
||||
background: linear-gradient(135deg, #f8fff9 0%, #e8f5e8 100%);
|
||||
|
||||
Reference in New Issue
Block a user