|
|
@ -309,6 +309,67 @@ Demo.Button = BI.inherit(BI.Widget, { |
|
|
|
cls: "hover-mask", |
|
|
|
cls: "hover-mask", |
|
|
|
light: true |
|
|
|
light: true |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
}, { |
|
|
|
|
|
|
|
el: { |
|
|
|
|
|
|
|
type: "bi.button", |
|
|
|
|
|
|
|
width: 24, |
|
|
|
|
|
|
|
height: 24, |
|
|
|
|
|
|
|
clear: true, |
|
|
|
|
|
|
|
level: "error", |
|
|
|
|
|
|
|
iconCls: "search-font", |
|
|
|
|
|
|
|
cls: "bi-list-item-select4" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, { |
|
|
|
|
|
|
|
el: { |
|
|
|
|
|
|
|
type: "bi.button", |
|
|
|
|
|
|
|
width: 24, |
|
|
|
|
|
|
|
height: 24, |
|
|
|
|
|
|
|
clear: true, |
|
|
|
|
|
|
|
level: "warning", |
|
|
|
|
|
|
|
iconCls: "search-font", |
|
|
|
|
|
|
|
cls: "bi-list-item-select4" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, { |
|
|
|
|
|
|
|
el: { |
|
|
|
|
|
|
|
type: "bi.button", |
|
|
|
|
|
|
|
width: 24, |
|
|
|
|
|
|
|
height: 24, |
|
|
|
|
|
|
|
clear: true, |
|
|
|
|
|
|
|
level: "common", |
|
|
|
|
|
|
|
iconCls: "search-font", |
|
|
|
|
|
|
|
cls: "bi-list-item-select4" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, { |
|
|
|
|
|
|
|
el: { |
|
|
|
|
|
|
|
type: "bi.button", |
|
|
|
|
|
|
|
width: 24, |
|
|
|
|
|
|
|
height: 24, |
|
|
|
|
|
|
|
clear: true, |
|
|
|
|
|
|
|
level: "ignore", |
|
|
|
|
|
|
|
iconCls: "search-font", |
|
|
|
|
|
|
|
cls: "bi-list-item-select4" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, { |
|
|
|
|
|
|
|
el: { |
|
|
|
|
|
|
|
type: "bi.button", |
|
|
|
|
|
|
|
width: 24, |
|
|
|
|
|
|
|
height: 24, |
|
|
|
|
|
|
|
clear: true, |
|
|
|
|
|
|
|
level: "success", |
|
|
|
|
|
|
|
iconCls: "search-font", |
|
|
|
|
|
|
|
cls: "bi-list-item-select4" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, { |
|
|
|
|
|
|
|
el: { |
|
|
|
|
|
|
|
type: "bi.button", |
|
|
|
|
|
|
|
height: 24, |
|
|
|
|
|
|
|
width: 200, |
|
|
|
|
|
|
|
clear: true, |
|
|
|
|
|
|
|
text: "拥有悬浮效果的文字按钮", |
|
|
|
|
|
|
|
level: "success", |
|
|
|
|
|
|
|
iconCls: "search-font", |
|
|
|
|
|
|
|
cls: "bi-list-item-select4" |
|
|
|
|
|
|
|
} |
|
|
|
}]; |
|
|
|
}]; |
|
|
|
// BI.each(items, function (i, item) {
|
|
|
|
// BI.each(items, function (i, item) {
|
|
|
|
// item.el.handler = function () {
|
|
|
|
// item.el.handler = function () {
|
|
|
|