refactor: 优化加载页面
This commit is contained in:
		
							parent
							
								
									08c04dba04
								
							
						
					
					
						commit
						1a4aaf5b58
					
				@ -18,7 +18,7 @@ export function setupLoading() {
 | 
				
			|||||||
    'right-0 bottom-0 animate-delay-1500'
 | 
					    '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
 | 
					  const dot = loadingClasses
 | 
				
			||||||
    .map(item => {
 | 
					    .map(item => {
 | 
				
			||||||
@ -29,7 +29,7 @@ export function setupLoading() {
 | 
				
			|||||||
  const loading = `
 | 
					  const loading = `
 | 
				
			||||||
<div class="fixed-center flex-col" style="${primaryColor}">
 | 
					<div class="fixed-center flex-col" style="${primaryColor}">
 | 
				
			||||||
  ${logoWithClass}
 | 
					  ${logoWithClass}
 | 
				
			||||||
  <div class="w-56px h-56px my-36px">
 | 
					  <div class="w-42px h-42px my-36px">
 | 
				
			||||||
    <div class="relative h-full animate-spin">
 | 
					    <div class="relative h-full animate-spin">
 | 
				
			||||||
      ${dot}
 | 
					      ${dot}
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user