favorite.js 3.2 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}('1l([\'n\',\'A\'],3(n,A){9 2={p:1,j:0};2.1d=3(){4($(\'#w a\').i>0){$(\'#w a\').k(\'6\').6(3(e){e.1p();9 K=y;$(\'#w a\').W(\'14\');$(K).Z(\'14\');4($(K).H(\'w\')==\'1n\'){2.j=0}m 4($(K).H(\'w\')==\'1o\'){2.j=1};$(\'.B\').z(\'\');2.p=1;2.D();$(\'.l-g\').C({18:3(){2.D()}});$(\'.d-5\').k(\'6\').6(3(){2.O()});$(\'.Q\').k(\'6\').6(3(){9 8=$(y).11(\':17\').q(\'8\');$(".5-b").q(\'8\',8);2.P()});$(\'.d-N\').k(\'6\').6(3(){4($(\'.5-b:8\').i<=0){f}2.x()})});$(\'#w a\').1m().6()}m{4(2.p==1){2.D()};$(\'.l-g\').C({18:3(){2.D()}});$(\'.d-5\').k(\'6\').6(3(){2.O()});$(\'.Q\').k(\'6\').6(3(){9 8=$(y).11(\':17\').q(\'8\');$(".5-b").q(\'8\',8);2.P()});$(\'.d-N\').k(\'6\').6(3(){4($(\'.5-b:8\').i<=0){f}2.x()})}};2.P=3(){$(\'.Q .l-1j\').q(\'8\',$(\'.5-b\').i==$(\'.5-b:8\').i);9 10=$(\'.5-b:8\').i;4(10>0){$(\'.d-N\').W(\'12\')}m{$(\'.d-N\').Z(\'12\')}};2.O=3(){4($(\'.E-b\').i<=0){$(\'.B\').J();$(\'.d-5\').z(\'\');$(\'.X\').z(\'\');$(\'.g-T\').s();f}4(2.G==\'o\'){$(\'.l-g\').Z(\'13\');$(\'.5-b\').q(\'8\',u);$(\'.Q\').q(\'8\',u);$(\'.X\').s();2.G=\'5\';$(\'.d-5\').z(\'完成\')}m{$(\'.l-g\').W(\'13\');$(\'.X\').J();2.G=\'o\';$(\'.d-5\').z(\'编辑\')}};2.M=3(){9 7=\'\';4(2.j==0){7=\'I/o/16\'}m 4(2.j==1){7=\'15/I/o/16\'}f 7};2.19=3(){9 7=\'\';4(2.j==0){7=\'I/o/V\'}m 4(2.j==1){7=\'15/I/o/V\'}f 7};2.1e=3(){9 7=\'\';4(2.j==0){7=\'1v\'}m 4(2.j==1){7=\'1w\'}f 7};2.D=3(){9 7=2.M();n.Y(7,{p:2.p},3(h){9 c=h.c;4(c.1x<=0){$(\'.d-5\').J();$(\'.B\').J();$(\'.g-T\').s();$(\'.l-g\').C(\'1h\')}m{$(\'.d-5\').s();$(\'.B\').s();$(\'.g-T\').J();$(\'.l-g\').C(\'1d\');4(c.1g.i<=0||c.1g.i<c.1D){$(\'.l-g\').C(\'1h\')}}2.p++;9 A=2.1e();n.A(\'.B\',A,c,2.p>1);$(\'.5-b\').k(\'6\').6(3(){2.P()})})};2.V=3(U,R,v){9 7=2.19();n.Y(7,{t:U,R:R},3(h){4(h.G==0){4(h.c.1a==\'请先登录!\'){9 F=n.M(\'E/1u\',{t:U});F=F.1s("./1y.1C?","");L.1c("请先登录","提示",3(){1B.1A=n.M(\'1z/1r\',{F:1t(F)})});4(v){v(u)}f u}L.1b.s(h.c.1a);f u}4(v){v(h.c.R)}},u,S)};2.x=3(r,v){9 r=[];$(\'.5-b:8\').1f(3(){9 t=$(y).1k(\'.E-b\').H(\'t\');r.1i(t)});4(r.i<=0){f}L.1c(\'确认取消关注这些商品吗?\',3(){n.Y(\'I/o/x\',{r:r},3(h){4(h.G==0){L.1b.s(h.c);f}$.1f(r,3(){$(".E-b[H-t=\'"+y+"\']").1q().x();$(".E-b[H-t=\'"+y+"\']").x()});2.O()},S,S)})};f 2});',62,102,'||modal|function|if|edit|click|url|checked|var||item|result|btn||return|content|ret|length|type|unbind|fui|else|core|favorite|page|prop|ids|show|id|false|callback|tab|remove|this|html|tpl|container|infinite|getList|goods|backurl|status|data|member|hide|_this|FoxUI|getUrl|delete|changeMode|caculateEdit|editcheckall|isfavorite|true|empty|goodsid|toggle|removeClass|editmode|json|addClass|selects|find|disabled|navbar|active|merch|get_list|checkbox|onLoading|getToggleUrl|message|toast|confirm|init|getTpl|each|list|stop|push|radio|closest|define|first|type0|type1|preventDefault|prev|login|replace|btoa|detail|tpl_member_favorite_list|tpl_merch_member_favorite_list|total|index|account|href|location|php|pagesize'.split('|'),0,{}))