123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371 |
-
- $('.m_jpzpt_gb').on('click',function(){
- $('.m_jpzpt_box').hide();
- })
- $('.m_jpzpt_zhez').on('click',function(){
- $('.m_jpzpt_box').hide();
- })
- $(function(){
-
-
-
-
-
-
- $('.xiannian_ico_gb a,.xiannian_ico_bg').on('click',function(){
- xiannian_h();
- })
- function xiannian_s(){
- $('.xiannian_ico').show(10);
- $('.xiannian_ico_bg').show();
- }
- function xiannian_h(){
- $('.left_xiannain').show(10)
- $('.xiannian_ico_bg').hide();
- $('.xiannian_ico').hide();
- }
-
- PublicAction.AjaxSend(
- {
- CORID:'m_inlet_submien',
- }
- );
- })
- jQuery(".m_Broadcast").slide({mainCell:".bd ul",effect:"fold",autoPlay:true,trigger:"click",delayTime:1000,interTime:4000});
- jQuery(".m_Broadcast .bd").hover(function(){ jQuery(this).find(".prev,.next").stop(true,true).fadeTo("show",1) },function(){ jQuery(this).find(".prev,.next").fadeOut() });
- $(function(){
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- $('.lp_title_r_maui a').click(function(){
- var oid = $(this).attr('data-id');
- $(this).attr('class','on').siblings().attr('class','');
- fn_ajax(oid);
- });
- function fn_ajax(object){
- $.ajax({
- type: "post",
- url: "/index/choicehouse",
- data: {id:object,csrf_token_f:csrfToken},
- dataType: "json",
- success: function(data){
- $('.lp_conter').html('');
- if(data.code == 200){
- var data = fn_each(data.data);
- $('.lp_conter').html('<ul>'+data+'</ul>')
- }
- }
- });
- }
- fn_ajax(0);
- function fn_each(data){
- var _html="";
- $.each(data,function(k,v){
- _html += '<li>';
- _html += '<div class="lp_conter_img">';
- _html += '<a href="/house/'+v.id+'" target="_blank">';
- _html += '<img src="'+v.thumb+'" alt="">';
- _html += '<p style="display:none;" class="xn_ico"><img src="/image/xn_ico12.png" alt="" /></p>';
- _html += '<p style="display:none;" class="pintuan"><img src="/image/pcico1.png" alt="" /><span>拼团购立减¥20000</span><img src="/image/pcico2.png" alt="" /><span>每月20日出团</span></p>';
- _html += '<div class="lp_conter_price"><span>约</span>'+v.price+'<span></span><p style="font-size:12px; color:#ccc;margin-top:3px;font-weight: 100;">(有效期:'+time_yxq+')</p></div>';
- _html += '</a>';
- _html += '</div>';
- _html += '<div class="lp_font">';
- _html += '<p><a target="_blank" href="/house/'+v.id+'" title="'+v.name+'">'+v.name+'</a></p>';
- _html += '<p title="'+v.city_name+' · '+v.main_units+'">'+v.city_name+' · '+v.main_units+'</p>';
- _html += '</div>';
- _html += '<div class="lp_info">';
- _html += '<div class="lp_info_span c">';
- _html += '<span>推荐理由:';
- if((v.push_reason).length>35){
- _html += (v.push_reason).substr(0,35)+'......';
- }else{
- _html += v.push_reason;
- }
- _html += '</span>';
- _html += '</div>';
- _html += '<p class="c" style="'+style+'">';
- if(v.recent_price != 0 && v.recent_price != null){
- _html += '<i>近一年房价涨幅'+v.recent_price+'</i>';
- }else{
- _html += '<i>近一年房价涨幅:暂无</i>';
- }
- if(v.proportion != 0 && v.proportion != null){
- _html += '<i>参考收益:'+v.proportion+'</i>';
- }else{
- _html += '<i>参考收益:暂无</i>';
- }
- _html += '<a class="applekf-id" data-module="69" data-button="领取优惠" data-text="免费接机+酒店接送+专车看房,领取优惠,更享有购房立减优惠折扣。" data-type="领取优惠" data-id="0" href="javascript:;"><img src="/image/bmyh.gif" alt=""></a>';
- _html += '</p>';
- _html += '</div>';
- _html += '</li>';
-
- })
- return _html;
- }
- var style = $('.lp_conterdata').attr('style');
- });
- $(function(){
- $('em.timew').html(time_yxq);
- })
-
- jQuery(".m_lunbov2").slide({mainCell:".bd ul",effect:"fold",autoPlay:true,trigger:"click",delayTime:1000,interTime:4000});
- jQuery(".m_video_lb").slide({titCell:".hd ul",mainCell:".bd ul",effect:"left",autoPlay:true,autoPage:"<li><a></a></li>",interTime:4000});
- if($('.m_Developerslist ul li').length > 6){
- jQuery(".m_Developerslist_box").slide({mainCell:".bd ul",autoPlay:true,effect:"leftMarquee",vis:6,interTime:50,trigger:"click"});
- $('.m_Developerslist_box .prev').removeClass('on');
- $('.m_Developerslist_box .next').removeClass('on');
- }
- $('.m_Country_list ul li').on('mousemove',function(){
- $(this).addClass('on').siblings().removeClass('on');
- if(!$(this).hasClass('CountryClick')){
- $('.m_CountryRegion_box').hide();
- }
- })
- var _region="";
- var _abroad="";
- var _py = '';
- var being = true;
- $('.m_Country_list ul .CountryClick').on('mouseover',function(event){
- if(_region != $(this).attr('data-region')){
- being = true;
- }
- $('.m_CountryRegion_box').show();
- _region = $(this).attr('data-region');
- _py = $(this).attr('data-py');
- _abroad = $(this).attr('data-abroad');
- if(being == true){
- ajax_qy();
- being = false;
- }
- })
- $('.m_Country_box').on('mouseleave',function(){
- $('.m_CountryRegion_box').hide();
- $('.m_Country_list ul li').removeClass('on');
- })
- function ajax_qy(){
- var html = '';
- $.ajax({
- url: "/index/getpushcity",
- data:{hid:_region},
- type: "GET",
- dataType: "json",
- success: function(data) {
-
- if(data.code == 200){
-
- $.each(data.data, function (i, data) {
-
- if (data.abroad == 2) {
- html+='<li><a target="_blank" href="/house/search?py='+data.pinyin+'&city='+data.city_id+'"><img src="'+data.img+'" alt=""><i>'+data.city_name+'</i></a></li>';
- } else {
- html+='<li><a target="_blank" href="/housech/search?py='+data.pinyin+'&city='+data.city_id+'"><img src="'+data.img+'" alt=""><i>'+data.city_name+'</i></a></li>';
- }
- });
- if (_abroad == 2) {
- html+='<li><a target="_blank" href="/house/search?py='+_py+'&city='+_region+'"><i class="on">更多城市</i></a></li>';
- } else {
- html+='<li><a target="_blank" href="/housech/search?py='+_py+'&city='+_region+'"><i class="on">更多城市</i></a></li>';
- }
- }
-
- $('.Popular ul').html(html);
- }
- });
- }
- $('.m_Navigation ul li').on('mousemove',function(){
- $('.m_Navigation_list').hide();
- })
- $('.m_Navigation ul .Navigation_click').on('mousemove',function(){
-
- $(this).find('.m_Navigation_list').show();
- })
- $('.m_Navigation').on('mouseleave',function(){
- $('.m_Navigation_list').hide();
- })
- $('.m_HeadMenu ul .m_HeadMenuTop').on('mousemove',function(){
- $('.m_qh').hide();
- $(this).parent().find('.m_qh').show();
- })
- $('.m_HeadMenu').on('mouseleave',function(){
- $('.m_qh').hide();
- })
- $('.seek_input p').on('click',function(){
- var txt = $('.seek_input input[type="text"]').val();
- if (txt != '') {
-
- window.open('/house/search?name='+ txt);
- };
-
- })
|