热点城市点周修改
This commit is contained in:
@@ -1709,6 +1709,8 @@ $("#select_area").RangeSlider({min: 0, max: 100, step: 14.2857, callback: change
|
||||
|
||||
/* 弹出城市选择页面 */
|
||||
$(document).on("click",".open-about01", function () {
|
||||
$("#citySearchInp").val("");
|
||||
$("#selectContainer").hide();
|
||||
$.popup(".popup-about01");
|
||||
});
|
||||
|
||||
@@ -1848,6 +1850,17 @@ function openAddHouse(){
|
||||
clicked('/views/house/add.html',true,false,{},{});
|
||||
}
|
||||
|
||||
/* 定位城市 */
|
||||
$("body").on("click", ".letter a", function () {
|
||||
var s = $(this).html();
|
||||
$(".popup-about01 .content").scrollTop(0);
|
||||
$(".popup-about01 .content").scrollTop($("#" + s + "1").offset().top - 106);
|
||||
});
|
||||
$("#tabCity1 .content-block01").scroll(function () {
|
||||
$("#tabCity1 .content-block01 .letter").css("position","absolute");
|
||||
$("#tabCity1 .content-block01 .letter").css("top", 85 - $("#cityContainer").position().top);
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user