|
|
@ -12,33 +12,17 @@ BI.createWidget({ |
|
|
|
type: 'bi.horizontal', |
|
|
|
type: 'bi.horizontal', |
|
|
|
element: "#wrapper", |
|
|
|
element: "#wrapper", |
|
|
|
items: [{ |
|
|
|
items: [{ |
|
|
|
type: "bi.absolute", |
|
|
|
|
|
|
|
items: [{ |
|
|
|
|
|
|
|
el: { |
|
|
|
|
|
|
|
type: "bi.text_button", |
|
|
|
type: "bi.text_button", |
|
|
|
cls: "layout-bg1", |
|
|
|
cls: "layout-bg1", |
|
|
|
text: "这里设置了lgap,rgap,tgap,bgap", |
|
|
|
text: "这里设置了lgap,rgap,tgap,bgap", |
|
|
|
height: 30 |
|
|
|
height: 30, |
|
|
|
}, |
|
|
|
width: 200 |
|
|
|
left: 0, |
|
|
|
|
|
|
|
right: 0 |
|
|
|
|
|
|
|
}], |
|
|
|
|
|
|
|
width: 100, |
|
|
|
|
|
|
|
height: 30 |
|
|
|
|
|
|
|
}, { |
|
|
|
}, { |
|
|
|
type: "bi.absolute", |
|
|
|
|
|
|
|
items: [{ |
|
|
|
|
|
|
|
el: { |
|
|
|
|
|
|
|
type: "bi.text_button", |
|
|
|
type: "bi.text_button", |
|
|
|
cls: "layout-bg2", |
|
|
|
cls: "layout-bg2", |
|
|
|
text: "这里设置了lgap,rgap,tgap,bgap", |
|
|
|
text: "这里设置了lgap,rgap,tgap,bgap", |
|
|
|
height: 30 |
|
|
|
height: 30, |
|
|
|
}, |
|
|
|
width: 200 |
|
|
|
left: 0, |
|
|
|
|
|
|
|
right: 0 |
|
|
|
|
|
|
|
}], |
|
|
|
|
|
|
|
width: 200, |
|
|
|
|
|
|
|
height: 30 |
|
|
|
|
|
|
|
}] |
|
|
|
}] |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|