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 { Decorators, Widget, BorderLayout } from "@fui/core";
|
|
|
|
import { West } from "./west";
|
|
|
|
import { Center } from "./center";
|
|
|
|
import { North } from "./north";
|
|
|
|
|
|
|
|
@Decorators.shortcut()
|
|
|
|
export class Main extends Widget {
|
|
|
|
static xtype = "demo.main";
|
|
|
|
|
|
|
|
props = { baseCls: "demo-main bi-background" };
|
|
|
|
|
|
|
|
render() {
|
|
|
|
return {
|
|
|
|
type: BorderLayout.xtype,
|
|
|
|
items: {
|
|
|
|
north: {
|
|
|
|
height: 50,
|
|
|
|
el: {
|
|
|
|
type: North,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
west: {
|
|
|
|
width: 230,
|
|
|
|
el: {
|
|
|
|
type: West.xtype,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
center: {
|
|
|
|
el: {
|
|
|
|
type: Center.xtype,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|