|
|
@ -13461,12 +13461,14 @@ BI.CardLayout = BI.inherit(BI.Layout, { |
|
|
|
var flag = false; |
|
|
|
var flag = false; |
|
|
|
BI.each(this.options.items, function (i, item) { |
|
|
|
BI.each(this.options.items, function (i, item) { |
|
|
|
var el = self._children[item.cardName]; |
|
|
|
var el = self._children[item.cardName]; |
|
|
|
|
|
|
|
if (el) { |
|
|
|
if (name != item.cardName) { |
|
|
|
if (name != item.cardName) { |
|
|
|
//动画效果只有在全部都隐藏的时候才有意义,且只要执行一次动画操作就够了
|
|
|
|
//动画效果只有在全部都隐藏的时候才有意义,且只要执行一次动画操作就够了
|
|
|
|
!flag && !exist && (BI.Action && action instanceof BI.Action) ? (action.actionBack(el), flag = true) : el.invisible(); |
|
|
|
!flag && !exist && (BI.Action && action instanceof BI.Action) ? (action.actionBack(el), flag = true) : el.invisible(); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
(BI.Action && action instanceof BI.Action) ? action.actionPerformed(void 0, el, callback) : (el.visible(), callback && callback()) |
|
|
|
(BI.Action && action instanceof BI.Action) ? action.actionPerformed(void 0, el, callback) : (el.visible(), callback && callback()) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|