|
|
|
@ -49,6 +49,7 @@ BI.MonthPopup = BI.inherit(BI.Widget, {
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_getItems: function(m) { |
|
|
|
|
BI.Widget.pushContext(this); |
|
|
|
|
// 纵向排列月
|
|
|
|
|
var month = [1, 7, 2, 8, 3, 9, 4, 10, 5, 11, 6, 12]; |
|
|
|
|
var items = []; |
|
|
|
@ -67,7 +68,7 @@ BI.MonthPopup = BI.inherit(BI.Widget, {
|
|
|
|
|
whiteSpace: "nowrap", |
|
|
|
|
once: false, |
|
|
|
|
forceSelected: true, |
|
|
|
|
height: [BI.SIZE_CONSANTS.LIST_ITEM_HEIGHT, 1], |
|
|
|
|
height: BI.pixFormat(BI.SIZE_CONSANTS.LIST_ITEM_HEIGHT, 1), |
|
|
|
|
width: 30, |
|
|
|
|
value: td, |
|
|
|
|
text: td, |
|
|
|
@ -75,6 +76,7 @@ BI.MonthPopup = BI.inherit(BI.Widget, {
|
|
|
|
|
}; |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
BI.Widget.popContext(); |
|
|
|
|
|
|
|
|
|
return items; |
|
|
|
|
}, |
|
|
|
|