refactor: 优化加载页面

This commit is contained in:
xlsea 2024-04-13 01:28:39 +08:00
parent 08c04dba04
commit 1a4aaf5b58

View File

@ -18,7 +18,7 @@ export function setupLoading() {
'right-0 bottom-0 animate-delay-1500'
];
const logoWithClass = systemLogo.replace('<svg', `<svg class="size-128px text-primary"`);
const logoWithClass = systemLogo.replace('<svg', `<svg class="size-180px text-primary"`);
const dot = loadingClasses
.map(item => {
@ -29,7 +29,7 @@ export function setupLoading() {
const loading = `
<div class="fixed-center flex-col" style="${primaryColor}">
${logoWithClass}
<div class="w-56px h-56px my-36px">
<div class="w-42px h-42px my-36px">
<div class="relative h-full animate-spin">
${dot}
</div>