お名前

 電話番号

 メールアドレス

ご希望予算

 ご質問・ご希望

  • 間取り

82タイプ

絞り込み件数

 

最近見た物件

オススメ物件

最近見た物件

//リストの再構築 function ReList(srt_price,srt_madori,str_order,station_str,loader){ if(loader){ //$(this).loaderDisp(); $(this).loaderMotion(); } $.ajax({ type: "GET", url: "https://www.style--plus.jp/ajax/area/meieki_m.json", data: "price="+srt_price+"&madori="+srt_madori+"&order="+str_order+station_str+"&high=1", dataType: 'json', success: function(json){ //要素のクリア(おまかせも) $(".wrap_list").html(""); mapPlot("https://www.style--plus.jp/ajax/area/meieki_m.json",srt_price,srt_madori,"https://www.style--plus.jp/assets/nagoya/front/common/img_r/pmap-symbol.png","https://www.style--plus.jp/assets/nagoya/front/common/img_r/pmap-symbol2.png",0,json); for(var i in json){ $(".wrap_list").append(setListData(json[i])); }; if(loader){ $(this).loaderHidden(); } } }); //お任せのロードも行なう $.ajax({ type: "GET", url: "https://www.style--plus.jp/ajax/area/meieki_m.json", data: "price="+srt_price+"&madori="+srt_madori+"&order=1"+station_str+"&high=1", dataType: 'json', success: function(json){ //要素のクリア(おまかせ) $("section.left .clearfix").html(""); var count =0; for(var i in json){ if(count<3){ $("section.left .clearfix").append(setOmakaseHtml(json[i])); } count++; }; } }); } $.fn.resetView = function (inputElm){ //console.log("li and del_btn clicked"); var checkedWrap = ".checked_wrap"; var $target = $(this).parents(checkedWrap).prev(); var targetId = $target.parent().attr('id'); $(this).resetSelect(targetId); CheckSort(inputElm); //下のリストの更新 ReList(srt_price,srt_madori,str_order,station_str,true); $(this).Recount(srt_price,srt_madori,str_order,station_str); //mapの情報を更新する $(".map_box ul").html(""); $(".map_box").append( '
' ); } function CheckSort(inputElm){ //idで値段か間取りかを判断する var inputId = inputElm.attr("id"); if(inputId){ if(inputId.indexOf("area")!=-1) { srt_price = inputElm.val(); //console.log("srtprice"+srt_price); var checked = $("input[name='madori[1]']:checked"); //console.log(checked); if(checked[0]) { srt_madori = Number(checked.val()); } } else { srt_madori = inputElm.val(); //console.log("srtmadori"+srt_madori); var checked = $("input[name='price[1]']:checked"); if(checked[0]) { srt_price = Number(checked.val()); } } } } $.fn.resetSelect = function (targetId){ //console.log("target_id"+targetId); switch(targetId){ case "sort01": break; case "sort02": srt_price =0; break; case "sort03": srt_madori=0; break; } } function setListData(data){ /* ↓間取り */ var detailSpan=""; if( data.room_type1 ){ detailSpan = detailSpan + '
  • ' + data.room_type1 +'  '+ data.price1+'万円〜
  • '; } if( data.room_type2 ){ detailSpan = detailSpan + '
  • ' + data.room_type2 + '  '+ data.price2+'万円〜
  • '; } if( data.room_type3 ){ detailSpan = detailSpan + '
  • ' + data.room_type3 + '  '+ data.price3+'万円〜
  • '; } if( data.room_type4 ){ detailSpan = detailSpan + '
  • ' + data.room_type4 + '  '+ data.price4+'万円〜
  • '; } if( data.room_type5 ){ detailSpan = detailSpan + '
  • ' + data.room_type5 + '  '+ data.price5+'万円〜
  • '; } if( data.room_type6 ){ detailSpan = detailSpan + '
  • ' + data.room_type6 + '  '+ data.price6+'万円〜
  • '; } var icon_list =""; if( data.data_1){ icon_list += '
  • '+data.data_1+'

  • '; } if( data.data_2){ icon_list += '
  • '+data.data_2+'

  • '; } if( data.data_3){ // icon_list += '
  • '+data.data_3+'

  • '; } var html =""; html +=''; return html; } function setOmakaseHtml(data){ var append_html =""; append_html +="
  • "; append_html +='物件'; append_html +="

    "+Math.round(data.price1*10000)+"円 "+data.room_type1+"
    "+data.footer_railway+"
    徒歩"+data.time+"分

    "; append_html +="
  • "; return append_html; } $.fn.setCenter = function (x,y,area){ location.href = "https://www.style--plus.jp/area/"+area; } }); //var asset_path = "https://www.style--plus.jp/assets/front/img_r_bunjo/";