feat: add dynamic nav, fix album preview and store types

add dynamic TopNavBar to goods page that updates styling based on scroll position
fix album page preview logic, replace uni preview with vant showImagePreview and correct typos
add TypeScript type annotation to picture store action
clean up album page layout and fix invalid img tag
use computed album list from picture store
This commit is contained in:
duanshuwen
2026-05-31 22:06:11 +08:00
parent 6c353163df
commit e3f8e94547
3 changed files with 25 additions and 24 deletions

View File

@@ -8,7 +8,7 @@ export const usePictureStore = defineStore("picture", {
},
actions: {
setPreviewImageData(data) {
setPreviewImageData(data: any[]) {
this.previewImageData = data;
},
},