mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-03 23:14:13 +00:00 
			
		
		
		
	enhance(frontend): 🌸
This commit is contained in:
		
							parent
							
								
									0641454c23
								
							
						
					
					
						commit
						6915fde1cf
					
				
					 2 changed files with 25 additions and 8 deletions
				
			
		| 
						 | 
					@ -81,13 +81,18 @@ export async function mainBoot() {
 | 
				
			||||||
			// ▼南半球
 | 
								// ▼南半球
 | 
				
			||||||
			if (month === 7 || month === 8) {
 | 
								if (month === 7 || month === 8) {
 | 
				
			||||||
				const SnowfallEffect = (await import('@/scripts/snowfall-effect.js')).SnowfallEffect;
 | 
									const SnowfallEffect = (await import('@/scripts/snowfall-effect.js')).SnowfallEffect;
 | 
				
			||||||
				new SnowfallEffect().render();
 | 
									new SnowfallEffect({}).render();
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		} else {
 | 
							} else {
 | 
				
			||||||
			// ▼北半球
 | 
								// ▼北半球
 | 
				
			||||||
			if (month === 12 || month === 1) {
 | 
								if (month === 12 || month === 1) {
 | 
				
			||||||
				const SnowfallEffect = (await import('@/scripts/snowfall-effect.js')).SnowfallEffect;
 | 
									const SnowfallEffect = (await import('@/scripts/snowfall-effect.js')).SnowfallEffect;
 | 
				
			||||||
				new SnowfallEffect().render();
 | 
									new SnowfallEffect({}).render();
 | 
				
			||||||
 | 
								} else if (month === 3 || month === 4) {
 | 
				
			||||||
 | 
									const SakuraEffect = (await import('@/scripts/snowfall-effect.js')).SnowfallEffect;
 | 
				
			||||||
 | 
									new SakuraEffect({
 | 
				
			||||||
 | 
										sakura: true,
 | 
				
			||||||
 | 
									}).render();
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
		Loading…
	
	Add table
		
		Reference in a new issue