var ez_dinsite=[2580,2580]; var ez_professional=[580,580]; var ez_prohk=[680,680]; var ez_prombl=[580,580]; var ez_promblhk=[680,680]; var ez_shop=[1780,1780]; var ez_shophk=[1880,1880]; var ez_shopmbl=[1780,1780]; var ez_shopmblhk=[1880,1880]; var ez_shoptemp=[480,0]; var ez_tcsupreme10=[3280,3280]; var ez_tcsupreme100=[7480,7480]; var ez_tcsupreme30=[4680,4680]; var ez_tcsupreme50=[6080,6080]; var ez_tcsupremehk10=[3280,3280]; var ez_tcsupremehk100=[7480,7480]; var ez_tcsupremehk30=[4680,4680]; var ez_tcsupremehk50=[6080,6080]; var ez_temp=[180,0]; var ez_tvsupremehk50=[2000,2000]; var ez_ultihk=[880,880]; var ez_ultimate=[780,780]; var ez_ultimbl=[780,780]; var ez_ultimblhk=[880,880]; var ez_weishop=[1780,1780]; var ez_wxappshoptemp=[300,300]; var ez_wxapptemp=[188,188]; var ez_wxmarketing=[2460,2460]; var ez_wxstandard=[620,620]; $(function(){ $("select[name='room']").each(function(){ var obj_=$(this) var xh=obj_.attr("data-xh"); var lx=obj_.attr("data-lx"); GetWebsitesYears(xh,lx,obj_.val(),5) }) $("select[name='room']").change(function(){ var obj_=$(this) var xh=obj_.attr("data-xh"); var lx=obj_.attr("data-lx"); GetWebsitesYears(xh,lx,obj_.val(),5) }) $("#J_buyTplBtn,.J_buy-btn,.J-config-btn").click(function(){ showbuy() }) }) function GetWebsitesYears(xh,bb,jf,num) { console.log(xh+" "+bb) var p_=""; if(xh!="mobile") { var obj_=$('#price_'+bb+"_"+xh); } else{ var obj_=$('#price_'+bb); } obj_.empty(); if(xh=="mobile" && bb=="pro" && jf!="cn") { p_=ez_promblhk; }else if(xh=="mobile" && bb=="pro" ) { p_=ez_prombl; }else if(xh=="mobile" && bb=="ulti" && jf!="cn") { p_=ez_ultimblhk; }else if(xh=="mobile" && bb=="ulti" ) { p_=ez_ultimbl; }else if(xh=="mobile" && bb=="shop" && jf!="cn") { p_=ez_shopmblhk; }else if(xh=="mobile" && bb=="shop" ) { p_=ez_shopmbl; }else if(xh=="pc" && bb=="shop" && jf!="cn") { p_=ez_shophk; }else if(xh=="pc" && bb=="shop" ) { p_=ez_shop; }else if(xh=="pc" && bb=="pro" && jf!="cn") { p_=ez_prohk; }else if(xh=="pc" && bb=="pro" ) { p_=ez_professional; }else if(xh=="pc" && bb=="ulti" && jf!="cn") { p_=ez_ultihk; }else if(xh=="pc" && bb=="ulti" ) { p_=ez_ultimate; }else if(xh=="all" && bb=="shop" && jf!="cn") { var p=ez_shopmblhk[0]+ez_shopmblhk[0]*0.5; var p1=ez_shopmblhk[1]+ez_shopmblhk[1]*0.5; p_=[p,p1]; }else if(xh=="all" && bb=="shop" ) { var p=ez_shop[0]+ez_shopmbl[0]*0.5; var p1=ez_shop[1]+ez_shopmbl[1]*0.5; p_=[p,p1]; }else if(xh=="all" && bb=="pro" && jf!="cn") { var p=ez_prohk[0]+ez_promblhk[0]*0.5; var p1=ez_prohk[1]+ez_promblhk[1]*0.5; p_=[p,p1]; }else if(xh=="all" && bb=="pro" ) { var p=ez_professional[0]+ez_prombl[0]*0.5; var p1=ez_professional[1]+ez_prombl[1]*0.5; p_=[p,p1]; }else if(xh=="all" && bb=="ulti" && jf!="cn") { var p=ez_ultihk[0]+ez_ultimblhk[0]*0.5; var p1=ez_ultihk[1]+ez_ultimblhk[1]*0.5; p_=[p,p1]; }else if(xh=="all" && bb=="ulti" ) { var p=ez_ultimate[0]+ez_ultimbl[0]*0.5; var p1=ez_ultimate[1]+ez_ultimbl[1]*0.5; p_=[p,p1]; }else if(xh=="mobile" && bb=="weishop" ) { p_=ez_weishop; }else if(xh=="all" && bb=="supreme" && jf!="cn"){ var p=ez_tcsupremehk10[0]+ez_tcsupremehk10[0]*0.5; var p1=ez_tcsupremehk10[1]+ez_tcsupremehk10[1]*0.5; p_=[p,p1]; }else if(xh=="all" && bb=="supreme"){ var p=ez_tcsupreme10[0]+ez_tcsupreme10[0]*0.5; var p1=ez_tcsupreme10[1]+ez_tcsupreme10[1]*0.5; p_=[p,p1]; } if(p_.length==2) { for(var i=0;i'+(p_[0]*(i+1))+'元/'+(i+1)+'年') } } } function showbuy() { var qqstr="123456,1234567,12345678" msg="
请联系在线客服购买
" if(qqstr!="") { t_=qqstr.split(",") for(var i=0;i点击发送消息给对方与客服对话

' } } msg+='
' $.dialog({"title":"联系在线客服购买","content":msg,id:"showbuy1111"}) }