Browse Source

BI-6615 delete someting

es6
刘荣歆 8 years ago
parent
commit
1b607db72a
  1. 12
      demo/js/config/widget.js
  2. 14
      demo/js/widget/basewidget/demo.sagments.js
  3. 14
      demo/js/widget/basewidget/demo.tips.js
  4. 990
      docs/demo.js

12
demo/js/config/widget.js

@ -26,22 +26,10 @@ Demo.WIDGET_CONFIG = [{
pId: 420, pId: 420,
text: "各种segment", text: "各种segment",
value: "demo.segments" value: "demo.segments"
}, {
pId: 420,
text: "各种面板",
value: "demo.panes"
}, {
pId: 420,
text: "bi.loading_mask",
value: "demo.loading_mask"
}, { }, {
pId: 420, pId: 420,
text: "可以切换的树", text: "可以切换的树",
value: "demo.switch_tree" value: "demo.switch_tree"
}, {
pId: 420,
text: "进度条",
value: "demo.progress_bar"
}, { }, {
pId: 1, pId: 1,
text: "bi.text_editor", text: "bi.text_editor",

14
demo/js/widget/basewidget/demo.sagments.js

@ -25,20 +25,6 @@ Demo.Segments = BI.inherit(BI.Widget, {
disabled: true, disabled: true,
value: 3 value: 3
}] }]
}, {
type: "bi.label",
height: 30,
text: "风格1"
}, {
type: "bi.line_segment",
items: [{
text: "tab1",
value: 1,
selected: true
}, {
text: "tab2",
value: 2
}]
}], }],
hgap: 50, hgap: 50,
vgap: 20 vgap: 20

14
demo/js/widget/basewidget/demo.tips.js

@ -134,23 +134,11 @@ Demo.Tips = BI.inherit(BI.Widget, {
vgap: 20 vgap: 20
}); });
var helper = BI.createWidget({
type: "bi.left",
items: [{
el: {
type: 'bi.helper',
text: '拖拽提示',
value: "拖拽提示",
height: 30,
}
}]
});
return { return {
type: "bi.horizontal_auto", type: "bi.horizontal_auto",
vgap: 20, vgap: 20,
hgap: 20, hgap: 20,
items: [bubble, title, toast, helper] items: [bubble, title, toast]
} }
} }
}); });

990
docs/demo.js

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save