宋:15:15
“
lable就是
<li><a>lable</a></li>
这个lable可以随便你拼
”
if ($.type(item) === 'object') {
ret.push({'class':flag ? i ? 'city_airport' : 'city' : 'airport',
label: item.city + "," + (item.airport ? item.airport + ", " : "") + "," + item.code + "," + item.country,
});我试着给item.country套上一个span,让他float:right,但老报错。呜呜。。
“
lable就是
<li><a>lable</a></li>
这个lable可以随便你拼
”
if ($.type(item) === 'object') {
ret.push({'class':flag ? i ? 'city_airport' : 'city' : 'airport',
label: item.city + "," + (item.airport ? item.airport + ", " : "") + "," + item.code + "," + item.country,
});我试着给item.country套上一个span,让他float:right,但老报错。呜呜。。
label: item.city + "," + (item.airport ? item.airport + ", " : "") + "," + item.code + "," + item.country,如果要给里面加点东西,比如让item.country放到一个span里,右对齐,怎么拼