Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /www/wwwroot/www.85520057.com/func.php on line 230
Warning: Cannot modify header information - headers already sent by (output started at /www/wwwroot/www.85520057.com/func.php:230) in /www/wwwroot/www.85520057.com/js.php on line 27
$(function(){
imgLazyloadLib();
//代码创建一个遮罩层,用于做加载动画
//setScroll();
setEventListen();
})
$(window).on('load',function(){
diyAutoHeight();
imgLazyloadLib();
});
$(window).resize(function(){
if(window.resizeTimeout)window.clearTimeout(window.resizeTimeout);
window.resizeTimeout=setTimeout(function(){
diyAutoHeight();
},350);
});
function imgLazyloadLib(obj){
if(obj){
obj.lazyload({event:'scroll mouseover',effect: "fadeIn",threshold:0,failure_limit:80,skip_invisible:false,load:function(){
var father=$(this).parents('.view').first();
if(father.length>0){
setTimeout(function(){diyAutoHeight(father);},500);
}else{
father=$(this).parents('.layout').first();
if(father.length>0){
setTimeout(function(){diyAutoHeight(father);},500);
}
}
}});
}else{
$("img").lazyload({event:'scroll mouseover',effect: "fadeIn",threshold:0,failure_limit:80,skip_invisible:false,load:function(){
var father=$(this).parents('.view').first();
if(father.length>0){
setTimeout(function(){diyAutoHeight(father);},500);
}else{
father=$(this).parents('.layout').first();
if(father.length>0){
setTimeout(function(){diyAutoHeight(father);},500);
}
}
}});
}
}
var scrollTime=300;
function setEventListen(){
$(".ev_c_scrollTop").click(function(){
//滚动到顶部
//$("html").getNiceScroll().resize();
//$("html").getNiceScroll(0).doScrollTop(0);
$("html,body").stop().animate({scrollTop:"0px"},window.scrollTime);
});
$(".ev_c_scrollView").click(function(){
//鼠标点击:滚动到模块位置
var settings=settingsLib($(this));
var viewid=settings.getSetting('eventSet.scrollView');
if($("#"+viewid).length>0){
//$("html").getNiceScroll().resize();
//$("html").getNiceScroll(0).doScrollTop($("#"+viewid).offset().top);
$("html,body").stop().animate({scrollTop:$("#"+viewid).offset().top+"px"},window.scrollTime);
}
});
$(".ev_c_showView").click(function(){
//鼠标点击:显示模块
showEventView($(this));
});
$(".ev_c_hidView").click(function(){
//鼠标点击:隐藏模块
hidEventView($(this));
});
$(".ev_c_tabView").click(function(){
//鼠标点击:显示与隐藏模块
showHidEventView($(this));
});
$(".ev_m_tabView").hover(function(){
//鼠标点击:显示与隐藏模块
showHidEventView($(this));
});
$(".view").click(function(){
$(this).children(".view_contents").addClass("diyCurTab");
var settings=settingsLib($(this));
var unitViewSet=settings.getSetting('unitViewSet');
if(unitViewSet&&unitViewSet.length>0){
for(key in unitViewSet){
$("#"+unitViewSet[key]).children(".view_contents").removeClass("diyCurTab");
}
}
});
}
function showHidEventView(obj){
var settings=settingsLib(obj);
var showViews=settings.getSetting('eventSet.showViews');
var hidViews=settings.getSetting('eventSet.hidViews');
if(!showViews)showViews=new Array();
if(!hidViews)hidViews=new Array();
var doubleKey=new Array();
//获取重复值
if(showViews.length>0){
for(s_key in showViews){
if(hidViews.length>0){
for(h_key in hidViews){
if(showViews[s_key]==hidViews[h_key]){
doubleKey.push(showViews[s_key]);
}
}
}
}
}
//隐藏
if(hidViews.length>0){
for(key in hidViews){
if($.inArray(hidViews[key],doubleKey)<0){
$("#"+hidViews[key]).css({"display":"none"});
diyAutoHeight($("#"+hidViews[key]));
}
}
}
//显示
if(showViews.length>0){
for(key in showViews){
if($.inArray(showViews[key],doubleKey)<0){
$("#"+showViews[key]).css({"display":"block"});
diyAutoHeight($("#"+showViews[key]));
}
}
}
//双向显示
if(doubleKey.length>0){
for(key in doubleKey){
if($("#"+doubleKey[key]).length>0){
if($("#"+doubleKey[key]).is(":hidden")){
$("#"+doubleKey[key]).css({"display":"block"});
diyAutoHeight($("#"+doubleKey[key]));
}else{
$("#"+doubleKey[key]).css({"display":"none"});
diyAutoHeight($("#"+doubleKey[key]));
}
}
}
}
}
function showEventView(obj){
var settings=settingsLib(obj);
var showViews=settings.getSetting('eventSet.showViews');
if(!showViews)showViews=new Array();
if(showViews.length>0){
for(key in showViews){
$("#"+showViews[key]).css({"display":"block"});
diyAutoHeight($("#"+showViews[key]));
}
}
}
function hidEventView(obj){
var settings=settingsLib(obj);
var hidViews=settings.getSetting('eventSet.hidViews');
if(!hidViews)hidViews=new Array();
if(hidViews.length>0){
for(key in hidViews){
$("#"+hidViews[key]).css({"display":"none"});
diyAutoHeight($("#"+hidViews[key]));
}
}
}
function getPageScrollTop(){
var scrollTop = document.documentElement.scrollTop || window.pageYOffset || document.body.scrollTop;
return scrollTop;
}
function getNowPage(){
var width=$(window).width();
var max_width=window.DIY_PAGE_SIZE;
max_width=parseFloat(max_width);
if(isNaN(max_width))max_width=1200;
if(width>=max_width){
return 'pc';
}else if(width>=640){
return 'pad';
}else{
return 'mobiles';
}
}
$(window).scroll(function(){
var scrollTop=getPageScrollTop();
var nowPage=getNowPage();
if($(".scrollToTop_"+nowPage).length>0){
$(".scrollToTop_"+nowPage).each(function(){
var old_top=$(this).attr("old_top_"+nowPage);
var old_left=$(this).attr("old_left_"+nowPage);
var old_width=$(this).attr("old_width_"+nowPage);
if(!old_top||old_top==""){
old_top=$(this).offset().top;
$(this).attr("old_top_"+nowPage,old_top);
}
if(!old_left||old_left==""){
old_left=$(this).offset().left;
$(this).attr("old_left_"+nowPage,old_left);
}
if(!old_width||old_width==""){
old_width=$(this).width();
$(this).attr("old_width_"+nowPage,old_width);
}
old_top=parseFloat(old_top);
old_left=parseFloat(old_left);
old_width=parseFloat(old_width);
if(scrollTop>=old_top){
let objId = $(this).attr('id');
let true_width = objId.includes('layout_')?'100%':old_width+"px"; //共享区域+区域布局固定100%,解决客户老喜欢缩放浏览器比例问题
$(this).css({"position":"fixed","z-index":9999999,"top":"0px","width":true_width,"left":old_left+"px"});
$(this).parents(".view").css({"z-index":9999999});
//$(this).parents(".view").children(".view_contents").css({"overflow":"visible"});
$(this).parents(".layout").css({"z-index":9999999});
//$(this).parents(".layout").children(".view_contents").css({"overflow":"visible"});
// 通过设置边距,清除悬浮对下一个元素的影响
if ($(this).hasClass('layout')) {
$(this).next().css('margin-top', (Number($(this).css('margin-top').replace('px', '')) + $(this).height()) + 'px');
}
}else{
$(this).css({"position":"","z-index":"","top":"","width":"","left":""});
$(this).parents(".view").css({"z-index":""});
//$(this).parents(".view").children(".view_contents").css({"overflow":""});
$(this).parents(".layout").css({"z-index":""});
//$(this).parents(".layout").children(".view_contents").css({"overflow":""});
$(this).attr("old_top_"+nowPage,null);
$(this).attr("old_left_"+nowPage,null);
$(this).attr("old_width_"+nowPage,null);
// 通过设置边距,清除悬浮对下一个元素的影响
if ($(this).hasClass('layout')) {
$(this).next().css('margin-top', '');
}
}
});
}
});
function diyAutoHeight(obj){
if(obj&&obj.length>0){
//针对选项卡做特殊处理
if(obj.children(".view_contents").children("form").length>0){
if(obj.children(".view_contents").children("form").children(".view").length>0){
obj.children(".view_contents").children("form").children(".view").each(function(){
if($(this).is(":visible")){
diyAutoHeightDo($(this));
return false;
}
});
}else{
diyAutoHeightDo(obj);
}
}else if(obj.children(".view_contents").children(".niceTab").find(".niceTabShow").length>0){
if(obj.children(".view_contents").children(".niceTab").find(".niceTabShow").children(".view").length>0){
obj.children(".view_contents").children(".niceTab").find(".niceTabShow").children(".view").each(function(){
if($(this).is(":visible")){
diyAutoHeightDo($(this));
return false;
}
});
}else{
diyAutoHeightDo(obj);
}
}else{
diyAutoHeightDo(obj);
}
}else{
setTimeout(function(){
$(".view").each(function(){
if(!$(this).hasClass("includeBlock")){
diyAutoHeightDo($(this));
}
});
},500);
}
}
function diyAutoHeightFatherDo(father,obj){
var settings=settingsLib(father);
var autoHeight=settings.getSetting('autoHeight');
if(autoHeight&&autoHeight=="true"){
//开启了允许自动高度
var minHeight=obj.offset().top+obj.height()-father.offset().top;
if(obj.siblings(".view").length>0){
obj.siblings(".view").each(function(){
if($(this).is(":visible")){
var tempHeight=$(this).offset().top+$(this).height()-father.offset().top;
if(tempHeight>minHeight){
minHeight=tempHeight;
}
}
});
}
//2019-5-20 选项卡添加选项高度计算
var kind=settings.getSetting('kind');
var name=settings.getSetting('name');
var data=settings.getSetting('data');
if (kind=="选项卡" && name=="tab") {
var tab_nav_obj = father.children().children().children().eq(0);
var tab_nav_height = tab_nav_obj.css('height');
if ( tab_nav_height != undefined && tab_nav_height != undefined && typeof(data) != 'undefined' && data && data.hasOwnProperty('showtype') && data.showtype == "bottom") {
minHeight = parseFloat(tab_nav_height) + Number(minHeight);
}
}
father.css({"height":minHeight+"px"});
diyAutoHeightDo(father);
}
}
function diyAutoHeightDo(obj){
if(obj.is(":visible")){
var father=obj.parents(".view").first();
if(father.length<=0)father=obj.parents(".layout").first();
if(father.length>0){
var settings=settingsLib(father);
var autoHeight=settings.getSetting('autoHeight');
if(autoHeight&&autoHeight=="true"){
if(father.offset().top+father.height()1){
var para = arrUrl[1];
var arrUrl2=para.split("&");
arrUrl2.forEach(function(e){
if(e.indexOf("mod=")>=0||e.indexOf("act=")>=0){
return;
} else if (e.indexOf("#")>=0) {
paras+=e.substr(0, e.indexOf("#"))+"&";
}else{
paras+=e+"&";
}
})
}
return paras;
}
//RequestURL for signle
function RequestURL_old(viewid, sys_url, moreParams){
if (typeof DIY_SCHEME === 'undefined') {
DIY_SCHEME = '';
}
var serverUrl = DIY_SCHEME + '//'+DIY_JS_SERVER+'/sysTools.php?mod=viewsConn&rtype=json&idweb='+DIY_WEBSITE_ID+'&'+sys_url;
var settings = settingsLib($("#"+viewid));
if($("#"+viewid+" .productorder").length > 0){
let po = $("#"+viewid+" .productorder").attr('po');
let po_type = $("#"+viewid+" .productorder").attr('po_type');
moreParams = moreParams?moreParams + "po="+po + "&po_type="+po_type+"&":"";
}
var params = "";
if(settings && settings.getSetting("data") && viewid.indexOf('download') == -1 ){
$.each(settings.getSetting("data"), function(key, val){
if($.isArray(val)){
$.each(val, function(key2, val2){
params += "&"+key+"[]="+val2;
});
}else{
params += "&"+key+"="+val;
}
});
if(params) serverUrl += params;
}
var params2 = GetUrlPara();
if(params2) serverUrl += "&" + params2;
if(moreParams) serverUrl += "&" + moreParams;
var scriptString = "";
//$.ajaxSettings.async = false;
$.ajax({
dataType: 'jsonp',
crossDomain: true,
url: serverUrl,
xhrFields:{withCredentials:true},
success: function(result){
if(result.error) alert(result.error);
else{
if(typeof(history.replaceState) != 'undefined'){
var obj={};
var hstate=JSON.stringify(history.state);
if(hstate!='null'&& hstate!=null){
eval('var hjson = ' + hstate);
obj=hjson;
}
var key="moreParams"+viewid;
obj[key]=moreParams;
//var strparam=viewid+":"+moreParams;
//history.replaceState({("moreParams"+viewid):moreParams},"","");
history.replaceState(obj,"","");
}
$("#"+viewid).children(".view_contents").html(result.html);
$("#"+viewid).children(".view_contents").show();
setTimeout(function(){
diyAutoHeight($("#"+viewid));
},500);
}
}});
setTimeout(function(){commDefault_isFT();},500);
function commDefault_isFT(){
var based_Obj= document.getElementById("based");
var currentlang_Obj= document.getElementById("currentlang");//当前语言
$(function(){
if (based_Obj){
var JF_cn="ft"+self.location.hostname.toString().replace(/\./g,"");
let isNeedDisFt2Jt = 0;
switch( Request('chlang') ){
case "cn-tw":
BodyIsFt= getCookie(JF_cn)=="1"? 0 : 1;
isNeedDisFt2Jt = 1;
delCookie(JF_cn);
SetCookie(JF_cn, BodyIsFt, 7);
break;
case "cn":
case "en":
BodyIsFt= 0;
isNeedDisFt2Jt = 1;
delCookie(JF_cn);
SetCookie(JF_cn, 0, 7);
currentlang_Obj.innerHTML = "简体中文";
break;
case "tw":
BodyIsFt= 1;
delCookie(JF_cn);
SetCookie(JF_cn, 1, 7);
currentlang_Obj.innerHTML = "繁體中文"; //因为是繁体 你写简体也会被转化成繁体 所以这儿只能写繁体 2015-1-16
break;
default:
if (typeof Default_isFT!='undefined' && Default_isFT){ //如果默认繁体
if(getCookie(JF_cn)==null){
isNeedDisFt2Jt = 1;
BodyIsFt= 1;
SetCookie(JF_cn, 1, 7);
break;
}
}
BodyIsFt= parseInt(getCookie(JF_cn));
}
if(BodyIsFt===1){
StranBody();
document.title = StranText(document.title);
} else if (isNeedDisFt2Jt == 1) {
StranBodyce();
document.title = StranTextce(document.title);
}
}else{
var JF_cn="ft"+self.location.hostname.toString().replace(/\./g,"");
if(Default_isFT){
BodyIsFt= 1;
delCookie(JF_cn);
SetCookie(JF_cn, 1, 7);
StranBody();
document.title = StranText(document.title);
}else{
BodyIsFt= 0;
delCookie(JF_cn);
SetCookie(JF_cn, 0, 7);
/*StranBodyce();
document.title = StranTextce(document.title);*/
}
}
});
}
/*
$.getJSON(serverUrl, function(result){
if(result.error) alert(result.error);
else{
$("#"+viewid).children(".view_contents").html(result.html);
$("#"+viewid).show();
setTimeout(function(){
diyAutoHeight($("#"+viewid));
},500);
}
});*/
//$("#"+viewid).append(scriptString);
}
function RequestURL(viewid, sys_url, moreParams){
if(checkLoad==1){
RequestURL_old(viewid, sys_url, moreParams);
return;
}
//这是原本的URL
var serverUrl = '/sysTools.php?&mod=viewsConn&rtype=json&idweb='+DIY_WEBSITE_ID+'&'+sys_url;
var settings = settingsLib($("#"+viewid));
if($("#"+viewid+" .productorder").length > 0){
let po = $("#"+viewid+" .productorder").attr('po');
let po_type = $("#"+viewid+" .productorder").attr('po_type');
moreParams = moreParams?moreParams + "po="+po + "&po_type="+po_type+"&":"";
}
var params = "";
if(settings && settings.getSetting("data")){
$.each(settings.getSetting("data"), function(key, val){
if($.isArray(val)){
$.each(val, function(key2, val2){
params += "&"+key+"[]="+val2;
});
}else{
params += "&"+key+"="+val;
}
});
if(params) serverUrl += params;
}
var params2 = GetUrlPara();
if(params2) serverUrl += "&" + params2;
if(moreParams) serverUrl += "&" + moreParams;
batchArr.push(serverUrl);
}
function sendBatch(sendurl){
if(!sendurl) return;
//10次分割
var newArr = [];
newArr = sliceArray(sendurl,10);
if (typeof DIY_SCHEME === 'undefined') {
DIY_SCHEME = '';
}
//对url进行组装
var serverUrl = DIY_SCHEME + '//'+DIY_JS_SERVER+'/sysTools.php?mod=viewsConn&act=batch&idweb='+DIY_WEBSITE_ID+'&';
for(var i in newArr){
var data = {};
data.postUrl = newArr[i];
//获取数据 xhrFields解决传输cookie问题
$.ajax({
type: "post",
cache: false,
dataType: "json",
async:true,
data:data ,
url: serverUrl,
xhrFields: {
withCredentials: true
},
crossDomain: true,
success: function(result){
//var result = eval("("+result+")");
if(result.error) {
alert(result.error,result.data.status);
//详情的判断
if (result.data.pageType == 1){
setTimeout(function (){window.history.back()},2000)
}
} else{
for(var i in result){//i就是viewid
$("#"+i).children(".view_contents").html(result[i]['html']);
$("#"+i).children(".view_contents").show();
setTimeout(function(){
diyAutoHeight($("#"+i));
},500);
}
commDefault_isFT();
}
}});
}
checkLoad = 1;
}
/*
* 将一个数组分成几个同等长度的数组
* array[分割的原数组]
* size[每个子数组的长度]
*/
function sliceArray(array, size) {
var result = [];
for (var x = 0; x < Math.ceil(array.length / size); x++) {
var start = x * size;
var end = start + size;
result.push(array.slice(start, end));
}
return result;
}
//导航公共监听函数
function setDhListen(style,obj,params){
var father=$(obj).parents(".dh").first();
if(father.length>0){
switch(style){
case 'style_01':
father.find(".miniMenu").toggleClass("Mslide");
father.find(".miniMenu").toggleClass("dhAreaSet");
if($("body").css("position")=="relative"){
$("body").css({"position":"fixed","width":"100%"});
}else{
$("body").css({"position":"relative","width":"100%"});
}
break;
case 'style_02':
if(params=="open"){
father.find(".Style_02_miniMenu .menuMain").css("display","block");
}else{
father.find(".Style_02_miniMenu .menuMain").css("display","none");
}
break;
case 'style_03':
if(params=="mobi_more"){
$(obj).parent().siblings(".mobi_menuUl02").toggle();
}else if(params=="m_icoFont"){
$(obj).parents(".mobi_main").hide();
}else if(params=="mobi_top"){
$(obj).siblings(".mobi_main").show();
}
break;
case 'style_04':
var width = $(window).width();
var newW = width+18;
father.find(".newWidth").css("width",newW);
father.find(".miniMenu").toggleClass("Mslide");
if($("body").css("position")=="relative"){
$("body").css({"position":"fixed","width":"100%"});
}else{
$("body").css({"position":"relative","width":"100%"});
}
break;
case 'type05':
father.find(".mobilesCon").show();
father.find(".mobilesCon").animate({left:'0'},600,function(){
father.find(".mobilesIcon").hide();
})
if($("body").css("position")=="relative"){
$("body").css({"position":"fixed","width":"100%"});
}else{
$("body").css({"position":"relative","width":"100%"});
}
break;
case 'type06':
father.find(".mobilesCon").animate({left:'-100%'},600,function(){
father.find(".mobilesCon").hide();
father.find(".mobilesIcon").show();
});
if($("body").css("position")=="relative"){
$("body").css({"position":"fixed","width":"100%"});
}else{
$("body").css({"position":"relative","width":"100%"});
}
break;
}
//手机上,导航的遮盖不能盖住视频功能修改
if($("body").css("position")=="relative"){
$('video').show();
}else{
$('video').hide();
}
}
}
//-------------选项卡-----------------------------------------------
//鼠标左右拖拽事件
function setScroll_Choice(tabId){
if(navigator.userAgent.match(/(iphoness|ipods|androids|ioses)/i)) return;
if(typeof($(".tab_nav .tab_scroll", $("#"+tabId)).niceScroll)=="function"){
$(".tab_nav .tab_scroll", $("#"+tabId)).niceScroll({zIndex:99999,cursoropacitymax:0,cursoropacitymin:0,horizrailenabled:true,autohidemode:true,touchbehavior:true});
}else{
setTimeout(setScroll_Choice,500);
}
}
/*选项卡切换效果*/
function changeTabFunc(tabId,index){
$(".tab_nav .tab_li", $("#"+tabId)).eq(index).addClass("tabCurItem").siblings().removeClass("tabCurItem");
$(".tab_box .tab_div", $("#"+tabId)).eq(index).addClass("niceTabShow").siblings().removeClass("niceTabShow");
/*↓↓↓↓选项卡下的特殊模块处理↓↓↓↓*/
if(typeof changeBannerHeight != 'undefined' && changeBannerHeight instanceof Function){
changeBannerHeight(tabId); //轮播图宽高度适应
}
/*↑↑↑↑选项卡下的特殊模块处理↑↑↑↑*/
diyAutoHeight($("#"+tabId.substr(4)));
}
/*鼠标悬浮效果*/
function setHover_Choice(tabId){
$(".tab_nav .tab_li", $("#"+tabId)).unbind('hover');
$(".tab_nav .tab_li", $("#"+tabId)).hover(function(){
var index = $(this).index();
changeTabFunc(tabId,index);
});
}
/*鼠标点击效果*/
function setClick_Choice(tabId){
$(".tab_nav .tab_li", $("#"+tabId)).unbind('click');
$(".tab_nav .tab_li", $("#"+tabId)).click(function(){
var index = $(this).index();
changeTabFunc(tabId,index);
});
}
/*自动播放*/
function setAnimat_int(tabId,time){
if(!time)time=5;
time=time*1000;
var viewid=tabId.substr(4);
if(!window.tabConfigAnimat)window.tabConfigAnimat={};
//初始化
window.tabConfigAnimat[viewid]=setTimeout(doAnimat,time);
$("#"+viewid).mousemove(function(){
if(window.tabConfigAnimat[viewid])window.clearTimeout(window.tabConfigAnimat[viewid]);
});
$("#"+viewid).mouseover(function(){
if(window.tabConfigAnimat[viewid])window.clearTimeout(window.tabConfigAnimat[viewid]);
});
$("#"+viewid).mouseout(function(){
window.tabConfigAnimat[viewid]=setTimeout(doAnimat,time);
});
function doAnimat(){
if(window.tabConfigAnimat[viewid])window.clearTimeout(window.tabConfigAnimat[viewid]);
var index=$(".tab_nav .tabCurItem", $("#"+tabId)).index();
index=index+1;
if(index>=$(".tab_nav .tab_li", $("#"+tabId)).length){
index=0;
}
changeTabFunc(tabId,index);
window.tabConfigAnimat[viewid]=setTimeout(doAnimat,time);
}
}
//获取鼠标拖拽区域的总宽度
function tab_style03_init(tabId){
var total=0;
var obj=$(".tab_li", $("#"+tabId));
$(".tab_li", $("#"+tabId)).each(function(){
total+=$(this).width();
});
$(".tab_ul_top", $("#"+tabId)).css("width",total+"px");
$(".tab_ul_bottom", $("#"+tabId)).css("width",total+"px");
//向左滚动图标事件
$(".tab_left_arrow", $("#"+tabId)).unbind('click');
$(".tab_left_arrow", $("#"+tabId)).click(function(){
var index = $(".tab_nav .tabCurItem", $("#"+tabId)).index();
index = index-1;
changeTabFunc(tabId,index);
});
//向右滚动图标事件
$(".tab_right_arrow", $("#"+tabId)).unbind('click');
$(".tab_right_arrow", $("#"+tabId)).click(function(){
var index = $(".tab_nav .tabCurItem", $("#"+tabId)).index();
var len = $(".tab_nav .tab_li", $("#"+tabId)).length;
index = index+1;
if(index >= len){
index = 0;
}
changeTabFunc(tabId,index);
});
setScroll_Choice(tabId);
}
function StranBody(fobj){
var obj= fobj ? fobj.childNodes : document.body.childNodes;
if (typeof based_Obj == 'undefined') var based_Obj = '';
for(var i=0;i0||OO==based_Obj)continue;
if(OO.title!=""&&OO.title!=null)OO.title=StranText(OO.title);
if(OO.alt!=""&&OO.alt!=null)OO.alt=StranText(OO.alt);
if(OO.tagName=="INPUT"&&OO.value!=""&&OO.type!="text"&&OO.type!="hidden")OO.value=StranText(OO.value);
if(OO.nodeType==3){OO.data=StranText(OO.data)}
else StranBody(OO)
}
try{
var based_Obj2= document.getElementById("based2");
if(!based_Obj2) { //简繁
based_Obj.innerHTML = BodyIsFt==1? "简体中文":"繁体中文";
}else{ //简繁英
based_Obj.innerHTML = "繁体中文";
based_Obj2.innerHTML = "简体中文";
}
}catch(e){}
}
function StranBodyce(fobj){
var obj= fobj ? fobj.childNodes : document.body.childNodes;
if (typeof based_Obj == 'undefined') var based_Obj = '';
for(var i=0;i0||OO==based_Obj)continue;
if(OO.title!=""&&OO.title!=null)OO.title=StranTextce(OO.title);
if(OO.alt!=""&&OO.alt!=null)OO.alt=StranTextce(OO.alt);
if(OO.tagName=="INPUT"&&OO.value!=""&&OO.type!="text"&&OO.type!="hidden")OO.value=StranTextce(OO.value);
if(OO.nodeType==3){OO.data=StranTextce(OO.data)}
else StranBodyce(OO)
}
try{
var based_Obj2= document.getElementById("based2");
if(!based_Obj2) { //简繁
based_Obj.innerHTML = BodyIsFt==1? "简体中文":"繁体中文";
}else{ //简繁英
based_Obj.innerHTML = "繁体中文";
based_Obj2.innerHTML = "简体中文";
}
}catch(e){}
}
function StranText(txt){
if(txt==""||txt==null)return "";
return Traditionalized(txt);
}
function StranTextce(txt){
if(txt==""||txt==null)return "";
return Traditionalizedce(txt);
}
function JTPYStr(){
return '皑蔼碍爱翱袄奥坝罢摆败颁办绊帮绑镑谤剥饱宝报鲍辈贝钡狈备惫绷笔毕毙闭边编贬变辩辫鳖瘪濒滨宾摈饼拨钵铂驳卜补参蚕残惭惨灿苍舱仓沧厕侧册测层诧搀掺蝉馋谗缠铲产阐颤场尝长偿肠厂畅钞车彻尘陈衬撑称惩诚骋痴迟驰耻齿炽冲虫宠畴踌筹绸丑橱厨锄雏础储触处传疮闯创锤纯绰辞词赐聪葱囱从丛凑窜错达带贷担单郸掸胆惮诞弹当挡党荡档捣岛祷导盗灯邓敌涤递缔点垫电淀钓调迭谍叠钉顶锭订东动栋冻斗犊独读赌镀锻断缎兑队对吨顿钝夺鹅额讹恶饿儿尔饵贰发罚阀珐矾钒烦范贩饭访纺飞废费纷坟奋愤粪丰枫锋风疯冯缝讽凤肤辐抚辅赋复负讣妇缚该钙盖干赶秆赣冈刚钢纲岗皋镐搁鸽阁铬个给龚宫巩贡钩沟构购够蛊顾剐关观馆惯贯广规硅归龟闺轨诡柜贵刽辊滚锅国过骇韩汉阂鹤贺横轰鸿红后壶护沪户哗华画划话怀坏欢环还缓换唤痪焕涣黄谎挥辉毁贿秽会烩汇讳诲绘荤浑伙获货祸击机积饥讥鸡绩缉极辑级挤几蓟剂济计记际继纪夹荚颊贾钾价驾歼监坚笺间艰缄茧检碱硷拣捡简俭减荐槛鉴践贱见键舰剑饯渐溅涧浆蒋桨奖讲酱胶浇骄娇搅铰矫侥脚饺缴绞轿较秸阶节茎惊经颈静镜径痉竞净纠厩旧驹举据锯惧剧鹃绢杰洁结诫届紧锦仅谨进晋烬尽劲荆觉决诀绝钧军骏开凯颗壳课垦恳抠库裤夸块侩宽矿旷况亏岿窥馈溃扩阔蜡腊莱来赖蓝栏拦篮阑兰澜谰揽览懒缆烂滥捞劳涝乐镭垒类泪篱离里鲤礼丽厉励砾历沥隶俩联莲连镰怜涟帘敛脸链恋炼练粮凉两辆谅疗辽镣猎临邻鳞凛赁龄铃凌灵岭领馏刘龙聋咙笼垄拢陇楼娄搂篓芦卢颅庐炉掳卤虏鲁赂禄录陆驴吕铝侣屡缕虑滤绿峦挛孪滦乱抡轮伦仑沦纶论萝罗逻锣箩骡骆络妈玛码蚂马骂吗买麦卖迈脉瞒馒蛮满谩猫锚铆贸么霉没镁门闷们锰梦谜弥觅绵缅庙灭悯闽鸣铭谬谋亩钠纳难挠脑恼闹馁腻撵捻酿鸟聂啮镊镍柠狞宁拧泞钮纽脓浓农疟诺欧鸥殴呕沤盘庞国爱赔喷鹏骗飘频贫苹凭评泼颇扑铺朴谱脐齐骑岂启气弃讫牵扦钎铅迁签谦钱钳潜浅谴堑枪呛墙蔷强抢锹桥乔侨翘窍窃钦亲轻氢倾顷请庆琼穷趋区躯驱龋颧权劝却鹊让饶扰绕热韧认纫荣绒软锐闰润洒萨鳃赛伞丧骚扫涩杀纱筛晒闪陕赡缮伤赏烧绍赊摄慑设绅审婶肾渗声绳胜圣师狮湿诗尸时蚀实识驶势释饰视试寿兽枢输书赎属术树竖数帅双谁税顺说硕烁丝饲耸怂颂讼诵擞苏诉肃虽绥岁孙损笋缩琐锁獭挞抬摊贪瘫滩坛谭谈叹汤烫涛绦腾誊锑题体屉条贴铁厅听烃铜统头图涂团颓蜕脱鸵驮驼椭洼袜弯湾顽万网韦违围为潍维苇伟伪纬谓卫温闻纹稳问瓮挝蜗涡窝呜钨乌诬无芜吴坞雾务误锡牺袭习铣戏细虾辖峡侠狭厦锨鲜纤咸贤衔闲显险现献县馅羡宪线厢镶乡详响项萧销晓啸蝎协挟携胁谐写泻谢锌衅兴汹锈绣虚嘘须许绪续轩悬选癣绚学勋询寻驯训讯逊压鸦鸭哑亚讶阉烟盐严颜阎艳厌砚彦谚验鸯杨扬疡阳痒养样瑶摇尧遥窑谣药爷页业叶医铱颐遗仪彝蚁艺亿忆义诣议谊译异绎荫阴银饮樱婴鹰应缨莹萤营荧蝇颖哟拥佣痈踊咏涌优忧邮铀犹游诱舆鱼渔娱与屿语吁御狱誉预驭鸳渊辕园员圆缘远愿约跃钥岳粤悦阅云郧匀陨运蕴酝晕韵杂灾载攒暂赞赃脏凿枣灶责择则泽贼赠扎札轧铡闸诈斋债毡盏斩辗崭栈战绽张涨帐账胀赵蛰辙锗这贞针侦诊镇阵挣睁狰帧郑证织职执纸挚掷帜质钟终种肿众诌轴皱昼骤猪诸诛烛瞩嘱贮铸筑驻专砖转赚桩庄装妆壮状锥赘坠缀谆浊兹资渍踪综总纵邹诅组钻致钟么为只凶准启板里雳余链泄标适态于';
}
function FTPYStr(){
return '皚藹礙愛翺襖奧壩罷擺敗頒辦絆幫綁鎊謗剝飽寶報鮑輩貝鋇狽備憊繃筆畢斃閉邊編貶變辯辮鼈癟瀕濱賓擯餅撥缽鉑駁蔔補參蠶殘慚慘燦蒼艙倉滄廁側冊測層詫攙摻蟬饞讒纏鏟産闡顫場嘗長償腸廠暢鈔車徹塵陳襯撐稱懲誠騁癡遲馳恥齒熾沖蟲寵疇躊籌綢醜櫥廚鋤雛礎儲觸處傳瘡闖創錘純綽辭詞賜聰蔥囪從叢湊竄錯達帶貸擔單鄲撣膽憚誕彈當擋黨蕩檔搗島禱導盜燈鄧敵滌遞締點墊電澱釣調叠諜疊釘頂錠訂東動棟凍鬥犢獨讀賭鍍鍛斷緞兌隊對噸頓鈍奪鵝額訛惡餓兒爾餌貳發罰閥琺礬釩煩範販飯訪紡飛廢費紛墳奮憤糞豐楓鋒風瘋馮縫諷鳳膚輻撫輔賦複負訃婦縛該鈣蓋幹趕稈贛岡剛鋼綱崗臯鎬擱鴿閣鉻個給龔宮鞏貢鈎溝構購夠蠱顧剮關觀館慣貫廣規矽歸龜閨軌詭櫃貴劊輥滾鍋國過駭韓漢閡鶴賀橫轟鴻紅後壺護滬戶嘩華畫劃話懷壞歡環還緩換喚瘓煥渙黃謊揮輝毀賄穢會燴彙諱誨繪葷渾夥獲貨禍擊機積饑譏雞績緝極輯級擠幾薊劑濟計記際繼紀夾莢頰賈鉀價駕殲監堅箋間艱緘繭檢堿鹼揀撿簡儉減薦檻鑒踐賤見鍵艦劍餞漸濺澗漿蔣槳獎講醬膠澆驕嬌攪鉸矯僥腳餃繳絞轎較稭階節莖驚經頸靜鏡徑痙競淨糾廄舊駒舉據鋸懼劇鵑絹傑潔結誡屆緊錦僅謹進晉燼盡勁荊覺決訣絕鈞軍駿開凱顆殼課墾懇摳庫褲誇塊儈寬礦曠況虧巋窺饋潰擴闊蠟臘萊來賴藍欄攔籃闌蘭瀾讕攬覽懶纜爛濫撈勞澇樂鐳壘類淚籬離裏鯉禮麗厲勵礫曆瀝隸倆聯蓮連鐮憐漣簾斂臉鏈戀煉練糧涼兩輛諒療遼鐐獵臨鄰鱗凜賃齡鈴淩靈嶺領餾劉龍聾嚨籠壟攏隴樓婁摟簍蘆盧顱廬爐擄鹵虜魯賂祿錄陸驢呂鋁侶屢縷慮濾綠巒攣孿灤亂掄輪倫侖淪綸論蘿羅邏鑼籮騾駱絡媽瑪碼螞馬罵嗎買麥賣邁脈瞞饅蠻滿謾貓錨鉚貿麽黴沒鎂門悶們錳夢謎彌覓綿緬廟滅憫閩鳴銘謬謀畝鈉納難撓腦惱鬧餒膩攆撚釀鳥聶齧鑷鎳檸獰甯擰濘鈕紐膿濃農瘧諾歐鷗毆嘔漚盤龐國愛賠噴鵬騙飄頻貧蘋憑評潑頗撲鋪樸譜臍齊騎豈啓氣棄訖牽扡釺鉛遷簽謙錢鉗潛淺譴塹槍嗆牆薔強搶鍬橋喬僑翹竅竊欽親輕氫傾頃請慶瓊窮趨區軀驅齲顴權勸卻鵲讓饒擾繞熱韌認紉榮絨軟銳閏潤灑薩鰓賽傘喪騷掃澀殺紗篩曬閃陝贍繕傷賞燒紹賒攝懾設紳審嬸腎滲聲繩勝聖師獅濕詩屍時蝕實識駛勢釋飾視試壽獸樞輸書贖屬術樹豎數帥雙誰稅順說碩爍絲飼聳慫頌訟誦擻蘇訴肅雖綏歲孫損筍縮瑣鎖獺撻擡攤貪癱灘壇譚談歎湯燙濤縧騰謄銻題體屜條貼鐵廳聽烴銅統頭圖塗團頹蛻脫鴕馱駝橢窪襪彎灣頑萬網韋違圍爲濰維葦偉僞緯謂衛溫聞紋穩問甕撾蝸渦窩嗚鎢烏誣無蕪吳塢霧務誤錫犧襲習銑戲細蝦轄峽俠狹廈鍁鮮纖鹹賢銜閑顯險現獻縣餡羨憲線廂鑲鄉詳響項蕭銷曉嘯蠍協挾攜脅諧寫瀉謝鋅釁興洶鏽繡虛噓須許緒續軒懸選癬絢學勳詢尋馴訓訊遜壓鴉鴨啞亞訝閹煙鹽嚴顔閻豔厭硯彥諺驗鴦楊揚瘍陽癢養樣瑤搖堯遙窯謠藥爺頁業葉醫銥頤遺儀彜蟻藝億憶義詣議誼譯異繹蔭陰銀飲櫻嬰鷹應纓瑩螢營熒蠅穎喲擁傭癰踴詠湧優憂郵鈾猶遊誘輿魚漁娛與嶼語籲禦獄譽預馭鴛淵轅園員圓緣遠願約躍鑰嶽粵悅閱雲鄖勻隕運蘊醞暈韻雜災載攢暫贊贓髒鑿棗竈責擇則澤賊贈紮劄軋鍘閘詐齋債氈盞斬輾嶄棧戰綻張漲帳賬脹趙蟄轍鍺這貞針偵診鎮陣掙睜猙幀鄭證織職執紙摯擲幟質鍾終種腫衆謅軸皺晝驟豬諸誅燭矚囑貯鑄築駐專磚轉賺樁莊裝妝壯狀錐贅墜綴諄濁茲資漬蹤綜總縱鄒詛組鑽緻鐘麼為隻兇準啟闆裡靂餘鍊洩標適態於';
}
function Traditionalized(cc){
var str='',ss=JTPYStr(),tt=FTPYStr();
for(var i=0;i10000&&ss.indexOf(cc.charAt(i))!=-1)str+=tt.charAt(ss.indexOf(cc.charAt(i)));
else str+=cc.charAt(i);
}
return str;
}
function Traditionalizedce(cc){
var str='',tt=JTPYStr(),ss=FTPYStr();
for(var i=0;i10000&&ss.indexOf(cc.charAt(i))!=-1)str+=tt.charAt(ss.indexOf(cc.charAt(i)));
else str+=cc.charAt(i);
}
return str;
}
function _RequestParamsStr(){
var strHref = window.document.location.href;
var intPos = strHref.indexOf('?');
var strRight = strHref.substr(intPos+1);
return strRight;
}
function Request(strName){
var arrTmp = _RequestParamsStr().split("&");
for(var i=0,len=arrTmp.length; i' + loadingText + '');
$("#"+obj+" .detailContent").css('height',0).css('opacity',0);
checkImgLoad(obj,t_img,isLoad,autoHeight);
$(window).on('load',function(){
isLoad = false;
clearTimeout(t_img);
t_img = null;
$("#"+obj+" .detailContent").css('height','auto').css('opacity',1);
$("#"+obj+" .content_load").remove();
});
}
function checkImgLoad(obj,t_img,isLoad,autoHeight) {
t_img = setTimeout(function(){
if(isLoad) {
$("#"+obj+" .detailContent img").each(function() {
if($(this).attr("src") && $(this).height() === 0) {
isLoad = false;
return false;
}
});
if(isLoad) {
isLoad = false;
clearTimeout(t_img);
t_img = null;
if(autoHeight&&autoHeight=="true"){
var aboutHeight = $("#"+obj+" .detailContent").height();
$("#"+obj).parents('.layout').height($("#"+obj).parents('.layout').height() + aboutHeight);
}
setTimeout(function(){
$("#"+obj+" .detailContent").css('height','auto').css('opacity',1);
$("#"+obj+" .content_load").remove();
diyAutoHeight();
},500);
}else{
isLoad = true;
checkImgLoad(obj,t_img,isLoad,autoHeight);
}
}
},500);
}