|
[BUG]
UICityList 安卓崩溃求助!
[复制链接]
var UICityList;
apiready = function(){
UICityList = api.require('UICityList');
UICityList.open({
rect: {
x: 0,
y: 0,
w: api.frameWidth,
h: api.frameHeight
},
resource: '../res/carList.json',
styles: {
searchBar: {
bgColor: '#696969',
cancelColor: '#E3E3E3'
},
location: {
color: '#696969',
size: 12
},
sectionTitle: {
bgColor: '#eee',
color: '#000',
size: 12
},
item: {
bgColor: '#fff',
activeBgColor: '#696969',
color: '#000',
size: 14,
height: 40
},
indicator: {
bgColor: '#fff',
color: '#696969'
}
},
currentCity: '全部',
locationWay: ' ',
hotTitle: ' ',
placeholder: '输入品牌'
}, function(ret, err) {
});
};
|
|