address.js 7.0 KB

1
  1. eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('2Z([\'S\',\'18\'],c(S,18){3 10={};10.2D=c(){7(1x(8.q)!==\'1b\'){3 9=$(".5-9[b-t=\'"+8.q.d+"\']");7(9.p<=\'0\'){3 1m=$(".5-9");7(1m.p>\'0\'){3 6=18(\'1H\',{5:8.q});$(1m).1m().2J(6)}C{8.q.I=1;3 6=18(\'1H\',{5:8.q});$(\'.1k-29\').1Y();$(\'.l-1k\').6(6)}}C{3 5=8.q;9.s(\'.k\').6(5.k);9.s(\'.j\').6(5.j);9.s(\'.5\').6(5.n.2f(/ /27,\'\')+\' \'+5.5)}17 8.q}$(\'*[b-25=17]\').2L(\'U\').U(c(){3 9=$(h).1f(\'.5-9\');3 d=9.b(\'t\');7(!d){d=$(h).b("t");3 i=d}A.2M(\'删除后无法恢复, 确认要删除吗 ?\',c(){S.F(\'1j/5/17\',{d:d},c(B){7(B.1o==1){7(B.g.1Z){$("[b-t=\'"+B.g.1Z+"\']").s(\':1a\').2u(\'1r\',y)}9.21();2O(c(){7($(".5-9").p<=0){$(\'.1k-29\').u()}},2P);z}A.D.u(B.g.1L)},y,y);7(d==i){8.1A.1z()}})});$(G).1I(\'U\',\'[b-25=28]\',c(){3 9=$(h).1f(\'.5-9\');3 d=9.b(\'t\');7(!d){d=$(h).b("t")}S.F(\'1j/5/28\',{d:d},c(B){7(B.1o==1){$(\'.l-1k\').24(9);A.D.u("设置默认地址成功");z}A.D.u(B.g.1L)},y,y)})};10.2y=c(P){3 1Q=[\'1T.22\'];7(P.1g){1Q=[\'1T.22\',\'1T.2X\']}2W(1Q,c(){$(\'#n\').1M({1s:\'请选择所在城市\',1g:P.1g,1B:P.1B,2V:c(2U){3 V=$(\'#n\').T(\'b-L\');3 16=V.2d(\' \');7(P.1g&&P.1B){3 x=16[1];3 M=16[2];x=x+\'\';M=M+\'\';3 b=1G(x,M);3 f=$(\'<1K 2w="1J" d="f" 13="f" b-L="" L="" 2T="所在街道" r="l-1K" 2Y=""/>\');3 23=$(\'#f\').1f(\'.l-2R-2Q\');$(\'#f\').21();23.2K(f);f.1M({1s:\'请选择所在街道\',f:1,b:b})}}});7(P.1g&&P.1B){3 V=$(\'#n\').T(\'b-L\');7(V){3 16=V.2d(\' \');3 x=16[1];3 M=16[2];3 b=1G(x,M);$(\'#f\').1M({1s:\'请选择所在街道\',f:1,b:b})}}});$(G).1I(\'U\',\'#1t-5\',c(){2F.2E({2C:c(E){$("#k").o(E.2B);$(\'#j\').o(E.2A);$(\'#5\').o(E.2z);$(\'#n\').o(E.11+" "+E.Z+" "+E.2a);3 11=E.11,Z=E.Z,1q=E.2a;3 1E=0,x=0,1d=0;3 20=\'../2l/2m/2n/2p/2q/1W/3h.2t?v=4\';1F=1D(20);7(8.1N){Q=1F.3u("5").1V}C{Q=1F.1V[0].15("1c")}7(Q.p>0){14(3 Y=0;Y<Q.p;Y++){1c=Q[Y];7(1c.J("13")==11&&11!=12&&11.1n().p>0){1E=1c.J("19");1w=Q[Y].15("1P");14(3 X=0;X<1w.p;X++){7(1w[X].J("13")==Z&&Z!=12&&Z.1n().p>0){x=1w[X].J("19");K=Q[Y].15("1P")[X].15("K");14(3 1i=0;1i<K.p;1i++){7(K[1i].J("13")==1q&&1q!=12&&1q.1n().p>0){1d=K[1i].J("19")}}}}}}}$("#n").T("b-L",1E+" "+x+" "+1d)}})});$(G).1I(\'U\',\'#1t-R\',c(){7($(h).T(\'R\')){z}7($(\'#k\').1v()){A.D.u("请填写收件人");z}3 26=/(境外地区)+/.1y($(\'#n\').o());3 2b=/(台湾)+/.1y($(\'#n\').o());3 2c=/(澳门)+/.1y($(\'#n\').o());3 2e=/(香港)+/.1y($(\'#n\').o());7(26||2b||2c||2e){7($(\'#j\').1v()){A.D.u("请填写手机号码");z}}C{7(!$(\'#j\').3t()){A.D.u("请填写正确手机号码");z}}7($(\'#n\').1v()){A.D.u("请填写所在地区");z}7($(\'#5\').1v()){A.D.u("请填写详细地址");z}$(\'#1t-R\').6(\'正在处理...\').T(\'R\',1);8.q={k:$(\'#k\').o(),j:$(\'#j\').o(),5:$(\'#5\').o(),n:$(\'#n\').o(),f:$(\'#f\').o(),39:$(\'#f\').T(\'b-L\'),V:$(\'#n\').T(\'b-L\'),I:$(\'#I\').33(\':1r\')?1:0};S.F(\'1j/5/R\',{d:$(\'#t\').o(),34:8.q},c(F){$(\'#1t-R\').6(\'保存地址\').36(\'R\');8.q.d=F.g.t;7(F.1o==1){A.D.u(\'保存成功!\');1A.1z()}C{A.D.u(F.g.1L)}},y,y)})};10.3a=c(){7(1x(8.q)!==\'1b\'){3 5=8.q;3 9=$(".5-9[b-t=\'"+5.d+"\']",$(\'#1e-5-W\'));7(9.p>0){9.s(\'.k\').6(5.k);9.s(\'.j\').6(5.j);9.s(\'.5\').6(5.n.2f(/ /27,\'\')+\' \'+5.5)}C{3 6=18(\'1H\',{5:8.q});$(\'.l-e-3f\').24(6)}17 8.q}3 1h=1U;7(1x(8.H)!==\'1b\'){1h=8.H.d;17 8.H}C 7(1x(8.2h)!==\'1b\'){1h=8.2h}7(1h){$(".5-9[b-t=\'"+1h+"\'] .l-1a",$(\'#1e-5-W\')).2u(\'1r\',y)}$(\'.5-9 .l-e-1S,.5-9 .l-e-1R\',$(\'#1e-5-W\')).U(c(){3 $h=$(h).1f(\'.5-9\');8.H={\'k\':$h.s(\'.k\').6(),\'5\':$h.s(\'.5\').6(),\'j\':$h.s(\'.j\').6(),\'d\':$h.b(\'t\')};G.1l="d="+8.H.d;G.1l="j="+8.H.j;G.1l="k="+2x(8.H.k);G.1l="3g="+2x($.1n(8.H.5));1A.1z()});$(\'#3e\',$(\'#1e-5-W\')).3d(c(){S.F(\'1j/5/3c\',{3b:$(h).o()},c(B){7(B.1o==1){3 g=B.g;$(\'#2o\').1Y();$(\'#1X\').u();3 6="";14(3 i=0;i<g.e.p;i++){3 I=g.e[i].I;6+=\'<w r="l-e 5-9" b-I="\'+I+\'" b-t="\'+g.e[i].d+\'">\';6+=\'<w r="l-e-1S">\';6+=\'<1K 2w="1a" 13="38" r="l-1a l-1a-31" \';7(2g(I)>0){6+=\' 1r \'}6+=\' /></w>\';6+=\'<w r="l-e-1R">\';6+=\'<w r="1s"><N r="k">\'+g.e[i].k+\'</N> <N r="j">\'+g.e[i].j+\'</N></w>\';6+=\'<w r="1J">\';6+=\'<N r="5">\';7(2g(I)>0){6+=\' <N r="37">默认</N> \'}3 f=" ";7(g.e[i].f!=1b){f+=g.e[i].f+\' \'}6+=g.e[i].1c+g.e[i].1P+g.e[i].1W+f+g.e[i].5;6+=\'</N>\';6+=\'</w>\';6+=\'</w>\';6+=\'<a 35="\'+g.e[i].32+\'" r="3i" b-3j="y">\';6+=\'<w r="l-e-3l">\';6+=\'<i r="2r 2r-3m"></i>\';6+=\'</w>\';6+=\'</a>\';6+=\'</w>\'}$(\'#1X\').6(6);$(\'.5-9 .l-e-1S,.5-9 .l-e-1R\',$(\'#1e-5-W\')).U(c(){3 $h=$(h).1f(\'.5-9\');8.H={\'k\':$h.s(\'.k\').6(),\'5\':$h.s(\'.5\').6(),\'j\':$h.s(\'.j\').6(),\'d\':$h.b(\'t\')};1A.1z()})}C{$(\'#2o\').u();$(\'#1X\').1Y()}},y,y)})};10.3n=c(){S.F(\'1j/5/W/3o\',{},c(){})};8.1D=c(1p){3 O=12;7(8.1N){O=2j 1N("3p.3q");O.3s=1U;O.3v(1p)||O.3k(1p)}C 7(G.2k&&G.2k.3x){3 1C=2j 8.3w();1C.3r("30",1p,1U);1C.2S(12);O=1C.2G}C{O=12}z O};8.1G=c(x,M){3 2s=x.2H(0,2);3 2i=\'../2l/2m/2n/2p/2q/1W/e/\'+2s+\'/\'+x+\'.2t\';3 2v=1D(2i);3 1u=2v.1V[0].15("K");3 b=[];7(1u.p>0){14(3 i=0;i<1u.p;i++){3 K=1u[i];3 1d=K.J("19");7(1d==M){3 1O=K.15("f");14(3 m=0;m<1O.p;m++){3 f=1O[m];b.2N({"1J":f.J(\'13\'),"L":f.J(\'19\'),"2I":[]})}}}}z b};z 10});',62,220,'|||var||address|html|if|window|item||data|function|id|list|street|result|this||mobile|realname|fui||areas|val|length|editAddressData|class|find|addressid|show||div|city_code|true|return|FoxUI|ret|else|toast|res|json|document|selectedAddressData|isdefault|getAttribute|county|value|area_code|span|xmlDom|params|TopnodeList|submit|core|attr|click|datavalue|selector|citys_index|province_index|cityName|modal|provinceName|null|name|for|getElementsByTagName|codes|delete|tpl|code|radio|undefined|province|county_code|page|closest|new_area|selectedAddressID|county_index|member|content|cookie|first|trim|status|xmlFile|countyName|checked|title|btn|CityList|isEmpty|citys|typeof|test|back|history|address_street|xmlhttp|loadXmlFile|province_code|xmlDoc|loadStreetData|tpl_address_item|on|text|input|message|cityPicker|ActiveXObject|streetlist|city|reqParams|inner|media|foxui|false|childNodes|area|addresslist|hide|defaultid|xmlfile|remove|picker|parents|prepend|toggle|jingwai|ig|setdefault|empty|countryName|taiwan|aomen|split|xianggang|replace|parseInt|orderSelectedAddressID|xmlUrl|new|implementation|addons|ewei_shopv2|static|noaddress|js|dist|icon|left|xml|prop|xmlCityDoc|type|encodeURI|initPost|detailInfo|telNumber|userName|success|initList|openAddress|wx|responseXML|substring|children|before|append|unbind|confirm|push|setTimeout|100|info|cell|send|placeholder|self|onClose|require|citydatanew|readonly|define|GET|danger|editurl|is|addressdata|href|removeAttr|tacitlyapprove|selected|streetdatavalue|initSelector|keywords|getselector|change|search|group|addressd|AreaNew|external|nocache|loadXML|angle|icon_huida_tianxiebtn|loadSelectorData|get_list|Microsoft|XMLDOM|open|async|isMobile|selectSingleNode|load|XMLHttpRequest|createDocument'.split('|'),0,{}))