packdetail.js 2.9 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}('1r([\'l\',\'15\',\'1s/e/f\'],6(l,15,f,h){7 3={n:{}};3.1l=6(n){3.n=$.1p(3.n,n||{});7 z=3.n.z;7 e=3.n.e;$(\'#t-16-a\').1m(\'w\').w(6(){7 e=[];7 J=0;$(".e-U").O(6(F){7 4=$("#4"+F+"").q("c-4");7 5=$("#5"+F+"").T();9(5===1n){5=0}m 9(!5){1o.1t.13(\'请选择规格!\');J=1;u v}e[F]={4:4,5:5}});9(J==1){u v}e=1u.1z(e);9($(j).q(\'J\')){u}1A.1y=l.E(\'C/B\',{z:z,e:e})});$(".1x").w(6(){7 4=$(j).q("c-4");7 P=$(".1e"+4+"").T();$.1v({1w:l.E(\'e/t/d\',{1B:z,4:4}),1k:"R",1f:p,1h:"1i",1g:6(){},1j:6(c){9(c.1q>0){$(".K-L").8(8);7 d=c.19;7 8=\'\';1H(7 o S d){9(d[o].5){8+="<i 1V=\'t-i\' c-5=\'"+d[o].5+"\' c-11=\'"+d[o].M+"\' c-4=\'"+4+"\'>"+d[o].1U+"</i>"}}$(".K-L").8(8)}m{$(".K-L").8(\'暂无规格!\')}9(P){$(".t-i").O(6(){9($(j).q("c-5")==P){$(j).G("N")}})}$(".t-i").1T("w",6(){$(".t-i").V("N");7 4=$(j).G("N").q("c-4");7 5=$(j).q("c-5");7 M=$(j).q("c-11");7 d=$(j).8();$(".1X"+4+"").8(d);$(".1d"+4+"").8(M);$(".1e"+4+"").T(5);7 I=0;$(".1d").O(6(){I+=1S($(j).8())});$(".I").8(I.1W(2))})},20:6(){},1Z:6(){}});3.y=1Y 1R({1P:$(\'#d-f-3\').8(),1Q:\'f-3\',1C:6(){3.y.r()}});3.y.A.W(\'.1G-1F\').w(6(){3.y.r()});3.y.13()})};3.1D=6(Q){f.1E({4:3.4,b:3.b,1I:\';\',5:3.5,1J:p,1O:v,18:3.18,14:3.14,1N:6(b,5,17){3.b=b;3.5=5;$(\'.d-1M\').8("已选: 数量x"+b+" "+17);9(Q==\'16\'){9($(\'.h-A\').Y>0){7 g=h.10(\'.h-A\');9(!g){u}m{l.R(\'C/B/h\',{H:3.4,g:g},6(k){$.1b.1a(l.E(\'C/B\',{H:3.4,5:3.5,b:3.b,1K:k.19.1L}),p)},p,p);f.r()}}m{f.r();$.1b.1a(l.E(\'C/B\',{H:3.4,5:3.5,b:3.b}),v)}}m 9(Q==\'D\'){9($(\'.h-A\').Y>0){7 g=h.10(\'.h-A\');9(!g){u}m{l.R(\'C/B/h\',{H:3.4,g:g},6(k){D.12(3.4,3.5,3.b,g,6(k){$(\'.D-U\').W(\'.X\').8(k.s).V(\'Z\').G(\'S\');1c.s=k.s})},p,p);f.r()}}m{D.12(3.4,3.5,3.b,v,6(k){$(\'.D-U\').W(\'.X\').8(k.s).V(\'Z\').G(\'S\');1c.s=k.s});f.r()}}m{f.r()}}})};u 3});',62,125,'|||modal|goodsid|optionid|function|var|html|if||total|data|option|goods|picker|diyformdata|diyform||this|ret|core|else|params||true|attr|close|cartcount|package|return|false|click||packagePicker|packageid|container|create|order|cart|getUrl|index|addClass|id|totalprice|stop|dispatching|info|packageprice|active|each|default_option|action|json|in|val|item|removeClass|find|badge|length|out|getData|price|add|show|backurl|tpl|buy|optiontitle|mustbind|result|load|router|window|marketprice|inputoption|async|beforeSend|type|GET|success|dataType|init|unbind|undefined|FoxUI|extend|status|define|biz|toast|JSON|ajax|url|optionbtn|href|stringify|location|pid|maskClick|optionPicker|open|danger|btn|for|split|showConfirm|gdid|goods_data_id|selector|onConfirm|autoClose|content|extraClass|FoxUIModal|parseFloat|on|title|class|toFixed|packoption|new|error|complete'.split('|'),0,{}))