优化Gallery页面滚动加载和布局,调整菜单项命名,添加Apps页面,更新依赖声明

This commit is contained in:
2025-12-29 10:14:38 +08:00
parent 64b377b84d
commit cec3974cf3
7 changed files with 44 additions and 41 deletions

View File

@ -1,8 +1,8 @@
<template>
<div class="image-container">
<div class="image-container flex justify-center items-center">
<n-image ref="lazyRef" class="lazy__img" :src="url" @load="handleLoad" @error="handleError">
<template #placeholder>
<img :src="loading" alt="loading" />
<img width="400" :src="loading" alt="loading" />
</template>
<template #error>
<img :src="errorImg" alt="error" />
@ -62,7 +62,7 @@ onMounted(() => {
.lazy__img img[alt="loading"],
.lazy__img img[alt="error"] {
width: 48px;
width: 80px;
height: 80px;
padding: 1em;
margin: 0 auto;