You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
714 B

  1. (function () {
  2. var page = {
  3. isScroll: false,
  4. init: function ($page) {
  5. $page.find('#toptab').toptab(['待办公文', '已办公文', '全部公文']).each(function (index) {
  6. var $this = $(this);
  7. switch (index) {
  8. case 0:
  9. $this.html('待办公文');
  10. break;
  11. case 1:
  12. $this.html('已办公文');
  13. break;
  14. case 2:
  15. $this.html('全部公文');
  16. break;
  17. }
  18. $this = null;
  19. });
  20. }
  21. };
  22. return page;
  23. })();