...
|
...
|
@@ -154,7 +154,7 @@ class FamilyIndex extends Page { |
|
|
|
|
|
// 资源位初始化
|
|
|
resources() {
|
|
|
if (this.selector.$bannerCenterSwiper.length > 0) {
|
|
|
if (this.selector.$bannerCenterSwiper.find('li').length > 0) {
|
|
|
new Swiper('.banner-center-swiper', {
|
|
|
pagination: '.swiper-pagination',
|
|
|
lazyLoading: true,
|
...
|
...
|
@@ -295,6 +295,9 @@ class FamilyIndex extends Page { |
|
|
// 点击关闭会员信息弹框
|
|
|
hideVipInfo() {
|
|
|
$('.vip-detail').remove();
|
|
|
$('body,.main').css({
|
|
|
'overflow-y': 'auto'
|
|
|
});
|
|
|
}
|
|
|
|
|
|
// 返回上一页
|
...
|
...
|
@@ -307,12 +310,16 @@ class FamilyIndex extends Page { |
|
|
// 关闭下载弹窗
|
|
|
downClose() {
|
|
|
this.selector.$downLoadDetail.addClass('hide');
|
|
|
$('body,.main').css({
|
|
|
'overflow-y': 'auto'
|
|
|
});
|
|
|
}
|
|
|
|
|
|
// 弹窗出现禁止滑动
|
|
|
banSliding(e) {
|
|
|
e.preventDefault();
|
|
|
return false;
|
|
|
banSliding() {
|
|
|
$('body,.main').css({
|
|
|
'overflow-y': 'hidden'
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
|