text: $(function(){J_btFixedInd();function J_btFixedInd(){var wrap=$("#J_btFixedInd");var resultShow=$("#resultShow i",wrap);setInterval(function(){var a=Math.ceil(Math.random()*150000)+10000;resultShow.text(a);},200);var unit=$("#unit",wrap),unitTxt=new Array();$(".cls_unit",wrap).hide();$(".list",wrap).each(function(i){var me=$(this);unitTxt[i]=me.val();unit.val(unitTxt.join(','));me.change(function(){var val=$(this).val(),unitTxt=unit.val().split(",");unitTxt[i]=val;unit.val(unitTxt);});});var cartoon=$(".cartoon img",wrap),bj=$(".btFixedIndBj",wrap),openWrap=$(".btFixedIndOpen"),bg=$(".bg",wrap),closeWrap=$(".closeWrap",wrap),closeBj=$(".closeBj",wrap);openWrap.click(function(){openWrapW();});closeWrap.click(function(){closeWrapW();});cartoon.click(function(){openBjW();});closeBj.click(function(){closeBjW();});function openWrapW(){openWrap.animate({"opacity":"0","left":"-100%"},500,function(){wrap.animate({"opacity":"1","left":"0"});});}
  function closeWrapW(){wrap.animate({"opacity":"0","left":"-150%"},500,function(){openWrap.animate({"opacity":"1","left":"10px"});});}
  function openBjW(){bg.animate({"opacity":"1","height":"100%"},500,function(){bj.animate({"opacity":"1","top":"50%"});});}
  function closeBjW(){bj.animate({"opacity":"0","top":"-150%"},500,function(){bg.animate({"opacity":"0","height":"0"});bj.css({"opacity":"0","top":"150%"});closeWrapW();});}}});function J_btFixedIndBj_submit(f){var formId=$("#"+f),form=$("form",formId),btn=$("#_phpok_submit",formId),contact=$("#contact",formId),phone=$("#phone",formId),area=$("#area",formId),yusuan=$("#yusuan",formId),resultShow=$("#resultShow",formId),areaVal=parseFloat(area.val()),costResult;if(btn.hasClass("disabled")){layerAlert('您已经提交过了，感谢您的支持！',6,3000);return false;}
  if(!contact.val()&&contact.length){layerTips('请输入您的称呼',contact);contact.focus();return false;}
  if(!(/^1[2-9]\d{9}$/.test(phone.val()))&&phone.length){layerTips('手机号码未填写或填写错误',phone);phone.focus();return false;}
  if(isNaN(areaVal)){layerTips('请输入正确的面积',area);area.focus();return false;}
  costResult=1298*areaVal;var Result=parseFloat(costResult);if(isNaN(Result)){layerAlert("计算失败，请检查所填写格式");return false;}else{Result=Math.round(costResult);}
  yusuan.val(Result);$.post(form.attr("action"),form.serialize(),function(data2){resultShow.text(Result);btn.addClass("disabled");});return false;}