效果图:
(使用bootstrap布局)
html部分
<div class="form-group inform">
<label class="control-label col-lg-1">居住地:</label>
<div class="col-lg-11 form-inline the-input">
<div class="input-group location-chose-box">
<input type="text" placeholder="选择城市" class="form-control location-chose chose-city">
<!-- 城市首字母 -->
<div class="the-detail city-detail">
<ul class="city-first-letter">
<li class="letter-select">热门</li>
<li>ABCD</li>
<li>EFGH</li>
<li>JKLM</li>
<li>NOPQ</li>
<li>RSTW</li>
<li>XYZ</li>
</ul>
</div>
</div>
<div class="input-group location-chose-box">
<input type="text" placeholder="选择区/县" class="form-control location-chose chose-area">
<div class="the-detail area-detail">
<ul class="area