var webmodel = {}; wp_pages_global_func($.extend({ 'isedit': '0', 'islogin': '0', 'domain': 'pro4a1ae3f2', 'p_rooturl': '/', 'static_rooturl': 'http://static.ysjianzhan.cn/website', 'interface_locale': "zh_CN", 'dev_mode': "0", 'getsession': '' }, {"phpsessionid":"","punyurl":"\/","curr_locale":"zh_CN","mscript_name":"","converted":false}));
 
function wp_multilingual_changeLang(id) { $.ajax({ type:'POST', url:parseToURL('multilingual','changeLang'), data:"id="+id, success:function(js_code){ eval(js_code); }, error:function(response){ wp_alert("Choose the language.
请求失败"); } }); }
$('#layer2B7D0AB2299225591893090FA281CA24').layer_ready(function(){ setTimeout(function(){ $("#layer2B7D0AB2299225591893090FA281CA24").find('.wp-diy-selectedb-outside').remove(); },100); $("#layer2B7D0AB2299225591893090FA281CA24").find('select').cstselect({selectclass:'wp-diy-selectedb'}); })
$(function(){ if ($('div.wp-diy-selecteda-outside').length || $('div.wp-diy-selectedb-outside').length || $('div.wp-diy-selectedc-outside').length || $('div.wp-diy-selectedd-outside').length) { $('#scroll_container').scroll(function(){ $('body').children('div.wp-diy-selecteda-content').remove(); $('body').children('div.wp-diy-selectedb-content').remove(); $('body').children('div.wp-diy-selectedc-content').remove(); $('body').children('div.wp-diy-selectedd-content').remove(); }); } }); $('#layer2B7D0AB2299225591893090FA281CA24').layer_ready(function(){ var custom_css = ''; var langstyle = 'custom2'; var $curlayer = $('#layer2B7D0AB2299225591893090FA281CA24'); var custom_a_font_size = $curlayer.find('.wp-content .custom_dom_class').css('font-size'); var custom_a_color = $curlayer.find('.wp-content .custom_dom_class').css('color'); if(custom_a_font_size){ $curlayer.find('.wp-content .custom_dom_class a').css('font-size',custom_a_font_size); } if(custom_a_color){ $curlayer.find('.wp-content .custom_dom_class a').css('color',custom_a_color); } if((langstyle == 'default' || langstyle == 'yellow') && custom_css == ''){ $curlayer.find('.wp-content p.custom_dom_class a').css('color','red'); } var time=100; if(langstyle == 'custom5' || langstyle == 'custom6') time=500; $curlayer.find('.aout_over').unbind('click.toggle').bind("click.toggle",function(){ $curlayer.find(".text-a").slideToggle(time);}); setTimeout(function(){ var text_a_font_size = $curlayer.find('.wp-content .custom_dom_class a').css('font-size') || '12px'; var text_a_color = $curlayer.find('.wp-content .custom_dom_class .aout').css('color') || '#ffffff'; var text_a_bgcolor = $curlayer.find('.wp-content .custom_dom_class').css('background-color') || '#ffffff'; var text_a_border_radius = $curlayer.find('.wp-content .custom_dom_class .aout').css('border-radius') || '5px'; var $text_a = $curlayer.find('.wp-content .custom_dom_class .text-a'); if(text_a_font_size){ $text_a.find('a').css('font-size',text_a_font_size);} if(text_a_color){ $text_a.find('a').css('color',text_a_color);} if(text_a_bgcolor){ $text_a.css('background-color',text_a_bgcolor);} if(text_a_border_radius){ $text_a.css('border-radius',text_a_border_radius);} },400); });
(function(){ var layerparams={"layerid":"layerDD16EF254765769FAE24A90561045DA3","pstyle":"none","plborder_size":null,"interval":3000,"autoplays":"true","title_size":40,"title_family":"SimSun","title_color":"#fff","easing":"fade","show_title":"1","show_nav":"1","navigation_style":"01","navbg_hover_color":"#fec518","nav_margin_bottom_size":"25","nav_arrow":"1","arrow_left":"template\/default\/images\/left_arrow.png","arrow_right":"template\/default\/images\/right_arrow.png","nav_margin_left_size":"25","nav_margin_right_size":"25","skin":"02","default_show":"1","hover_show":"0","pauseonmouseover":"1","nav_arrow_w_size":"32","nav_arrow_h_size":"32","iconstyle":"01","nav_height_size":"2","wsize":null,"editMode":false,"unslideradapt":null}; layer_unslider_init_func(layerparams); })()
$(window).load(function(){ wp_heightAdapt($('#layerD61EDDF8B057D75FD360E8AD9ADC0DCD')); window.scroll_container_adjust(); var oriheight=$('#layerD61EDDF8B057D75FD360E8AD9ADC0DCD').data('oriheight'); if(oriheight && $('#layerD61EDDF8B057D75FD360E8AD9ADC0DCD').height()-oriheight>200){ setTimeout(function(){ wp_heightAdapt($('#layerD61EDDF8B057D75FD360E8AD9ADC0DCD')); window.scroll_container_adjust(); },1000) } }); function set_thumb_layerD61EDDF8B057D75FD360E8AD9ADC0DCD(obj) { var callback=function(img){ img.fadeIn('slow',function(){ img.closest('.img,.wp-new-product-style-01-left').children('.imgloading').remove(); }); } $(obj).each(function() { var img=$(this); callback(img); }); } $(function(){ $('#layerD61EDDF8B057D75FD360E8AD9ADC0DCD').find('.wp-new-ar-pro-style-description').each(function(){ if($(this).find('textarea').length){ $(this).html($(this).find('textarea').val()); } }) }) if ("01" === "01") { $(document).ready(function (){ var maxliheight = 0,tmplayerid = "#layerD61EDDF8B057D75FD360E8AD9ADC0DCD"; if (tmplayerid.length == 1) return; var $tmpnode = ''; function maxHeightFunc() { $tmpnode = $(tmplayerid+' li > .wp-new-article-style-c'); $tmpnode.css('height','auto'); maxliheight = Math.max.apply(null,$tmpnode.map(function(){ var self=$(this); var bottom=$(this).find('.wp-new-ar-pro-style-description').filter(function(){ return $(this).css('display')!='none'; }).css('margin-bottom'); bottom=parseInt(bottom)||0; return $(this).height()+bottom; }).toArray()); var prdbacheight = '0'; if ("01" === "01" && prdbacheight != '0') { maxliheight = prdbacheight; } if (maxliheight) $tmpnode.height(maxliheight); } maxHeightFunc(); setTimeout(maxHeightFunc,100); // 右间距 2014/03/17 $(tmplayerid).unbind("fixedmarginright").bind("fixedmarginright", function(e, margin){ var $target = $(this),$li = $target.find('li.wp-new-article-style_lis'); if(margin != undefined) { $li.css("margin-right", margin+'px');} else { $li.css("margin-right", $li.filter(':first').css("margin-right"));} var $first = $li.filter(':first'); if($li.length > 0){ liwidth = $first.width() + parseInt( $first.css("padding-left").match(/\d+/) ) + parseInt( $first.css("padding-right").match(/\d+/) ) + parseInt( $first.css("border-left-width") ) * 2, //30、6 li的padding和border mgnright = $._parseFloat($first.css("marginRight")), maxwidth = $target.children('.wp-product_list_content').width(); if($.browser.msie && $.browser.version < 9){ liwidth = liwidth = $first.width() + parseInt( $first.css("padding-left").match(/\d+/) ) + parseInt( $first.css("padding-right").match(/\d+/) ); } var maxcols = Math.floor(maxwidth / (liwidth + mgnright)); if(maxwidth >= maxcols * (liwidth + mgnright) + liwidth) maxcols += 1; for(var i = 1,licnt = $li.length; i <= licnt; i++){ if (i % maxcols != 0) continue; if ((maxcols == 1) && (2*liwidth <= maxwidth)) continue; $li.filter(':eq('+(i - 1)+')').css("margin-right", '0'); } } $curlayer = $li = null; }).triggerHandler("fixedmarginright"); // < 0){ // fixed bug#4411 var nwidth = $._parseFloat('350'), ihack = (nwidth && ($.browser.version<9) && ('Proportion'=='Proportion'))?true:false; $imgs.each(function(){ if($(this).css('display') == 'inline'){ $(this).css('display','block'); // fixed bug#4411 ihack && $(this).parent('a').css({"display": 'inline-block',"width": nwidth+'px'}); } }); } } } inlineToDisplay(); });
var chromebug = $('#scroll_container').data('chrome_bug'); var imgcontainer = chromebug ? window : $('#scroll_container'); $('#layerD61EDDF8B057D75FD360E8AD9ADC0DCD').find('img.img_lazy_load').lazyload({ threshold : 300, failure_limit : $('#layerD61EDDF8B057D75FD360E8AD9ADC0DCD').find('img.img_lazy_load').length, container : imgcontainer, placeholder:"//template/default/images/blank.gif", load:function(){ var self=$(this); var id=self.closest('.cstlayer').prop('id'); if(window['set_thumb_'+id]) window['set_thumb_'+id](this); } }); function showlazyimg(){ setTimeout(function(){ $('#layerD61EDDF8B057D75FD360E8AD9ADC0DCD').find('img.img_lazy_load').lazyload({ threshold : 300, failure_limit : $('#layerD61EDDF8B057D75FD360E8AD9ADC0DCD').find('img.img_lazy_load').length, container : $('#scroll_container'), placeholder:"//template/default/images/blank.gif", load:function(){ var self=$(this); var id=self.closest('.cstlayer').prop('id'); if(window['set_thumb_'+id]) window['set_thumb_'+id](this); } }); },200) } showlazyimg();
$('#layer9B4BB0A9C3FEF2676E9251B0834480CF').layer_ready(function(){ (function(){ var param={"layerid":"layer9B4BB0A9C3FEF2676E9251B0834480CF","bgFlag":0,"bhFlag":0}; layer_buttons_text_display_func(param); })(); btnFloat({"border_radius":"0px 0px 0px 0px","btntext":" ","shadow_enable":"hide","bgcolor_link":"transparent","bgcolor_hover":"transparent","txtbold":"normal","btnlink":{"ctype":"page","options":{"menuid":"2","target":"0"},"address":"https:\/\/website-edit.onlinewebsite.cn\/designer\/index.php?_m=wp_frontpage&_a=index&id=2&domain=architecture-1120639&editdomain=www.sitestarcenter.cn&SessionID=2ed859adf469705298985f07e0c833e1"},"ostyle":{"btnarea":"width:64px;left:0px;top:0px;height:35px;line-height:35px;"}},'layer9B4BB0A9C3FEF2676E9251B0834480CF') });
$('#layerC9DFFBA6CA4CD4B19C620C68305CC689').layer_ready(function(){ (function(){ var param={"layerid":"layerC9DFFBA6CA4CD4B19C620C68305CC689","bgFlag":0,"bhFlag":0}; layer_buttons_text_display_func(param); })(); btnFloat({"border_radius":"0px 0px 0px 0px","btntext":" ","shadow_enable":"hide","bgcolor_link":"transparent","bgcolor_hover":"transparent","txtbold":"normal","btnlink":{"ctype":"page","options":{"menuid":"5","target":"0"},"address":"https:\/\/website-edit.onlinewebsite.cn\/designer\/index.php?_m=wp_frontpage&_a=index&id=5&domain=architecture-1120639&editdomain=www.sitestarcenter.cn&SessionID=2ed859adf469705298985f07e0c833e1"},"ostyle":{"btnarea":"width:64px;left:0px;top:0px;height:35px;line-height:35px;"}},'layerC9DFFBA6CA4CD4B19C620C68305CC689') });
layer_img_lzld('layer369CF47148C9432A3D04DC649F2AB012'); (function(){ var param={"layer_id":"layer369CF47148C9432A3D04DC649F2AB012","article_category_more":"","artliststyle":{"artname_underline":"none","artcate_underline":"none","artcate_txtcolor":"#0064d4","artdate_txtsize":"11","artdate_txtcolor":"#acacac","_txtsize":"12","_txtcolor":"#929292","_txtbold":" normal","_underline":" none","artborder_linesize":"1","artborder_linetype":"dashed","artborder_linecolor":"#c6c6c6","skin":"listStyle","waterfall_display":"0","artnamed_display":"inline-block","artdated_display":"inline-block","artintrod_display":"inline-block","artdetialtips_display":"inline-block","artname_display":"inline-block","artcate_display":"inline-block","arttimes_display":"none","artdate_display":"inline-block","artintro_display":"inline-block","picartborder_display":"inline-block","articon_display":"inline-block","artborder_display":"inline-block","timeformatd":"0","stick_id":"","artnamed_txtfamily":"SimSun","artdated_txtfamily":"SimSun","artintrod_txtfamily":"SimSun","artdetialtips_txtfamily":"SimSun","artname_txtfamily":"SimSun","artcate_txtfamily":"SimSun","arttimes_txtfamily":"SimSun","artym_txtfamily":"SimSun","artdate_txtfamily":"SimSun","artintro_txtfamily":"SimSun","artnamed_txtsize":"18","artdated_txtsize":"12","artintrod_txtsize":"12","artintrod_padtop_txtsize":"0","artdetialtips_txtsize":"12","artname_txtsize":"15","artname_padleft_txtsize":"0","artname_lineheight_txtsize":"50","artname_pad_txtsize":"0","artcate_txtsize":"12","arttimes_txtsize":"12","arttimes_pad_txtsize":"0","artym_txtsize":"11","artdate_rpad_txtsize":"48","artbg_width_txtsize":"60","artbg_height_txtsize":"59","artdate_pad_txtsize":"0","artintro_txtsize":"12","artintro_pad_txtsize":"0","artintro_lingheight_txtsize":"16","artintro_padbot_txtsize":"20","artintro_padleft_txtsize":"60","artintro_padright_txtsize":"60","picartborder_pad_txtsize":"0","pictxt_pad_txtsize":"8","articon_padleft_txtsize":"22","artlistmg_txtsize":"0","artlistmg_column_txtsize":"","artlistpg_txtsize_top":"12","artlistpg_txtsize_bottom":"12","artlistpg_txtsize_margin_right":"40","artlistpg_txtsize":"0","artborder_txtsize":"0","artnamed_txtcolor":"#048bcd","artnamed_hover_txtcolor":"#0064d4","artdated_txtcolor":"#5A5A5A","artintrod_txtcolor":"#7D7D7D","artdetialtips_txtcolor":"#CF0202","hartdetialtips_txtcolor":"#ff0000","artname_txtcolor":"#5A5A5A","artname_hover_txtcolor":"#0064D4","artname_def_txtcolor":"#38cc70","artname_sel_txtcolor":"#2ba659","arttimes_txtcolor":"#929292","artdate_txtcolorfont":"#fff","artdate_txtcolorbg":"#198ede","artintro_txtcolor":"#5A5A5A","artintro_def_txtcolor":"#eee","artintro_sel_txtcolor":"#eee","artborder_color":"#5A5A5A","artborderh_color":"#5A5A5A","artnamed_txtbold":"normal","artdated_txtbold":"normal","artintrod_txtbold":"normal","artdetialtips_txtbold":"normal","artname_txtbold":"normal","artcate_txtbold":"normal","arttimes_txtbold":"normal","artym_txtbold":"normal","artdate_txtbold":"normal","artintro_txtbold":"normal","artnamed_underline":"none","artdated_underline":"none","artintrod_underline":"none","artdetialtips_underline":"none","arttimes_underline":"none","artym_underline":"none","artdate_underline":"none","artintro_underline":"none","artname_align":"","artdate_align":"","artintro_align":"","articon_url":"","artline_top_marginsize":"5","artline_bottom_marginsize":"5","artskin_filter":"yes","prec_display":"inline","timeformat":"0","artskin_lineheight":"28","artline_bottom_marginsize_fixed":"2"},"pageskip":"1","article_category_param":"","editmode":"0"}; layer_article_list_pager_func(param); })(); $(window).load(function(){ $('#layer369CF47148C9432A3D04DC649F2AB012').find(".wp-pager_link").css({'position':'relative','bottom':'auto','width':'100%'}); wp_heightAdapt($('#layer369CF47148C9432A3D04DC649F2AB012')); var cheight = $('#layer369CF47148C9432A3D04DC649F2AB012').find(".wp-article_content").height(); var oulheight = $('#layer369CF47148C9432A3D04DC649F2AB012').find(".article_list-layer369CF47148C9432A3D04DC649F2AB012").height(); var olkheight = $('#layer369CF47148C9432A3D04DC649F2AB012').find(".wp-pager_link").outerHeight(); if(cheight>oulheight+olkheight){ $('#layer369CF47148C9432A3D04DC649F2AB012').find(".wp-pager_link").css({'position':'absolute','bottom':'0px','width':'100%'}) } }) (function(){ var params={"layer_id":"layer369CF47148C9432A3D04DC649F2AB012","islogin":0}; layer_article_list_checkid_func(params); var $curlayer=$('#layer369CF47148C9432A3D04DC649F2AB012'); $curlayer.find('.mask').mouseover(function () { var effect=$curlayer.data('wopop_imgeffects'); if(effect){ $(this).css('z-index','-1001'); } }) $curlayer.find('.wp-article_list-thumbnail').mouseover(function (event) { $(this).data('over',1); var running=$(this).data('run'); var effect=$curlayer.data('wopop_imgeffects'); var $this=$(this); if(effect && running!=1){ $this.setimgEffects(true,effect,1); var effectrole = effect['effectrole']; var dset = effect['dset']; if(effectrole !='dantu' && typeof(dset)!="undefined"){ var temp_effect = {}; temp_effect['type'] = effect['type']; temp_effect['effectrole'] = 'dantu'; temp_effect['effect'] = effect['dset']['effect']; temp_effect['duration'] = effect['dset']['duration']; $this.setimgEffects(true,temp_effect,1); } } }); })();
var b; $._wp_previewimgmode=false; doc_end_exec(); if($._wp_previewimgmode){ $('.cstlayer img.img_lazy_load').trigger('appear'); } if (!window.jQuery) { document.write(unescape("%3Cscript src='/public/static/common/js/jquery.min.js' type='text/javascript'%3E%3C/script%3E")); document.write(unescape("%3Cscript type='text/javascript'%3E try{jQuery.noConflict();}catch(e){} %3C/script%3E")); } if (window.jQuery) { (function($){ default_switch(); //简体繁体互换 function default_switch() { var home_lang = getCookie('home_lang'); if (home_lang == '') { home_lang = 'cn'; } if ($.inArray(home_lang, ['zh','cn'])) { var obj = $('#jquerys2t_1573822909'); var isSimplified = getCookie('jquerys2t_1573822909'); if ('cn' == isSimplified) { $('body').t2s(); $(obj).text('繁體'); } else if ('zh' == isSimplified) { $('body').s2t(); $(obj).text('简体'); } } } //简体繁体互换 $('#jquerys2t_1573822909').click(function(){ var obj = this; var isSimplified = getCookie('jquerys2t_1573822909'); if ('' == isSimplified || 'cn' == isSimplified) { $('body').s2t(); // 简体转繁体 setCookie('jquerys2t_1573822909', 'zh'); $(obj).text('简体'); } else { $('body').t2s(); // 繁体转简体 setCookie('jquerys2t_1573822909', 'cn'); $(obj).text('繁體'); } }); })(jQuery); }