This commit is contained in:
Daniel 2025-06-10 15:53:45 +08:00
parent 8d100bfae7
commit 1426d17c5b
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 15 additions and 2 deletions

View file

@ -26,8 +26,14 @@ func RenderAttributeViewGallery(attrView *av.AttributeView, view *av.View, query
Filters: view.Gallery.Filters,
Sorts: view.Gallery.Sorts,
},
Fields: []*av.GalleryField{},
Cards: []*av.GalleryCard{},
CoverFrom: view.Gallery.CoverFrom,
CoverFromAssetKeyID: view.Gallery.CoverFromAssetKeyID,
CardSize: view.Gallery.CardSize,
FitImage: view.Gallery.FitImage,
ShowIcon: view.Gallery.ShowIcon,
WrapField: view.Gallery.WrapField,
Fields: []*av.GalleryField{},
Cards: []*av.GalleryCard{},
}
// 组装字段