优化登录页UI、新增占满布局类

This commit is contained in:
Cheng Zhou
2026-03-10 11:37:19 +08:00
parent 4c98147f3e
commit 8bec268a5b
47 changed files with 640 additions and 351 deletions
+10 -4
View File
@@ -1,5 +1,5 @@
<template>
<el-card class="panel">
<div class="panel unified-shell">
<div class="header">
<span>{{ TEXT.common.labels.category }}</span>
<div v-if="canMaintain">
@@ -23,7 +23,7 @@
</el-menu-item>
</el-menu>
<FaqCategoryForm v-model="showForm" :category="editing" :is-admin="isAdmin" @success="emit('refresh')" />
</el-card>
</div>
</template>
<script setup lang="ts">
@@ -94,18 +94,24 @@ const onDelete = async (cat: FaqCategory) => {
<style scoped>
.panel {
padding: 0;
border: 0;
border-radius: 0;
box-shadow: none;
overflow: hidden;
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px;
padding: 0 0 12px;
border-bottom: 1px solid #ebeef5;
}
.menu {
max-height: calc(100vh - 240px);
overflow: auto;
border-right: 0;
}
.actions {
margin-left: auto;