@easyv/config 1.2.17 → 1.2.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/series.js CHANGED
@@ -270,7 +270,22 @@ export const bandSeries = (
270
270
  },
271
271
  ],
272
272
  },
273
- headDecorate !== undefined && imageGroup("headDecorate","头部装饰",headDecorate),
273
+ headDecorate !== undefined && sc("headDecorate","头部装饰",'',[
274
+ show(headDecorate.show || false),
275
+ sc("type","类型","radio",headDecorate.type||"image",{options:[
276
+ {name:"图片",value:"image"},
277
+ {name:"视频",value:"video"}
278
+ ]}),
279
+ sc("url","图片","image",headDecorate.image,{},showRule("type","$eq","image")),
280
+ sc("video","视频","video",headDecorate.video,{},showRule("type","$eq","video")),
281
+ sc("size","尺寸","group",[
282
+ sc("width","宽","number",headDecorate.size && headDecorate.size.width || 20,{span:12,suffix:"px"}),
283
+ sc("height","高","number",headDecorate.size && headDecorate.size.height || 20,{span:12,suffix:"px"})
284
+ ]),
285
+ translate(headDecorate.translate && headDecorate.translate.x, headDecorate.translate && headDecorate.translate.y)
286
+ ],{
287
+ defaultOpen:true
288
+ }),
274
289
  label(bandLabel),
275
290
  ].filter((item) => !!item),
276
291
  type: 'object',