Commit 0e9faacf authored by agping's avatar agping

城市筛选优化

parent d584eefd
......@@ -47,8 +47,9 @@
<span class="hidden-phone">同联商业后台管理中心</span>
</a>
</div>
<select class="form-control btn2 ld-Marheight-city" id="user_city_choose">
<option value="310100" selected="selected">上海市</option>
<select class="form-control btn2-city ld-Marheight-city" id="user_city_choose">
<!--<option value="">城市筛选</option>-->
<option value="310100">上海市</option>
<option value="330100">杭州市</option>
</select>
<div class="dropdown">
......
......@@ -652,4 +652,15 @@ p{margin: 0;}
float: left;
width: 100%;
height: 100%;
}
\ No newline at end of file
}
#user_city_choose{
background: rgba(0,0,0,.2);
color: #fff;
border: 0;
}
.btn2-city{
width: 106px;
float: left;
margin-left: 10px;
border-radius: 16px;
}
......@@ -98,6 +98,8 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
$("#reset").click(function() { //重置
document.getElementById("form_search").reset();
$('#business_circle_id').html('');
});
$('#modal-dujia').on('show.bs.modal', function () {
......@@ -253,6 +255,8 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
//城市 区域 二级联动 筛选
_doc.on('input', '#user_city_choose', function() {
$('#shop_area_id').val('');
$('#business_circle_id').val('');
$('#business_circle_id').html('');
business.getList();
var _this = $(this);
var _id = _this.val();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment