登录页背景图不能全屏修改样式

This commit is contained in:
duyufeng
2024-08-26 09:27:23 +08:00
parent 4836efd896
commit d4b0e13fa1

View File

@@ -1,8 +1,10 @@
<template>
<a-config-provider :locale="locale">
<a-spin :spinning="state.isLoading" size="large">
<router-view />
</a-spin>
<div style="width:100%;height:100%;">
<a-spin :spinning="state.isLoading" size="large">
<router-view />
</a-spin>
</div>
</a-config-provider>
</template>
@@ -193,4 +195,13 @@
color: rgba(51, 51, 51, 1);
}
}
:deep(.ant-spin-nested-loading) {
min-height: 100%;
height: 100%;
}
:deep(.ant-spin-container) {
min-height: 100%;
height: 100%;
}
</style>