61 lines
986 B
HTML
61 lines
986 B
HTML
<html>
|
|
<head>
|
|
<link rel="stylesheet" href="/bricks/css/bricks.css">
|
|
</head>
|
|
<body>
|
|
<script src="/bricks/bricks.js"></script>
|
|
<script>
|
|
const opts =
|
|
{
|
|
"widget": {
|
|
"id":"topwidget",
|
|
"widgettype":"VBox",
|
|
"options":{},
|
|
"subwidgets":[
|
|
{
|
|
"widgettype":"HBox",
|
|
"options":{},
|
|
"subwidgets":[
|
|
{
|
|
"widgettype":"Text",
|
|
"options":{
|
|
"otext":"请输入账单id",
|
|
"i18n":true
|
|
}
|
|
},
|
|
{
|
|
"id":"billid",
|
|
"widgettype":"UiStr",
|
|
"options":{
|
|
"name":"billid"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"widgettype":"urlwidget",
|
|
"options":{
|
|
"url":"billing_acc.tmpl"
|
|
}
|
|
}
|
|
],
|
|
"binds":[
|
|
{
|
|
"wid":"billid",
|
|
"event":"changed",
|
|
"datawidget":"billid",
|
|
"datamethod":"getValue",
|
|
"actiontype":"method",
|
|
"target":"bill_list",
|
|
"method":"loadData"
|
|
}
|
|
]
|
|
}
|
|
};
|
|
const app = new BricksApp(opts);
|
|
app.run();
|
|
</script>
|
|
</body>
|
|
</html>
|
|
|