Browse Source

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

temp
duyufeng 4 weeks ago
parent
commit
d4b0e13fa1
  1. 17
      hx-ai-intelligent/src/App.vue

17
hx-ai-intelligent/src/App.vue

@ -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>

Loading…
Cancel
Save