refactor: 优化加载页面
This commit is contained in:
		
							parent
							
								
									08c04dba04
								
							
						
					
					
						commit
						1a4aaf5b58
					
				@ -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>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user