正在显示
1 个修改的文件
包含
9 行增加
和
9 行删除
| @@ -28,15 +28,15 @@ type LayoutRuleItem struct { | @@ -28,15 +28,15 @@ type LayoutRuleItem struct { | ||
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | type LayoutCell struct { | 30 | type LayoutCell struct { |
| 31 | - Type string `json:"type,omitempty"` // Table TableField Text Null | ||
| 32 | - Data *LayoutCellData `json:"data,omitempty"` | ||
| 33 | - Direction string `json:"direction,omitempty"` // 向右:Right 向下:Down | ||
| 34 | - Position *Location `json:"position"` | ||
| 35 | - X int `json:"-"` | ||
| 36 | - Y int `json:"-"` | ||
| 37 | - Length int `json:"-"` | ||
| 38 | - BlockData []string `json:"-"` | ||
| 39 | - ImageData string `json:"-"` | 31 | + Type string `json:"type,omitempty"` // 配置单元类型 字段:TableField 文本:Text |
| 32 | + Data *LayoutCellData `json:"data,omitempty"` // 配置单元配置值(设置的字段、设置的值) | ||
| 33 | + Direction string `json:"direction,omitempty"` // 配置单元方向 向右:Right 向下:Down 无方向:Null | ||
| 34 | + Position *Location `json:"position"` // 配置单元的定位点 | ||
| 35 | + X int `json:"-"` // 计算后的X坐标 | ||
| 36 | + Y int `json:"-"` // 计算后的Y坐标 | ||
| 37 | + Length int `json:"-"` // 数据长度 | ||
| 38 | + BlockData []string `json:"-"` // 数据块 | ||
| 39 | + ImageData string `json:"-"` // 调试使用的数据 | ||
| 40 | } | 40 | } |
| 41 | type Location struct { | 41 | type Location struct { |
| 42 | X int `json:"x"` | 42 | X int `json:"x"` |
-
请 注册 或 登录 后发表评论