'; }; return html; }; //添加一个ul function getnewul(id,first){ //id为此分类的父级id var ul=$('
    '), loadingel=$('
    ').appendto(ul), html='',containerhidden=false; if(id!=0&&displayform==1){ ul.prepend('
  • 返回上级
  • '); }; categorycontainer.append(ul); if(displayform==1||(isphonestate&&phonedisplayform==2)){ var h=ul.outerheight(); boxheight(h); }; rpcjson('/appmodule/xzaudio/modulerpc/getcategory',{id:id,appoint:appoint,appointid:appointid},function(backdata){ loadingel.remove(); ul.append(getcategorielidata(backdata.data)).addclass('show'); if(isphonestate&&phonedisplayform==2&&categorycontainer.is(":hidden")){ categorycontainer.css('opacity',0).show(); containerhidden=true; } if(displayform==1||(isphonestate&&phonedisplayform==2)){ h=ul.outerheight(); boxheight(h); if(displayform==1){ ul.css({'position':'absolute','height':'100%'}); } }; if(isphonestate&&phonedisplayform==2&&containerhidden){ categorycontainer.css('opacity',1).hide(); containerhidden=false; } if(displayform==1){ $('ul[data-id="'+ id +'"]',categorycontainer).data('parentid',backdata.parentid); }; }); }; //设置容器的高度 function boxheight(height){ if($boxheight
    '); rpcjson('/appmodule/xzaudio/modulerpc/getcategory',{id:sonid,appoint:appoint,appointid:appointid},function(backdata){ $('.categoryson',li).html(getcategorielidata(backdata.data)); if(isphonestate&&phonedisplayform==2){ var h=li.parents('ul:first').outerheight(); boxheight(h); }; }); }; }; }); }; })(jquery);

    立即升级,即可免费学习《学习心态》

    收费专区

    '; }; return html; }; //添加一个ul function getnewul(id,first){ //id为此分类的父级id var ul=$('
      '), loadingel=$('
      ').appendto(ul), html='',containerhidden=false; if(id!=0&&displayform==1){ ul.prepend('
    • 返回上级
    • '); }; categorycontainer.append(ul); if(displayform==1||(isphonestate&&phonedisplayform==2)){ var h=ul.outerheight(); boxheight(h); }; rpcjson('/appmodule/xzaudio/modulerpc/getcategory',{id:id,appoint:appoint,appointid:appointid},function(backdata){ loadingel.remove(); ul.append(getcategorielidata(backdata.data)).addclass('show'); if(isphonestate&&phonedisplayform==2&&categorycontainer.is(":hidden")){ categorycontainer.css('opacity',0).show(); containerhidden=true; } if(displayform==1||(isphonestate&&phonedisplayform==2)){ h=ul.outerheight(); boxheight(h); if(displayform==1){ ul.css({'position':'absolute','height':'100%'}); } }; if(isphonestate&&phonedisplayform==2&&containerhidden){ categorycontainer.css('opacity',1).hide(); containerhidden=false; } if(displayform==1){ $('ul[data-id="'+ id +'"]',categorycontainer).data('parentid',backdata.parentid); }; }); }; //设置容器的高度 function boxheight(height){ if($boxheight
      '); rpcjson('/appmodule/xzaudio/modulerpc/getcategory',{id:sonid,appoint:appoint,appointid:appointid},function(backdata){ $('.categoryson',li).html(getcategorielidata(backdata.data)); if(isphonestate&&phonedisplayform==2){ var h=li.parents('ul:first').outerheight(); boxheight(h); }; }); }; }; }); }; })(jquery);