huangbo 9 years ago
parent
commit
7720cef4eb
1 changed files with 2 additions and 2 deletions
  1. 2 2
      display-server/web/res/js/ui/wm-tabbar.js

+ 2 - 2
display-server/web/res/js/ui/wm-tabbar.js

@ -7,8 +7,8 @@ define(["jcl","iScroll","wmWebUI"],function($,iScroll,WmWebUI){
7 7
		//this.navs = this.tabbar.find(".m_nav > .wrapper .nav ");
8 8
		//this.footers = this.tabbar.find("div[class=m_footer] li");
9 9
		//使用children会更加严谨
10
		this.navs = this.tabbar.children("div").eq(0).children("div").eq(0).children("div");
11
		this.footers = this.tabbar.children("div").eq(1).children("ul").eq(0).children("li");
10
		this.navs = this.tabbar.children(".m_nav").eq(0).children(".wrapper").eq(0).children(".nav");
11
		this.footers = this.tabbar.children(".m_footer").eq(0).children("ul").eq(0).children("li");
12 12
		this.items = new Array();
13 13
		this.currIndex;//当前页面的索引
14 14
		this.isAnimation = true;//是否使用动画