Authored by ccbikai

图片弹窗位置

... ... @@ -66,14 +66,13 @@
</li>
{{/each}}
</ul>
<div class="view-img">
<div class="mask-bg"></div>
<div class="view-area">
<div class="swiper-view">
<ul class="clearfix swiper-wrapper"></ul>
</div>
</div>
</div>
</div>
<div class="view-img">
<div class="mask-bg"></div>
<div class="view-area">
<div class="swiper-view">
<ul class="clearfix swiper-wrapper"></ul>
</div>
</div>
</div>
... ...
... ... @@ -74,12 +74,7 @@ function articleImgAction(dom) {
});
}, 100);
$viewImg.show();
$('body').css({
overflow: 'hidden'
});
});
if (imgLen > 3 && addFlagDom.find('.img-size').length < 1) {
... ... @@ -149,7 +144,4 @@ $('.mask-bg').on('click', function() {
$viewImg.hide();
$viewImg.find('li').remove();
mySwiper.destroy(false);
$('body').css({
overflow: 'auto'
});
});
... ...