From cb83b411b14225d28679e8d9582c93efea360b41 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Thu, 7 Sep 2017 10:56:06 +0800 Subject: [PATCH] update --- uidoc/case/editor/shelter_editor.md | 3 --- uidoc/core/layout/center.md | 8 ------- uidoc/core/layout/horizontal.md | 36 ++++++++--------------------- 3 files changed, 10 insertions(+), 37 deletions(-) diff --git a/uidoc/case/editor/shelter_editor.md b/uidoc/case/editor/shelter_editor.md index 3340db320..58e28c372 100644 --- a/uidoc/case/editor/shelter_editor.md +++ b/uidoc/case/editor/shelter_editor.md @@ -12,9 +12,6 @@ BI.createWidget({ element: "#wrapper", type: "bi.shelter_editor", cls: "bi-border", - ref:function(_ref){ - editor=_ref; - }, width: 300, watermark: "这个是带标记的" }); diff --git a/uidoc/core/layout/center.md b/uidoc/core/layout/center.md index be19b9e9d..cdce92265 100644 --- a/uidoc/core/layout/center.md +++ b/uidoc/core/layout/center.md @@ -21,14 +21,6 @@ BI.createWidget({ text: "Center 2,为了演示label是占满整个的,用了一个whiteSpace:normal", cls: "layout-bg2", whiteSpace: "normal" - },{ - type: "bi.label", - text: "Center 3", - cls: "layout-bg3" - },{ - type: "bi.label", - text: "Center 4", - cls: "layout-bg5" }], hgap: 20, vgap: 20 diff --git a/uidoc/core/layout/horizontal.md b/uidoc/core/layout/horizontal.md index f0b3315c9..7be0637cc 100644 --- a/uidoc/core/layout/horizontal.md +++ b/uidoc/core/layout/horizontal.md @@ -12,33 +12,17 @@ BI.createWidget({ type: 'bi.horizontal', element: "#wrapper", items: [{ - type: "bi.absolute", - items: [{ - el: { - type: "bi.text_button", - cls: "layout-bg1", - text: "这里设置了lgap,rgap,tgap,bgap", - height: 30 - }, - left: 0, - right: 0 - }], - width: 100, - height: 30 + type: "bi.text_button", + cls: "layout-bg1", + text: "这里设置了lgap,rgap,tgap,bgap", + height: 30, + width: 200 }, { - type: "bi.absolute", - items: [{ - el: { - type: "bi.text_button", - cls: "layout-bg2", - text: "这里设置了lgap,rgap,tgap,bgap", - height: 30 - }, - left: 0, - right: 0 - }], - width: 200, - height: 30 + type: "bi.text_button", + cls: "layout-bg2", + text: "这里设置了lgap,rgap,tgap,bgap", + height: 30, + width: 200 }] });