Browse Source

Merge pull request #1099 in VISUAL/fineui from ~GUYI/fineui:master to master

* commit 'd8e64ae69cfb623f0ddd55644a52409b91276d8f':
  BI-49178 fix:修改仪表板复用列表间距
  BI-49178 fix:修改仪表板复用列表间距
es6
guy 5 years ago
parent
commit
f2b2b29f3e
  1. 2
      src/case/button/node/node.arrow.js
  2. 7
      src/case/button/node/node.icon.arrow.js
  3. 4
      src/case/button/node/node.multilayer.icon.arrow.js

2
src/case/button/node/node.arrow.js

@ -43,7 +43,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, {
width: 24,
width: 16,
el: this.checkbox
}, this.text);
BI.createWidget(BI.extend({

7
src/case/button/node/node.icon.arrow.js

@ -62,16 +62,17 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
});
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, {
width: 24,
width: 16,
el: this.checkbox
}, {
width: 24,
width: 16,
el: icon
}, this.text);
BI.createWidget(BI.extend({
element: this
}, BI.LogicFactory.createLogic(type, BI.extend(o.logic, {
items: items
items: items,
rgap: 5
}))));
},

4
src/case/button/node/node.multilayer.icon.arrow.js

@ -40,7 +40,7 @@ BI.MultiLayerIconArrowNode = BI.inherit(BI.NodeButton, {
BI.count(0, o.layer, function () {
items.push({
type: "bi.layout",
width: 24,
width: 15,
height: o.height
});
});
@ -48,7 +48,7 @@ BI.MultiLayerIconArrowNode = BI.inherit(BI.NodeButton, {
BI.createWidget({
type: "bi.td",
element: this,
columnSize: BI.makeArray(o.layer, 24),
columnSize: BI.makeArray(o.layer, 15),
items: [items]
});
},

Loading…
Cancel
Save