Browse Source

Merge pull request #40 in FUI/fineui from ~GUY/fineui:master to master

* commit '862224ed5bfd93a648c2b79d8c950804954e24cf':
  add
es6
guy 8 years ago
parent
commit
b68af0726b
  1. 63
      demo/dist/demo.css
  2. 5750
      demo/dist/demo.js
  3. 4
      demo/js/component/demo.treevaluechooser.js
  4. 2
      demo/js/component/demo.valuechooser.js
  5. 6
      docs/demo.js

63
demo/dist/demo.css vendored

@ -1,63 +0,0 @@
/****添加计算宽度的--运算符直接需要space****/
/****** common color(常用颜色,可用于普遍场景) *****/
/**** custom color(自定义颜色,用于特定场景) ****/
.layout-bg-white {
background-color: #ffffff;
}
.layout-bg-gray {
background-color: #eeeeee;
}
.layout-bg1 {
color: #ffffff;
background-color: #0088cc;
}
.layout-bg2 {
color: #ffffff;
background-color: #008B8B;
}
.layout-bg3 {
color: #ffffff;
background-color: #6495ED;
}
.layout-bg4 {
color: #ffffff;
background-color: #ff69b4;
}
.layout-bg5 {
color: #ffffff;
background-color: #B8860B;
}
.layout-bg6 {
color: #ffffff;
background-color: #d9534f;
}
.layout-bg7 {
color: #ffffff;
background-color: #ea4738;
}
.layout-bg8 {
color: #ffffff;
background-color: #6495ed;
}
.demo-main .bg1 {
background-color: #178cdf;
}
/****添加计算宽度的--运算符直接需要space****/
/****** common color(常用颜色,可用于普遍场景) *****/
/**** custom color(自定义颜色,用于特定场景) ****/
.demo-north {
background-color: #3c8dbc;
}
.demo-north .logo {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #ffffff;
background-color: #367fa9;
font-size: 20px;
font-weight: 300;
}
/****添加计算宽度的--运算符直接需要space****/
/****** common color(常用颜色,可用于普遍场景) *****/
/**** custom color(自定义颜色,用于特定场景) ****/
.demo-west {
border-right: 1px solid #eaeaea;
}

5750
demo/dist/demo.js vendored

File diff suppressed because one or more lines are too long

4
demo/js/component/demo.treevaluechooser.js

@ -7,8 +7,8 @@ Demo.TreeValueChooser = BI.inherit(BI.Widget, {
var tree = []; var tree = [];
for (var i = 0; i < 21; i++) { for (var i = 0; i < 21; i++) {
tree.push({ tree.push({
value: " " + i + "", value: "" + i + "",
text: " " + i + "", text: "" + i + "",
id: i + "", id: i + "",
pId: null pId: null
}); });

2
demo/js/component/demo.valuechooser.js

@ -6,7 +6,7 @@ Demo.ValueChooserCombo = BI.inherit(BI.Widget, {
var widget = BI.createWidget({ var widget = BI.createWidget({
type: "bi.value_chooser_combo", type: "bi.value_chooser_combo",
itemsCreator: function (op, callback) { itemsCreator: function (op, callback) {
callback(BI.deepClone(Demo.MULTI_COMBO_ITEMS)); callback(BI.deepClone(Demo.CONSTANTS.ITEMS));
} }
}); });
return { return {

6
docs/demo.js

@ -2627,8 +2627,8 @@ Demo.TreeValueChooser = BI.inherit(BI.Widget, {
var tree = []; var tree = [];
for (var i = 0; i < 21; i++) { for (var i = 0; i < 21; i++) {
tree.push({ tree.push({
value: " " + i + "", value: "" + i + "",
text: " " + i + "", text: "" + i + "",
id: i + "", id: i + "",
pId: null pId: null
}); });
@ -2666,7 +2666,7 @@ Demo.ValueChooserCombo = BI.inherit(BI.Widget, {
var widget = BI.createWidget({ var widget = BI.createWidget({
type: "bi.value_chooser_combo", type: "bi.value_chooser_combo",
itemsCreator: function (op, callback) { itemsCreator: function (op, callback) {
callback(BI.deepClone(Demo.MULTI_COMBO_ITEMS)); callback(BI.deepClone(Demo.CONSTANTS.ITEMS));
} }
}); });
return { return {

Loading…
Cancel
Save