|
@ -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;//是否使用动画
|