Commit bb2e839f authored by wangqinghua's avatar wangqinghua

update

parent 11ce2696
...@@ -382,7 +382,7 @@ export class DiscoverPage { ...@@ -382,7 +382,7 @@ export class DiscoverPage {
click: function () { click: function () {
const item = that.slidersItems[this.activeIndex]; const item = that.slidersItems[this.activeIndex];
if (item.static == "true") { if (item.static == "true") {
that.swiper.slideTo(1, 500); //前往主题教育 that.swiper.slideTo(1, 300); //前往主题教育
return false; return false;
} }
if (item.plateType == "20") return false; if (item.plateType == "20") return false;
...@@ -396,7 +396,7 @@ export class DiscoverPage { ...@@ -396,7 +396,7 @@ export class DiscoverPage {
//前往主题教育 //前往主题教育
goEdu() { goEdu() {
this.swiper.slideTo(1, 500); //前往主题教育 this.swiper.slideTo(1, 300); //前往主题教育
} }
//获取轮播图 //获取轮播图
...@@ -463,12 +463,7 @@ export class DiscoverPage { ...@@ -463,12 +463,7 @@ export class DiscoverPage {
if (item.children[0].name == "支部列表") { if (item.children[0].name == "支部列表") {
this.indexChildren = 34; this.indexChildren = 32;
this.moreParty();
if (this.obj.branchId) this.getMemberList(this.obj.branchId);
this.branchObj.show = true;
this.slides.slideTo(this.indexParent, 500);
return false;
} else { } else {
this.branchObj.show = false; this.branchObj.show = false;
} }
...@@ -501,7 +496,7 @@ export class DiscoverPage { ...@@ -501,7 +496,7 @@ export class DiscoverPage {
} }
} }
}); });
this.slides.slideTo(this.indexParent, 500); this.slides.slideTo(this.indexParent, 300);
this.slideList[this.indexParent] = this.newList; this.slideList[this.indexParent] = this.newList;
} }
) )
......
...@@ -241,7 +241,7 @@ export class HomePage { ...@@ -241,7 +241,7 @@ export class HomePage {
//加载更多 //加载更多
doInfinite(e) { doInfinite(e) {
if (this.total < this.pageSize || this.total == this.pageSize) { if (this.total < this.slideList[this.index].length || this.total == this.slideList[this.index].length) {
e.complete(); e.complete();
return false; return false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment