From dfe8be9b4da2d41e9ec6977ebcf0d9f2d67b09eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E8=8D=A3=E6=AD=86?= Date: Wed, 26 Jul 2017 18:53:47 +0800 Subject: [PATCH] BI-6615 specific --- demo/js/config/widget.js | 40 +++++++++++++++++++++++++ demo/js/widget/basewidget/demo.tips.js | 1 + docs/demo.js | 41 ++++++++++++++++++++++++++ 3 files changed, 82 insertions(+) diff --git a/demo/js/config/widget.js b/demo/js/config/widget.js index 5422410f3..8be5d2cf9 100644 --- a/demo/js/config/widget.js +++ b/demo/js/config/widget.js @@ -2,6 +2,34 @@ Demo.WIDGET_CONFIG = [{ id: 4, text: "详细控件", open: true + }, { + pId: 4, + id: 420, + text: '各种小控件', + }, { + pId: 420, + text: "各种通用按钮", + value: "demo.buttons" + }, { + pId: 420, + text: "各种提示性信息", + value: "demo.tips" + }, { + pId: 420, + text: "各种items", + value: "demo.items" + }, { + pId: 420, + text: "各种节点node", + value: "demo.nodes" + }, { + pId: 420, + text: "各种segment", + value: "demo.segments" + }, { + pId: 420, + text: "可以切换的树", + value: "demo.switch_tree" }, { id: 400, pId: 4, @@ -10,6 +38,10 @@ Demo.WIDGET_CONFIG = [{ pId: 400, text: "bi.multi_tree_combo", value: "demo.multi_tree_combo" + }, { + pId: 400, + text: "bi.switch_tree", + value: "demo.switch_tree" }, { id: 401, pId: 4, @@ -253,5 +285,13 @@ Demo.WIDGET_CONFIG = [{ pId: 418, text: "bi.dialog", value: "demo.dialog" + }, { + pId: 4, + id: 419, + text: "文件管理" + }, { + pId: 419, + text: "demo.file_manager", + value: "demo.file_manager" } ]; \ No newline at end of file diff --git a/demo/js/widget/basewidget/demo.tips.js b/demo/js/widget/basewidget/demo.tips.js index 7340ce8a4..a81ff883f 100644 --- a/demo/js/widget/basewidget/demo.tips.js +++ b/demo/js/widget/basewidget/demo.tips.js @@ -49,6 +49,7 @@ Demo.Tips = BI.inherit(BI.Widget, { type: 'bi.button', text: '隐藏所有 bubble', height: 30, + cls: "layout-bg2", handler: function () { BI.each(btns, function (index, value) { BI.Bubbles.hide(value); diff --git a/docs/demo.js b/docs/demo.js index 6096bc4f9..e6293f34d 100644 --- a/docs/demo.js +++ b/docs/demo.js @@ -3350,6 +3350,34 @@ Demo.COMPONENT_CONFIG = [{ id: 4, text: "详细控件", open: true + }, { + pId: 4, + id: 420, + text: '各种小控件', + }, { + pId: 420, + text: "各种通用按钮", + value: "demo.buttons" + }, { + pId: 420, + text: "各种提示性信息", + value: "demo.tips" + }, { + pId: 420, + text: "各种items", + value: "demo.items" + }, { + pId: 420, + text: "各种节点node", + value: "demo.nodes" + }, { + pId: 420, + text: "各种segment", + value: "demo.segments" + }, { + pId: 420, + text: "可以切换的树", + value: "demo.switch_tree" }, { id: 400, pId: 4, @@ -3358,6 +3386,10 @@ Demo.COMPONENT_CONFIG = [{ pId: 400, text: "bi.multi_tree_combo", value: "demo.multi_tree_combo" + }, { + pId: 400, + text: "bi.switch_tree", + value: "demo.switch_tree" }, { id: 401, pId: 4, @@ -3601,6 +3633,14 @@ Demo.COMPONENT_CONFIG = [{ pId: 418, text: "bi.dialog", value: "demo.dialog" + }, { + pId: 4, + id: 419, + text: "文件管理" + }, { + pId: 419, + text: "demo.file_manager", + value: "demo.file_manager" } ];Demo.Func = BI.inherit(BI.Widget, { props: { @@ -6707,6 +6747,7 @@ Demo.Tips = BI.inherit(BI.Widget, { type: 'bi.button', text: '隐藏所有 bubble', height: 30, + cls: "layout-bg2", handler: function () { BI.each(btns, function (index, value) { BI.Bubbles.hide(value);