This commit is contained in:
Daniel 2025-06-09 22:33:25 +08:00
parent a93762abd3
commit fd4a24243c
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 35 additions and 3 deletions

View file

@ -25,9 +25,9 @@ type LayoutGallery struct {
CoverFrom CoverFrom `json:"coverFrom"` // 封面来源01内容图2资源字段
CoverFromAssetKeyID string `json:"coverFromAssetKeyId,omitempty"` // 资源字段 IDCoverFrom 为 2 时有效
CardSize CardSize `json:"cardSize"` // 卡片大小0小卡片1中卡片2大卡片
FitImage bool `json:"fitImage"` // 是否适应图片大小
ShowIcon bool `json:"showIcon"` // 是否显示图标
WrapField bool `json:"wrapField"` // 是否换行字段
FitImage bool `json:"fitImage"` // 是否适应封面图片大小
ShowIcon bool `json:"showIcon"` // 是否显示字段图标
WrapField bool `json:"wrapField"` // 是否换行字段内容
CardFields []*ViewGalleryCardField `json:"fields"` // 画廊卡片字段
CardIDs []string `json:"cardIds"` // 卡片 ID用于自定义排序