优化登录页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 -16
View File
@@ -1,5 +1,5 @@
<template>
<div class="page ctms-page-shell">
<div class="page ctms-page-shell page--flush">
<div class="overview">
<el-row :gutter="20">
<el-col :xs="24" :sm="12" :md="6">
@@ -53,7 +53,7 @@
<StateLoading v-else-if="loading" :rows="6" />
<el-card shadow="never" class="main-content-card unified-shell" v-else>
<div class="main-content-flat unified-shell" v-else>
<div class="filter-container unified-action-bar">
<el-form :inline="true" :model="filters" class="filter-form">
<el-form-item label="" class="filter-item">
@@ -86,13 +86,13 @@
</el-button>
</el-form>
</div>
<section class="unified-section">
<section class="unified-section contract-table-section section--flush-x section--flush-top section--flush-bottom">
<el-table
:data="sortedContracts"
style="width: 100%"
@row-click="onRowClick"
:row-class-name="contractRowClass"
:header-cell-style="{ background: '#f8f9fb' }"
class="contract-table"
>
<el-table-column prop="center_name" :label="TEXT.common.fields.site" min-width="160">
<template #default="scope">
@@ -167,7 +167,7 @@
</el-table>
<StateEmpty v-if="sortedContracts.length === 0" :description="TEXT.modules.feeContracts.empty" />
</section>
</el-card>
</div>
</div>
</template>
@@ -350,18 +350,14 @@ onMounted(async () => {
gap: 0;
}
.main-content-card :deep(.el-card__body) {
padding: 0;
}
.filter-container {
margin-bottom: 0;
.overview {
margin: 0;
}
.filter-form {
display: flex;
width: 100%;
gap: 12px;
gap: 8px;
align-items: center;
}
@@ -383,10 +379,8 @@ onMounted(async () => {
flex: 1;
}
.table-card {
border-radius: 12px;
border: 1px solid var(--ctms-border-color);
overflow: hidden;
.contract-table :deep(.el-table__inner-wrapper::before) {
display: none;
}
.site-cell {