forked from fanruan/fineui
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
606 B
25 lines
606 B
7 years ago
|
Demo.Func = BI.inherit(BI.Widget, {
|
||
|
props: {
|
||
|
baseCls: "demo-func"
|
||
|
},
|
||
|
|
||
|
render: function () {
|
||
|
BI.createWidget({
|
||
|
type: "bi.vertical",
|
||
|
hgap: 200,
|
||
|
vgap: 50,
|
||
|
element: this,
|
||
|
items: [{
|
||
|
type: "bi.label",
|
||
|
height: 30,
|
||
|
text: " (测试条件:总页数为3)"
|
||
|
}, {
|
||
|
type: "bi.all_count_pager",
|
||
|
pages: 3,
|
||
|
curr: 1,
|
||
|
count: 1000
|
||
|
}]
|
||
|
})
|
||
|
}
|
||
|
});
|
||
|
BI.shortcut("demo.all_count_pager", Demo.Func);
|