feat(渲染能力): 完善资源加载与页面渲染,修复注释显隐问题
build.yaml / build (push) Successful in 37s

This commit is contained in:
xiaoqidun committed 2026-09-10 00:04:28 +08:00
1 parent bed08b2c4b
commit 0d83cabecc
8 files changed
+133 -32

No files matched your search

+21 -10
View File
@@ -22,7 +22,7 @@ type PageContent struct {
ID string `xml:"-"`
Area PageArea `xml:"Area"`
Template []Template `xml:"Template"`
PageRes string `xml:"PageRes"`
PageRes []string `xml:"PageRes"`
Content Content `xml:"Content"`
Actions []Action `xml:"Actions>Action"`
}
@@ -225,13 +225,24 @@ type ShdColor struct {
// ImageObject 图片对象
type ImageObject struct {
ID string `xml:"ID,attr"`
Boundary string `xml:"Boundary,attr"`
ResourceID string `xml:"ResourceID,attr"`
ImageMask string `xml:"ImageMask,attr"`
CTM string `xml:"CTM,attr"`
Alpha *int `xml:"Alpha,attr"`
Visible *bool `xml:"Visible,attr"`
Clips *Clips `xml:"Clips"`
Actions []Action `xml:"Actions>Action"`
ID string `xml:"ID,attr"`
Boundary string `xml:"Boundary,attr"`
ResourceID string `xml:"ResourceID,attr"`
ImageMask string `xml:"ImageMask,attr"`
CTM string `xml:"CTM,attr"`
Alpha *int `xml:"Alpha,attr"`
Visible *bool `xml:"Visible,attr"`
Border *ImageBorder `xml:"Border"`
Clips *Clips `xml:"Clips"`
Actions []Action `xml:"Actions>Action"`
}
// ImageBorder 图像边框
type ImageBorder struct {
LineWidth *float64 `xml:"LineWidth,attr"`
HorizonalCornerRadius float64 `xml:"HorizonalCornerRadius,attr"`
VerticalCornerRadius float64 `xml:"VerticalCornerRadius,attr"`
DashOffset float64 `xml:"DashOffset,attr"`
DashPattern string `xml:"DashPattern,attr"`
BorderColor *StrokeColor `xml:"BorderColor"`
}