fineui是帆软报表和BI产品线所使用的前端框架。
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.
|
|
|
import { shortcut, Widget } from "@/core";
|
|
|
|
|
|
|
|
@shortcut()
|
|
|
|
export class Items extends Widget {
|
|
|
|
static xtype = "demo.items";
|
|
|
|
|
|
|
|
render() {
|
|
|
|
return {
|
|
|
|
type: "bi.vertical",
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
type: "bi.text_button",
|
|
|
|
cls: "bi-list-item-select bi-high-light-border bi-border",
|
|
|
|
height: 30,
|
|
|
|
level: "warning",
|
|
|
|
text: "单选item",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
type: "bi.single_select_item",
|
|
|
|
text: "单选项",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
type: "bi.single_select_radio_item",
|
|
|
|
text: "单选项",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
type: "bi.label",
|
|
|
|
height: 30,
|
|
|
|
text: "复选item",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
type: "bi.multi_select_item",
|
|
|
|
text: "复选项",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
type: "bi.switch",
|
|
|
|
selected: true,
|
|
|
|
}
|
|
|
|
],
|
|
|
|
hgap: 300,
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|