This commit is contained in:
Leo_Ding 2025-11-26 15:45:21 +08:00
parent 912a72766c
commit 711e237010

View File

@ -2,10 +2,9 @@
<div id="app">
<!-- <Header v-if="!isLoginPage"/> -->
<main class="main-content">
<a-config-provider :locale="zhCN">
<router-view />
</a-config-provider>
<a-config-provider :locale="zhCN">
<router-view />
</a-config-provider>
</main>
</div>
</template>
@ -33,9 +32,11 @@ const isLoginPage = computed(() => {
box-sizing: border-box;
}
html, body {
html,
body {
height: 100%;
overflow-x: hidden; /* 可选:防止水平滚动 */
overflow-x: hidden;
/* 可选:防止水平滚动 */
}
#app {
@ -59,8 +60,9 @@ header {
overflow: hidden;
height: 100vh;
}
.x-search-bar .ant-form-item{
margin-right: 0;
margin-bottom: 0;
.x-search-bar .ant-form-item {
margin-right: 0;
margin-bottom: 0;
}
</style>