Merge branch 'YOUFANGAPP1.1.1' of http://192.168.0.27/dev0/youfang-app into YOUFANGAPP1.1.1
This commit is contained in:
@@ -1401,6 +1401,7 @@ function updateChangeSubtation(hsId){
|
||||
sellToBuy();
|
||||
}
|
||||
$("#input_city").text(hs.intentionCity)
|
||||
loadingRegion(hs.intentionCity);
|
||||
|
||||
selectTxt("select_region", hs.intentionRegion);
|
||||
selectTxt("select_result", hs.intentionTags);
|
||||
@@ -1709,6 +1710,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 +1851,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