mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
🎨 Database gallery view https://github.com/siyuan-note/siyuan/issues/10414
This commit is contained in:
parent
8d100bfae7
commit
1426d17c5b
2 changed files with 15 additions and 2 deletions
|
|
@ -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{},
|
||||
}
|
||||
|
||||
// 组装字段
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue