提交 95261f88 编写于 作者: tony001's avatar tony001

update:更新

上级 32dfe5f3
/**
* 表单成员模型
* 面板成员模型
*
* @export
* @class PanelDetailModel
*/
export class PanelDetailModel {
export class PanelDetailModel {
/**
* 成员标题
......@@ -46,6 +46,101 @@ export class PanelDetailModel {
*/
public visible: boolean = true;
/**
* 布局模式
*
* @type {string}
* @memberof PanelDetailModel
*/
public layout:string = '';
/**
* 布局占位(边缘布局使用)
*
* @type {string}
* @memberof PanelDetailModel
*/
public layoutPos:string = '';
/**
* 布局高度
*
* @type {string}
* @memberof PanelDetailModel
*/
public layoutHeight:string = '';
/**
* 高度模式
*
* @type {string}
* @memberof PanelDetailModel
*/
public heightMode:string = '';
/**
* 布局宽度
*
* @type {string}
* @memberof PanelDetailModel
*/
public layoutWidth:string = '';
/**
* 宽度模式
*
* @type {string}
* @memberof PanelDetailModel
*/
public widthMode:string = '';
/**
* 下档间隔
*
* @type {string}
* @memberof PanelDetailModel
*/
public spacingBottom:string = '';
/**
* 左侧间隔
*
* @type {string}
* @memberof PanelDetailModel
*/
public spacingLeft:string = '';
/**
* 右侧间隔
*
* @type {string}
* @memberof PanelDetailModel
*/
public spacingRight:string = '';
/**
* 顶部间隔
*
* @type {string}
* @memberof PanelDetailModel
*/
public spacingTop:string = '';
/**
* 自身水平对齐模式
*
* @type {string}
* @memberof PanelDetailModel
*/
public hAlignSelf:string = '';
/**
* 自身垂直对齐模式
*
* @type {string}
* @memberof PanelDetailModel
*/
public vAlignSelf:string = '';
/**
* Creates an instance of PanelDetailModel.
......@@ -60,6 +155,18 @@ export class PanelDetailModel {
this.panel = opts.panel ? opts.panel : {};
this.name = !Object.is(opts.name, '') ? opts.name : '';
this.visible = opts.visible ? true : false;
this.layout = opts.layout;
this.layoutPos = opts.layoutPos;
this.layoutHeight = opts.layoutHeight;
this.heightMode = opts.heightMode;
this.layoutWidth = opts.layoutWidth;
this.widthMode = opts.widthMode;
this.spacingBottom = opts.spacingBottom;
this.spacingLeft = opts.spacingLeft;
this.spacingRight = opts.spacingRight;
this.spacingTop = opts.spacingTop;
this.hAlignSelf = opts.hAlignSelf;
this.vAlignSelf = opts.vAlignSelf;
}
}
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册