|
[BUG]
UICityList模块 显示问题
[复制链接]
UICityList显示问题如下:
不配置热门城市style “热门城市”标题字体大小和其他标题一直
配置热门城市style后 “热门城市”标题比其他标题小很多并且没有参数去控制 包括当前参数的标题“#”不显示了 官方能帮忙看看吗
var UICityList = api.require('UICityList');
UICityList.open({
rect: {x: 0,y: $api.offset(header).h,w: api.frameWidth,h: listH},
resource: 'widget://res/cityList.json',
styles: {
searchBar:{height:45,bgColor: '#ecf0ef',cancelColor: '#161616',corner:30,searchIconLeft:8,},
location:{color: '#888888',size: 12},
sectionTitle:{bgColor: '#ffffff',color: '#000',size: 15},
item: {bgColor: '#fff',activeBgColor: '#ecf0ef',boardColor:'#eee',color: '#000',size: 14,height: 40},
indicator: {bgColor: 'rgba(255,255,25,0)',color: '#696969'},
hotCity:{
column: 3,
width: (api.winWidth-70)/3,
height:35,
interval:10,
corner: 8,
borderColor: '#b8bcc1',
background: '#fff',
active: '#D22E3A',
bgColor:'#fff',
titleBgColor:'#fff',
}
},
searchType:'initial',
currentCity: '北京',
locationWay: 'GPS',
hotTitle: '热门城市',
fixedOn: api.frameName,
placeholder: '输入城市名或首字母查询'
}, function(ret, err) {
if (ret) {
console.log(JSON.stringify(ret));
} else {
alert(JSON.stringify(err));
}
});
|
-
-
|