优化前端按钮对比度与响应式布局

This commit is contained in:
biss committed 2026-11-30 17:02:49 +08:00
1 parent a2fd08fe7e
commit e14939edb9
21 files changed
+278 -50

No files matched your search

+7
View File
@@ -53,4 +53,11 @@ const elementLocale = computed(() => currentLocale.value === 'en-US' ? en : zhCn
box-shadow: 0 8px 28px rgb(32 48 58 / 18%);
font-size: 14px;
}
@media (max-width: 600px) {
.license-expired-notice {
position: static;
max-width: none;
margin: 12px 14px;
}
}
</style>
+1 -1
View File
@@ -77,7 +77,7 @@ defineExpose({ open })
.drag-handle { cursor: grab; color: var(--el-text-color-secondary); }
.column-actions { display: flex; flex-shrink: 0; gap: 3px; }
.column-actions button { border: 0; background: transparent; color: var(--el-color-primary); cursor: pointer; font-size: 16px; }
.column-actions button:disabled { color: var(--el-disabled-text-color); cursor: default; }
.column-actions button:disabled { color: var(--button-disabled-text); cursor: not-allowed; }
.empty { color: var(--el-text-color-placeholder); text-align: center; }
.export-options { margin-top: 16px; }
@media (max-width: 600px) { .export-columns { grid-template-columns: 1fr; } .column-list { min-height: 80px; max-height: 180px; } }
+5 -2
View File
@@ -108,7 +108,7 @@ onMounted(load)
<section class="appeal-panel" v-loading="loading">
<header>
<div><b>{{ t(student ? 'gradeAppeal.myTitle' : 'gradeAppeal.reviewTitle') }}</b><small>{{ t(student ? 'gradeAppeal.myDescription' : 'gradeAppeal.reviewDescription') }}</small></div>
<div v-if="!student"><el-select v-model="status" clearable :placeholder="t('gradeAppeal.allStatuses')" @change="page=1;load()"><el-option v-for="key in statusValues" :key="key" :value="key" :label="statusLabel(key)" /></el-select><el-button @click="load">{{ t('gradeAppeal.refresh') }}</el-button></div>
<div v-if="!student" class="appeal-filters"><el-select v-model="status" clearable :placeholder="t('gradeAppeal.allStatuses')" @change="page=1;load()"><el-option v-for="key in statusValues" :key="key" :value="key" :label="statusLabel(key)" /></el-select><el-button @click="load">{{ t('gradeAppeal.refresh') }}</el-button></div>
</header>
<el-table :data="items" :empty-text="t('gradeAppeal.empty')">
<el-table-column v-if="!student" :label="t('gradeAppeal.student')" width="160"><template #default="{row}"><b>{{row.studentName}}</b><br><small>{{row.studentNumber}}</small></template></el-table-column>
@@ -140,5 +140,8 @@ onMounted(load)
</template>
<style scoped>
.appeal-panel{margin:16px 0;border:1px solid var(--line);background:var(--surface)}.appeal-panel>header{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:14px 16px;border-bottom:1px solid var(--line)}.appeal-panel>header div{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.appeal-panel small{color:var(--muted)}.review-form{margin-top:18px}
.appeal-panel{margin:16px 0;border:1px solid var(--line);background:var(--surface)}.appeal-panel>header{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:14px 16px;border-bottom:1px solid var(--line)}.appeal-panel>header>div{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.appeal-panel small{color:var(--muted)}.review-form{margin-top:18px}
.appeal-filters { flex: 0 0 auto; }
.appeal-filters :deep(.el-select) { width: 150px; }
@media (max-width: 600px) { .appeal-panel > header { align-items: flex-start; flex-direction: column; } .appeal-filters { width: 100%; } .appeal-filters :deep(.el-select) { flex: 1; min-width: 120px; } }
</style>
Loaded 3 of 21 files, more files were not shown because too many files have changed in this diff. Show more