Commit bb2e839f authored by wangqinghua's avatar wangqinghua

update

parent 11ce2696
......@@ -382,7 +382,7 @@ export class DiscoverPage {
click: function () {
const item = that.slidersItems[this.activeIndex];
if (item.static == "true") {
that.swiper.slideTo(1, 500); //前往主题教育
that.swiper.slideTo(1, 300); //前往主题教育
return false;
}
if (item.plateType == "20") return false;
......@@ -396,7 +396,7 @@ export class DiscoverPage {
//前往主题教育
goEdu() {
this.swiper.slideTo(1, 500); //前往主题教育
this.swiper.slideTo(1, 300); //前往主题教育
}
//获取轮播图
......@@ -463,12 +463,7 @@ export class DiscoverPage {
if (item.children[0].name == "支部列表") {
this.indexChildren = 34;
this.moreParty();
if (this.obj.branchId) this.getMemberList(this.obj.branchId);
this.branchObj.show = true;
this.slides.slideTo(this.indexParent, 500);
return false;
this.indexChildren = 32;
} else {
this.branchObj.show = false;
}
......@@ -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;
}
)
......
......@@ -241,7 +241,7 @@ export class HomePage {
//加载更多
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();
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