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

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> <template>
<a-config-provider :locale="locale"> <a-config-provider :locale="locale">
<a-spin :spinning="state.isLoading" size="large"> <div style="width:100%;height:100%;">
<router-view /> <a-spin :spinning="state.isLoading" size="large">
</a-spin> <router-view />
</a-spin>
</div>
</a-config-provider> </a-config-provider>
</template> </template>
@@ -193,4 +195,13 @@
color: rgba(51, 51, 51, 1); 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> </style>