|
|
@ -6044,30 +6044,7 @@ Demo.HtapeLayout = BI.inherit(BI.Widget, { |
|
|
|
}; |
|
|
|
}; |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
BI.shortcut("demo.htape", Demo.HtapeLayout);Demo.InlineVerticalLayout = BI.inherit(BI.Widget, { |
|
|
|
BI.shortcut("demo.htape", Demo.HtapeLayout);/** |
|
|
|
props: { |
|
|
|
|
|
|
|
baseCls: "demo-absolute" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
render: function () { |
|
|
|
|
|
|
|
return { |
|
|
|
|
|
|
|
type: "bi.inline_vertical_adapt", |
|
|
|
|
|
|
|
items: [{ |
|
|
|
|
|
|
|
type: "bi.label", |
|
|
|
|
|
|
|
text: "绝对布局", |
|
|
|
|
|
|
|
cls: "layout-bg1", |
|
|
|
|
|
|
|
width: 300, |
|
|
|
|
|
|
|
height: 200 |
|
|
|
|
|
|
|
}, { |
|
|
|
|
|
|
|
type: "bi.label", |
|
|
|
|
|
|
|
text: "绝对布局", |
|
|
|
|
|
|
|
cls: "layout-bg1", |
|
|
|
|
|
|
|
width: 300, |
|
|
|
|
|
|
|
height: 100 |
|
|
|
|
|
|
|
}] |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
BI.shortcut("demo.inline_vertical", Demo.InlineVerticalLayout);/** |
|
|
|
|
|
|
|
* Created by User on 2017/3/22. |
|
|
|
* Created by User on 2017/3/22. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
Demo.LeftRightVerticalAdaptLayout = BI.inherit(BI.Widget, { |
|
|
|
Demo.LeftRightVerticalAdaptLayout = BI.inherit(BI.Widget, { |
|
|
@ -13297,8 +13274,7 @@ Demo.CONSTANTS = { |
|
|
|
{id: 22, pId: 2, value: "第二级文件2", text: "第二级文件2"}, |
|
|
|
{id: 22, pId: 2, value: "第二级文件2", text: "第二级文件2"}, |
|
|
|
{id: 211, pId: 21, value: "第三级目录2", text: "第三级目录2"}, |
|
|
|
{id: 211, pId: 21, value: "第三级目录2", text: "第三级目录2"}, |
|
|
|
{id: 212, pId: 21, value: "第三级文件2", text: "第三级文件2"}, |
|
|
|
{id: 212, pId: 21, value: "第三级文件2", text: "第三级文件2"}, |
|
|
|
{id: 2111, pId: 211, value: "第四级文件1", text: "第四级文件1"}, |
|
|
|
{id: 2111, pId: 211, value: "第四级文件1", text: "第四级文件1"}], |
|
|
|
{id: 3, pId: -1, value: "第一级目录3", text: "第一级目录3", isParent: true}], |
|
|
|
|
|
|
|
LEVELTREE: [{ |
|
|
|
LEVELTREE: [{ |
|
|
|
id: 1, |
|
|
|
id: 1, |
|
|
|
text: "第一项", |
|
|
|
text: "第一项", |
|
|
|