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.
36 lines
1.0 KiB
36 lines
1.0 KiB
7 years ago
|
|
||
|
|
||
|
#### 第一个demo
|
||
|
```html
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<title></title>
|
||
|
<link rel="stylesheet" type="text/css" href="https://fanruan.coding.me/fineui/dist/bundle.min.css" />
|
||
|
<script src="https://coding.net/u/fanruan/p/fineui/git/raw/master/dist/bundle.min.js"></script>
|
||
|
</head>
|
||
|
<body>
|
||
|
<script>
|
||
|
$(function(){
|
||
|
BI.createWidget({
|
||
|
type:"bi.absolute",
|
||
|
element: "body",
|
||
|
items: [{
|
||
|
el:{
|
||
|
type: "bi.button",
|
||
|
text: "这是一个按钮"
|
||
|
},
|
||
|
left: 100,
|
||
|
top: 100
|
||
|
}]
|
||
|
})
|
||
|
})
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|
||
|
```
|
||
|
|
||
|
#### 源码集成Demo
|
||
|
BI的组件就是集成的fineui进行开发的
|
||
|
[https://coding.net/u/fanruan/p/bi-components/](https://coding.net/u/fanruan/p/bi-components/)
|